Home
last modified time | relevance | path

Searched refs:cx_supply (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/remoteproc/
H A Dqcom_q6v5_pas.c72 struct regulator *cx_supply; member
283 if (adsp->cx_supply) { in adsp_start()
284 ret = regulator_enable(adsp->cx_supply); in adsp_start()
348 if (adsp->cx_supply) in adsp_start()
349 regulator_disable(adsp->cx_supply); in adsp_start()
371 if (adsp->cx_supply) in qcom_pas_handover()
372 regulator_disable(adsp->cx_supply); in qcom_pas_handover()
480 adsp->cx_supply = devm_regulator_get_optional(adsp->dev, "cx"); in adsp_init_regulator()
481 if (IS_ERR(adsp->cx_supply)) { in adsp_init_regulator()
482 if (PTR_ERR(adsp->cx_supply) == -ENODEV) in adsp_init_regulator()
[all …]
H A Dqcom_q6v5_wcss.c131 struct regulator *cx_supply; member
465 ret = regulator_enable(wcss->cx_supply); in q6v5_qcs404_wcss_start()
490 regulator_disable(wcss->cx_supply); in q6v5_qcs404_wcss_start()
995 wcss->cx_supply = devm_regulator_get(wcss->dev, "cx"); in q6v5_wcss_init_regulator()
996 if (IS_ERR(wcss->cx_supply)) in q6v5_wcss_init_regulator()
997 return PTR_ERR(wcss->cx_supply); in q6v5_wcss_init_regulator()
999 regulator_set_load(wcss->cx_supply, 100000); in q6v5_wcss_init_regulator()