Lines Matching refs:num_pds
45 int num_pds; member
190 const char *const *pd_names, size_t num_pds) in qcom_ssc_block_bus_pds_attach() argument
195 for (i = 0; i < num_pds; i++) { in qcom_ssc_block_bus_pds_attach()
203 return num_pds; in qcom_ssc_block_bus_pds_attach()
212 static void qcom_ssc_block_bus_pds_detach(struct device *dev, struct device **pds, size_t num_pds) in qcom_ssc_block_bus_pds_detach() argument
216 for (i = 0; i < num_pds; i++) in qcom_ssc_block_bus_pds_detach()
220 static int qcom_ssc_block_bus_pds_enable(struct device **pds, size_t num_pds) in qcom_ssc_block_bus_pds_enable() argument
225 for (i = 0; i < num_pds; i++) { in qcom_ssc_block_bus_pds_enable()
243 static void qcom_ssc_block_bus_pds_disable(struct device **pds, size_t num_pds) in qcom_ssc_block_bus_pds_disable() argument
247 for (i = 0; i < num_pds; i++) { in qcom_ssc_block_bus_pds_disable()
268 data->num_pds = ARRAY_SIZE(qcom_ssc_block_pd_names); in qcom_ssc_block_bus_probe()
271 ret = qcom_ssc_block_bus_pds_attach(&pdev->dev, data->pds, data->pd_names, data->num_pds); in qcom_ssc_block_bus_probe()
275 ret = qcom_ssc_block_bus_pds_enable(data->pds, data->num_pds); in qcom_ssc_block_bus_probe()
362 qcom_ssc_block_bus_pds_disable(data->pds, data->num_pds); in qcom_ssc_block_bus_remove()
363 qcom_ssc_block_bus_pds_detach(&pdev->dev, data->pds, data->num_pds); in qcom_ssc_block_bus_remove()