qcom_wcnss.h 504 B

12345678910111213141516171819202122232425
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __QCOM_WNCSS_H__
  3. #define __QCOM_WNCSS_H__
  4. struct qcom_iris;
  5. struct qcom_wcnss;
  6. extern struct platform_driver qcom_iris_driver;
  7. struct wcnss_vreg_info {
  8. const char * const name;
  9. int min_voltage;
  10. int max_voltage;
  11. int load_uA;
  12. bool super_turbo;
  13. };
  14. int qcom_iris_enable(struct qcom_iris *iris);
  15. void qcom_iris_disable(struct qcom_iris *iris);
  16. void qcom_wcnss_assign_iris(struct qcom_wcnss *wcnss, struct qcom_iris *iris, bool use_48mhz_xo);
  17. #endif