Home
last modified time | relevance | path

Searched refs:num_pds (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.15/drivers/base/power/
H A Dcommon.c197 int ret, i, num_pds = 0; in dev_pm_domain_attach_list() local
212 num_pds = data->num_pd_names; in dev_pm_domain_attach_list()
219 if (num_pds <= 0) in dev_pm_domain_attach_list()
239 for (i = 0; i < num_pds; i++) { in dev_pm_domain_attach_list()
278 pds->num_pds = num_pds; in dev_pm_domain_attach_list()
280 return num_pds; in dev_pm_domain_attach_list()
330 int ret, num_pds; in devm_pm_domain_attach_list() local
333 if (num_pds <= 0) in devm_pm_domain_attach_list()
334 return num_pds; in devm_pm_domain_attach_list()
340 return num_pds; in devm_pm_domain_attach_list()
[all …]
/linux-6.15/drivers/pmdomain/qcom/
H A Drpmhpd.c66 size_t num_pds; member
300 .num_pds = ARRAY_SIZE(sdm670_rpmhpds),
318 .num_pds = ARRAY_SIZE(sdm845_rpmhpds),
330 .num_pds = ARRAY_SIZE(sdx55_rpmhpds),
345 .num_pds = ARRAY_SIZE(sdx65_rpmhpds),
360 .num_pds = ARRAY_SIZE(sdx75_rpmhpds),
939 size_t num_pds; in rpmhpd_probe() local
950 num_pds = desc->num_pds; in rpmhpd_probe()
961 data->num_domains = num_pds; in rpmhpd_probe()
963 for (i = 0; i < num_pds; i++) { in rpmhpd_probe()
[all …]
H A Drpmpd.c67 size_t num_pds; member
644 .num_pds = ARRAY_SIZE(mdm9607_rpmpds),
656 .num_pds = ARRAY_SIZE(msm8226_rpmpds),
673 .num_pds = ARRAY_SIZE(msm8939_rpmpds),
829 .num_pds = ARRAY_SIZE(qcs404_rpmpds),
843 .num_pds = ARRAY_SIZE(qm215_rpmpds),
862 .num_pds = ARRAY_SIZE(sdm660_rpmpds),
879 .num_pds = ARRAY_SIZE(sm6115_rpmpds),
894 .num_pds = ARRAY_SIZE(sm6125_rpmpds),
913 .num_pds = ARRAY_SIZE(sm6375_rpmpds),
[all …]
/linux-6.15/drivers/scsi/mpt3sas/
H A Dmpt3sas_warpdrive.c121 u8 num_pds, count; in mpt3sas_init_warpdrive_properties() local
139 &num_pds)) || !num_pds) { in mpt3sas_init_warpdrive_properties()
144 sz = struct_size(vol_pg0, PhysDisk, num_pds); in mpt3sas_init_warpdrive_properties()
162 if (num_pds > MPT_MAX_WARPDRIVE_PDS) { in mpt3sas_init_warpdrive_properties()
164 raid_device->handle, num_pds, MPT_MAX_WARPDRIVE_PDS); in mpt3sas_init_warpdrive_properties()
168 for (count = 0; count < num_pds; count++) { in mpt3sas_init_warpdrive_properties()
241 for (count = 0; count < num_pds; count++) in mpt3sas_init_warpdrive_properties()
260 u8 num_pds, cmd = scmd->cmnd[0]; in mpt3sas_setup_direct_io() local
285 num_pds = raid_device->num_pds; in mpt3sas_setup_direct_io()
287 column = sector_div(p_lba, num_pds); in mpt3sas_setup_direct_io()
H A Dmpt3sas_base.h723 u8 num_pds; member
1936 u8 *num_pds);
H A Dmpt3sas_config.c1722 u8 *num_pds) in mpt3sas_config_get_number_pds() argument
1731 *num_pds = 0; in mpt3sas_config_get_number_pds()
1753 *num_pds = config_page.NumPhysDisks; in mpt3sas_config_get_number_pds()
H A Dmpt3sas_scsih.c2422 u8 num_pds; in _scsih_get_volume_capabilities() local
2425 &num_pds)) || !num_pds) { in _scsih_get_volume_capabilities()
2432 raid_device->num_pds = num_pds; in _scsih_get_volume_capabilities()
2433 sz = struct_size(vol_pg0, PhysDisk, num_pds); in _scsih_get_volume_capabilities()
2583 !(raid_device->num_pds % 2)) in scsih_sdev_configure()
2609 raid_device->num_pds, ds); in scsih_sdev_configure()
/linux-6.15/drivers/bus/
H A Dqcom-ssc-block-bus.c45 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()
216 for (i = 0; i < num_pds; i++) in qcom_ssc_block_bus_pds_detach()
225 for (i = 0; i < num_pds; i++) { in qcom_ssc_block_bus_pds_enable()
247 for (i = 0; i < num_pds; i++) { in qcom_ssc_block_bus_pds_disable()
336 data->num_pds = ARRAY_SIZE(qcom_ssc_block_pd_names); in qcom_ssc_block_bus_probe()
342 ret = qcom_ssc_block_bus_pds_enable(data->pds, data->num_pds); in qcom_ssc_block_bus_probe()
355 qcom_ssc_block_bus_pds_detach(&pdev->dev, data->pds, data->num_pds); in qcom_ssc_block_bus_probe()
[all …]
/linux-6.15/drivers/remoteproc/
H A Dqcom_wcnss.c88 size_t num_pds; member
240 for (i = 0; i < wcnss->num_pds; i++) { in wcnss_start()
406 wcnss->num_pds = 1; in wcnss_init_pds()
423 wcnss->num_pds = i; in wcnss_init_pds()
434 if (wcnss->num_pds == 1 && dev->pm_domain) { in wcnss_release_pds()
439 for (i = 0; i < wcnss->num_pds; i++) in wcnss_release_pds()
456 if (wcnss->num_pds) { in wcnss_init_regulators()
457 info += wcnss->num_pds; in wcnss_init_regulators()
459 if (wcnss->num_pds < num_pd_vregs) in wcnss_init_regulators()
460 num_vregs += num_pd_vregs - wcnss->num_pds; in wcnss_init_regulators()
H A Dqcom_q6v5_adsp.c76 unsigned int num_pds; member
123 unsigned int num_pds) in qcom_rproc_pds_attach() argument
128 .num_pd_names = num_pds, in qcom_rproc_pds_attach()
171 while (pds && i < pds->num_pds) { in qcom_rproc_pds_enable()
202 while (pds && i < pds->num_pds) { in qcom_rproc_pds_disable()
706 ret = qcom_rproc_pds_attach(adsp, desc->pd_names, desc->num_pds); in adsp_probe()
782 .num_pds = 1,
814 .num_pds = 1,
831 .num_pds = 2,
H A Dqcom_q6v5_pas.c497 size_t num_pds = 0; in adsp_pds_attach() local
504 while (pd_names[num_pds]) in adsp_pds_attach()
505 num_pds++; in adsp_pds_attach()
508 if (num_pds == 1 && dev->pm_domain) { in adsp_pds_attach()
514 for (i = 0; i < num_pds; i++) { in adsp_pds_attach()
522 return num_pds; in adsp_pds_attach()
H A Dqcom_q6v5_mss.c1890 size_t num_pds = 0; in q6v5_pds_attach() local
1897 while (pd_names[num_pds]) in q6v5_pds_attach()
1898 num_pds++; in q6v5_pds_attach()
1901 if (num_pds == 1 && dev->pm_domain) { in q6v5_pds_attach()
1907 for (i = 0; i < num_pds; i++) { in q6v5_pds_attach()
1915 return num_pds; in q6v5_pds_attach()
/linux-6.15/drivers/infiniband/hw/mthca/
H A Dmthca_pd.c72 dev->limits.num_pds, in mthca_init_pd_table()
H A Dmthca_profile.c255 dev->limits.num_pds = MTHCA_NUM_PDS; in mthca_make_profile()
H A Dmthca_dev.h169 int num_pds; member
/linux-6.15/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.c414 if (!atomic_add_unless(&dev->num_pds, 1, dev->dsr->caps.max_pd)) in pvrdma_alloc_pd()
445 atomic_dec(&dev->num_pds); in pvrdma_alloc_pd()
472 atomic_dec(&dev->num_pds); in pvrdma_dealloc_pd()
H A Dpvrdma.h244 atomic_t num_pds; member
/linux-6.15/drivers/net/ethernet/ti/icssg/
H A Dicssg_config.c196 int pd_size, num_pds; in icssg_miig_queues_init() local
202 num_pds = ICSSG_NUM_SPECIAL_PDS; in icssg_miig_queues_init()
205 num_pds = ICSSG_NUM_NORMAL_PDS; in icssg_miig_queues_init()
208 for (i = 0; i < num_pds; i++) { in icssg_miig_queues_init()
/linux-6.15/drivers/infiniband/hw/hns/
H A Dhns_roce_pd.c41 pd_ida->max = hr_dev->caps.num_pds - 1; in hns_roce_init_pd_table()
H A Dhns_roce_device.h766 int num_pds; member
/linux-6.15/drivers/clk/qcom/
H A Dgdsc.c515 for (i = 0; i < pd_list->num_pds; i++) { in gdsc_add_subdomain_list()
532 for (i = 0; i < pd_list->num_pds; i++) { in gdsc_remove_subdomain_list()
/linux-6.15/drivers/net/ethernet/mellanox/mlx4/
H A Dpd.c122 return mlx4_bitmap_init(&priv->pd_bitmap, dev->caps.num_pds, in mlx4_init_pd_table()
H A Dprofile.c266 dev->caps.num_pds = MLX4_NUM_PDS; in mlx4_make_profile()
/linux-6.15/include/linux/
H A Dpm_domain.h54 u32 num_pds; member
/linux-6.15/drivers/cpufreq/
H A Dqcom-cpufreq-nvmem.c438 for (i = 0; i < pd_list->num_pds; i++) in qcom_cpufreq_suspend_pd_devs()

12