Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/pmdomain/qcom/
Drpmhpd.c63 size_t num_pds; member
222 .num_pds = ARRAY_SIZE(sa8540p_rpmhpds),
245 .num_pds = ARRAY_SIZE(sa8775p_rpmhpds),
262 .num_pds = ARRAY_SIZE(sdm670_rpmhpds),
280 .num_pds = ARRAY_SIZE(sdm845_rpmhpds),
292 .num_pds = ARRAY_SIZE(sdx55_rpmhpds),
307 .num_pds = ARRAY_SIZE(sdx65_rpmhpds),
322 .num_pds = ARRAY_SIZE(sdx75_rpmhpds),
337 .num_pds = ARRAY_SIZE(sm6350_rpmhpds),
357 .num_pds = ARRAY_SIZE(sm8150_rpmhpds),
[all …]
Drpmpd.c65 size_t num_pds; member
528 .num_pds = ARRAY_SIZE(mdm9607_rpmpds),
540 .num_pds = ARRAY_SIZE(msm8226_rpmpds),
557 .num_pds = ARRAY_SIZE(msm8939_rpmpds),
571 .num_pds = ARRAY_SIZE(msm8916_rpmpds),
587 .num_pds = ARRAY_SIZE(msm8953_rpmpds),
602 .num_pds = ARRAY_SIZE(msm8976_rpmpds),
620 .num_pds = ARRAY_SIZE(msm8994_rpmpds),
636 .num_pds = ARRAY_SIZE(msm8996_rpmpds),
655 .num_pds = ARRAY_SIZE(msm8998_rpmpds),
[all …]
/linux-6.6.21/drivers/scsi/mpt3sas/
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 = offsetof(Mpi2RaidVolPage0_t, PhysDisk) + (num_pds * in mpt3sas_init_warpdrive_properties()
163 if (num_pds > MPT_MAX_WARPDRIVE_PDS) { in mpt3sas_init_warpdrive_properties()
165 raid_device->handle, num_pds, MPT_MAX_WARPDRIVE_PDS); in mpt3sas_init_warpdrive_properties()
169 for (count = 0; count < num_pds; count++) { in mpt3sas_init_warpdrive_properties()
242 for (count = 0; count < num_pds; count++) in mpt3sas_init_warpdrive_properties()
261 u8 num_pds, cmd = scmd->cmnd[0]; in mpt3sas_setup_direct_io() local
286 num_pds = raid_device->num_pds; in mpt3sas_setup_direct_io()
288 column = sector_div(p_lba, num_pds); in mpt3sas_setup_direct_io()
Dmpt3sas_base.h723 u8 num_pds; member
1942 u8 *num_pds);
Dmpt3sas_config.c1801 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()
Dmpt3sas_scsih.c2423 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 = offsetof(Mpi2RaidVolPage0_t, PhysDisk) + (num_pds * in _scsih_get_volume_capabilities()
2584 !(raid_device->num_pds % 2)) in scsih_slave_configure()
2610 raid_device->num_pds, ds); in scsih_slave_configure()
/linux-6.6.21/drivers/bus/
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()
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.6.21/drivers/net/ethernet/ti/icssg/
Dicssg_config.c174 int pd_size, num_pds; in icssg_miig_queues_init() local
180 num_pds = ICSSG_NUM_SPECIAL_PDS; in icssg_miig_queues_init()
183 num_pds = ICSSG_NUM_NORMAL_PDS; in icssg_miig_queues_init()
186 for (i = 0; i < num_pds; i++) { in icssg_miig_queues_init()
/linux-6.6.21/drivers/remoteproc/
Dqcom_q6v5_adsp.c127 size_t num_pds = 0; in qcom_rproc_pds_attach() local
141 while (pd_names[num_pds]) in qcom_rproc_pds_attach()
142 num_pds++; in qcom_rproc_pds_attach()
144 if (num_pds > ARRAY_SIZE(adsp->proxy_pds)) in qcom_rproc_pds_attach()
147 for (i = 0; i < num_pds; i++) { in qcom_rproc_pds_attach()
155 return num_pds; in qcom_rproc_pds_attach()
Dqcom_wcnss.c88 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()
Dqcom_q6v5_pas.c486 size_t num_pds = 0; in adsp_pds_attach() local
500 while (pd_names[num_pds]) in adsp_pds_attach()
501 num_pds++; in adsp_pds_attach()
503 for (i = 0; i < num_pds; i++) { in adsp_pds_attach()
511 return num_pds; in adsp_pds_attach()
Dqcom_q6v5_mss.c1831 size_t num_pds = 0; in q6v5_pds_attach() local
1838 while (pd_names[num_pds]) in q6v5_pds_attach()
1839 num_pds++; in q6v5_pds_attach()
1841 for (i = 0; i < num_pds; i++) { in q6v5_pds_attach()
1849 return num_pds; in q6v5_pds_attach()
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_pd.c72 dev->limits.num_pds, in mthca_init_pd_table()
Dmthca_profile.c255 dev->limits.num_pds = MTHCA_NUM_PDS; in mthca_make_profile()
Dmthca_dev.h169 int num_pds; member
Dmthca_provider.c98 props->max_pd = mdev->limits.num_pds - mdev->limits.reserved_pds; in mthca_query_device()
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c442 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()
Dpvrdma.h244 atomic_t num_pds; member
Dpvrdma_main.c118 atomic_set(&dev->num_pds, 0); in pvrdma_init_device()
/linux-6.6.21/drivers/infiniband/hw/hns/
Dhns_roce_pd.c41 pd_ida->max = hr_dev->caps.num_pds - 1; in hns_roce_init_pd_table()
Dhns_roce_device.h743 int num_pds; member
Dhns_roce_main.c188 props->max_pd = hr_dev->caps.num_pds; in hns_roce_query_device()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dpd.c122 return mlx4_bitmap_init(&priv->pd_bitmap, dev->caps.num_pds, in mlx4_init_pd_table()
Dprofile.c266 dev->caps.num_pds = MLX4_NUM_PDS; in mlx4_make_profile()
/linux-6.6.21/include/linux/mlx4/
Ddevice.h588 int num_pds; member

12