/linux-6.12.1/drivers/base/power/ |
D | common.c | 196 int ret, i, num_pds = 0; in dev_pm_domain_attach_list() local 211 num_pds = data->num_pd_names; in dev_pm_domain_attach_list() 214 num_pds = of_count_phandle_with_args(np, "power-domains", in dev_pm_domain_attach_list() 218 if (num_pds <= 0) in dev_pm_domain_attach_list() 226 pds->pd_devs = kcalloc(num_pds, size, GFP_KERNEL); in dev_pm_domain_attach_list() 231 pds->pd_links = (void *)(pds->pd_devs + num_pds); in dev_pm_domain_attach_list() 236 for (i = 0; i < num_pds; i++) { in dev_pm_domain_attach_list() 262 pds->num_pds = num_pds; in dev_pm_domain_attach_list() 264 return num_pds; in dev_pm_domain_attach_list() 312 int ret, num_pds; in devm_pm_domain_attach_list() local [all …]
|
/linux-6.12.1/drivers/pmdomain/qcom/ |
D | rpmhpd.c | 66 size_t num_pds; member 236 .num_pds = ARRAY_SIZE(sa8540p_rpmhpds), 259 .num_pds = ARRAY_SIZE(sa8775p_rpmhpds), 276 .num_pds = ARRAY_SIZE(sdm670_rpmhpds), 294 .num_pds = ARRAY_SIZE(sdm845_rpmhpds), 306 .num_pds = ARRAY_SIZE(sdx55_rpmhpds), 321 .num_pds = ARRAY_SIZE(sdx65_rpmhpds), 336 .num_pds = ARRAY_SIZE(sdx75_rpmhpds), 351 .num_pds = ARRAY_SIZE(sm6350_rpmhpds), 368 .num_pds = ARRAY_SIZE(sm7150_rpmhpds), [all …]
|
D | rpmpd.c | 67 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), 687 .num_pds = ARRAY_SIZE(msm8916_rpmpds), 701 .num_pds = ARRAY_SIZE(msm8917_rpmpds), 717 .num_pds = ARRAY_SIZE(msm8953_rpmpds), 731 .num_pds = ARRAY_SIZE(msm8974_rpmpds), 745 .num_pds = ARRAY_SIZE(msm8974pro_pma8084_rpmpds), 760 .num_pds = ARRAY_SIZE(msm8976_rpmpds), [all …]
|
/linux-6.12.1/drivers/scsi/mpt3sas/ |
D | mpt3sas_warpdrive.c | 121 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()
|
D | mpt3sas_base.h | 723 u8 num_pds; member 1942 u8 *num_pds);
|
D | mpt3sas_config.c | 1801 u8 *num_pds) in mpt3sas_config_get_number_pds() argument 1810 *num_pds = 0; in mpt3sas_config_get_number_pds() 1832 *num_pds = config_page.NumPhysDisks; in mpt3sas_config_get_number_pds()
|
D | mpt3sas_scsih.c | 2423 u8 num_pds; in _scsih_get_volume_capabilities() local 2426 &num_pds)) || !num_pds) { in _scsih_get_volume_capabilities() 2433 raid_device->num_pds = num_pds; in _scsih_get_volume_capabilities() 2434 sz = struct_size(vol_pg0, PhysDisk, num_pds); in _scsih_get_volume_capabilities() 2584 !(raid_device->num_pds % 2)) in scsih_device_configure() 2610 raid_device->num_pds, ds); in scsih_device_configure()
|
/linux-6.12.1/drivers/bus/ |
D | qcom-ssc-block-bus.c | 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() [all …]
|
/linux-6.12.1/drivers/remoteproc/ |
D | qcom_q6v5_adsp.c | 76 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() 710 ret = qcom_rproc_pds_attach(adsp, desc->pd_names, desc->num_pds); in adsp_probe() 780 .num_pds = 1, 812 .num_pds = 1, 829 .num_pds = 2,
|
D | qcom_wcnss.c | 88 size_t num_pds; member 240 for (i = 0; i < wcnss->num_pds; i++) { in wcnss_start() 414 wcnss->num_pds = i; in wcnss_init_pds() 423 for (i = 0; i < wcnss->num_pds; i++) in wcnss_release_pds() 440 if (wcnss->num_pds) in wcnss_init_regulators()
|
D | qcom_q6v5_pas.c | 505 size_t num_pds = 0; in adsp_pds_attach() local 519 while (pd_names[num_pds]) in adsp_pds_attach() 520 num_pds++; in adsp_pds_attach() 522 for (i = 0; i < num_pds; i++) { in adsp_pds_attach() 530 return num_pds; in adsp_pds_attach()
|
D | qcom_q6v5_mss.c | 1832 size_t num_pds = 0; in q6v5_pds_attach() local 1839 while (pd_names[num_pds]) in q6v5_pds_attach() 1840 num_pds++; in q6v5_pds_attach() 1842 for (i = 0; i < num_pds; i++) { in q6v5_pds_attach() 1850 return num_pds; in q6v5_pds_attach()
|
/linux-6.12.1/drivers/infiniband/hw/mthca/ |
D | mthca_pd.c | 72 dev->limits.num_pds, in mthca_init_pd_table()
|
D | mthca_profile.c | 255 dev->limits.num_pds = MTHCA_NUM_PDS; in mthca_make_profile()
|
D | mthca_dev.h | 169 int num_pds; member
|
/linux-6.12.1/drivers/net/ethernet/ti/icssg/ |
D | icssg_config.c | 196 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.12.1/drivers/infiniband/hw/vmw_pvrdma/ |
D | pvrdma_verbs.c | 442 if (!atomic_add_unless(&dev->num_pds, 1, dev->dsr->caps.max_pd)) in pvrdma_alloc_pd() 473 atomic_dec(&dev->num_pds); in pvrdma_alloc_pd() 500 atomic_dec(&dev->num_pds); in pvrdma_dealloc_pd()
|
D | pvrdma.h | 244 atomic_t num_pds; member
|
D | pvrdma_main.c | 118 atomic_set(&dev->num_pds, 0); in pvrdma_init_device()
|
/linux-6.12.1/drivers/infiniband/hw/hns/ |
D | hns_roce_pd.c | 41 pd_ida->max = hr_dev->caps.num_pds - 1; in hns_roce_init_pd_table()
|
D | hns_roce_device.h | 769 int num_pds; member
|
D | hns_roce_main.c | 190 props->max_pd = hr_dev->caps.num_pds; in hns_roce_query_device()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | pd.c | 122 return mlx4_bitmap_init(&priv->pd_bitmap, dev->caps.num_pds, in mlx4_init_pd_table()
|
D | profile.c | 266 dev->caps.num_pds = MLX4_NUM_PDS; in mlx4_make_profile()
|
/linux-6.12.1/include/linux/ |
D | pm_domain.h | 46 u32 num_pds; member
|