Searched refs:num_pds (Results 1 - 25 of 30) sorted by relevance

12

/linux-master/drivers/scsi/mpt3sas/
H A Dmpt3sas_warpdrive.c121 u8 num_pds, count; local
139 &num_pds)) || !num_pds) {
144 sz = struct_size(vol_pg0, PhysDisk, num_pds);
162 if (num_pds > MPT_MAX_WARPDRIVE_PDS) {
164 raid_device->handle, num_pds, MPT_MAX_WARPDRIVE_PDS);
168 for (count = 0; count < num_pds; count++) {
241 for (count = 0; count < num_pds; count++)
260 u8 num_pds, cmd = scmd->cmnd[0]; local
285 num_pds
[all...]
H A Dmpt3sas_base.h701 * @num_pds: number of hidden raid components
723 u8 num_pds; member in struct:_raid_device
1944 u8 *num_pds);
H A Dmpt3sas_config.c1794 * @num_pds: returns pds count
1801 u8 *num_pds)
1810 *num_pds = 0;
1832 *num_pds = config_page.NumPhysDisks;
1800 mpt3sas_config_get_number_pds(struct MPT3SAS_ADAPTER *ioc, u16 handle, u8 *num_pds) argument
H A Dmpt3sas_scsih.c2423 u8 num_pds; local
2426 &num_pds)) || !num_pds) {
2433 raid_device->num_pds = num_pds;
2434 sz = struct_size(vol_pg0, PhysDisk, num_pds);
2583 !(raid_device->num_pds % 2))
2609 raid_device->num_pds, ds);
/linux-master/drivers/base/power/
H A Dcommon.c196 int ret, i, num_pds = 0; local
210 num_pds = data->num_pd_names;
213 num_pds = of_count_phandle_with_args(np, "power-domains",
217 if (num_pds <= 0)
224 pds->pd_devs = devm_kcalloc(dev, num_pds, sizeof(*pds->pd_devs),
229 pds->pd_links = devm_kcalloc(dev, num_pds, sizeof(*pds->pd_links),
237 for (i = 0; i < num_pds; i++) {
263 pds->num_pds = num_pds;
265 return num_pds;
[all...]
/linux-master/drivers/bus/
H A Dqcom-ssc-block-bus.c45 int num_pds; member in struct:qcom_ssc_block_bus_data
190 const char *const *pd_names, size_t num_pds)
195 for (i = 0; i < num_pds; i++) {
203 return num_pds;
212 static void qcom_ssc_block_bus_pds_detach(struct device *dev, struct device **pds, size_t num_pds) argument
216 for (i = 0; i < num_pds; i++)
220 static int qcom_ssc_block_bus_pds_enable(struct device **pds, size_t num_pds) argument
225 for (i = 0; i < num_pds; i++) {
243 static void qcom_ssc_block_bus_pds_disable(struct device **pds, size_t num_pds) argument
247 for (i = 0; i < num_pds;
189 qcom_ssc_block_bus_pds_attach(struct device *dev, struct device **pds, const char *const *pd_names, size_t num_pds) argument
[all...]
/linux-master/drivers/pmdomain/qcom/
H A Drpmhpd.c63 size_t num_pds; member in struct:rpmhpd_desc
231 .num_pds = ARRAY_SIZE(sa8540p_rpmhpds),
254 .num_pds = ARRAY_SIZE(sa8775p_rpmhpds),
271 .num_pds = ARRAY_SIZE(sdm670_rpmhpds),
289 .num_pds = ARRAY_SIZE(sdm845_rpmhpds),
301 .num_pds = ARRAY_SIZE(sdx55_rpmhpds),
316 .num_pds = ARRAY_SIZE(sdx65_rpmhpds),
331 .num_pds = ARRAY_SIZE(sdx75_rpmhpds),
346 .num_pds = ARRAY_SIZE(sm6350_rpmhpds),
363 .num_pds
846 size_t num_pds; local
[all...]
H A Drpmpd.c66 size_t num_pds; member in struct:rpmpd_desc
643 .num_pds = ARRAY_SIZE(mdm9607_rpmpds),
655 .num_pds = ARRAY_SIZE(msm8226_rpmpds),
672 .num_pds = ARRAY_SIZE(msm8939_rpmpds),
686 .num_pds = ARRAY_SIZE(msm8916_rpmpds),
700 .num_pds = ARRAY_SIZE(msm8917_rpmpds),
716 .num_pds = ARRAY_SIZE(msm8953_rpmpds),
730 .num_pds = ARRAY_SIZE(msm8974_rpmpds),
744 .num_pds = ARRAY_SIZE(msm8974pro_pma8084_rpmpds),
759 .num_pds
[all...]
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_pd.c72 dev->limits.num_pds,
H A Dmthca_profile.c255 dev->limits.num_pds = MTHCA_NUM_PDS;
H A Dmthca_dev.h169 int num_pds; member in struct:mthca_limits
/linux-master/drivers/net/ethernet/ti/icssg/
H A Dicssg_config.c174 int pd_size, num_pds; local
180 num_pds = ICSSG_NUM_SPECIAL_PDS;
183 num_pds = ICSSG_NUM_NORMAL_PDS;
186 for (i = 0; i < num_pds; i++) {
/linux-master/drivers/remoteproc/
H A Dqcom_q6v5_adsp.c76 unsigned int num_pds; member in struct:adsp_pil_data
122 unsigned int num_pds)
127 .num_pd_names = num_pds,
170 while (pds && i < pds->num_pds) {
201 while (pds && i < pds->num_pds) {
709 ret = qcom_rproc_pds_attach(adsp, desc->pd_names, desc->num_pds);
777 .num_pds = 1,
809 .num_pds = 1,
826 .num_pds = 2,
121 qcom_rproc_pds_attach(struct qcom_adsp *adsp, const char **pd_names, unsigned int num_pds) argument
H A Dqcom_wcnss.c88 size_t num_pds; member in struct:qcom_wcnss
240 for (i = 0; i < wcnss->num_pds; i++) {
414 wcnss->num_pds = i;
423 for (i = 0; i < wcnss->num_pds; i++)
440 if (wcnss->num_pds)
H A Dqcom_q6v5_pas.c499 size_t num_pds = 0; local
513 while (pd_names[num_pds])
514 num_pds++;
516 for (i = 0; i < num_pds; i++) {
524 return num_pds;
H A Dqcom_q6v5_mss.c1831 size_t num_pds = 0; local
1838 while (pd_names[num_pds])
1839 num_pds++;
1841 for (i = 0; i < num_pds; i++) {
1849 return num_pds;
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_pd.c41 pd_ida->max = hr_dev->caps.num_pds - 1;
H A Dhns_roce_main.c188 props->max_pd = hr_dev->caps.num_pds;
H A Dhns_roce_device.h757 int num_pds; member in struct:hns_roce_caps
/linux-master/drivers/infiniband/hw/vmw_pvrdma/
H A Dpvrdma_verbs.c442 if (!atomic_add_unless(&dev->num_pds, 1, dev->dsr->caps.max_pd))
473 atomic_dec(&dev->num_pds);
500 atomic_dec(&dev->num_pds);
H A Dpvrdma.h244 atomic_t num_pds; member in struct:pvrdma_dev
H A Dpvrdma_main.c118 atomic_set(&dev->num_pds, 0);
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dpd.c122 return mlx4_bitmap_init(&priv->pd_bitmap, dev->caps.num_pds,
H A Dprofile.c266 dev->caps.num_pds = MLX4_NUM_PDS;
/linux-master/include/linux/
H A Dpm_domain.h46 u32 num_pds; member in struct:dev_pm_domain_list

Completed in 233 milliseconds

12