/linux-master/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_warpdrive.c | 121 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 D | mpt3sas_base.h | 701 * @num_pds: number of hidden raid components 723 u8 num_pds; member in struct:_raid_device 1944 u8 *num_pds);
|
H A D | mpt3sas_config.c | 1794 * @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 D | mpt3sas_scsih.c | 2423 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 D | common.c | 196 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 D | qcom-ssc-block-bus.c | 45 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 D | rpmhpd.c | 63 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 D | rpmpd.c | 66 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 D | mthca_pd.c | 72 dev->limits.num_pds,
|
H A D | mthca_profile.c | 255 dev->limits.num_pds = MTHCA_NUM_PDS;
|
H A D | mthca_dev.h | 169 int num_pds; member in struct:mthca_limits
|
/linux-master/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_config.c | 174 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 D | qcom_q6v5_adsp.c | 76 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 D | qcom_wcnss.c | 88 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 D | qcom_q6v5_pas.c | 499 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 D | qcom_q6v5_mss.c | 1831 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 D | hns_roce_pd.c | 41 pd_ida->max = hr_dev->caps.num_pds - 1;
|
H A D | hns_roce_main.c | 188 props->max_pd = hr_dev->caps.num_pds;
|
H A D | hns_roce_device.h | 757 int num_pds; member in struct:hns_roce_caps
|
/linux-master/drivers/infiniband/hw/vmw_pvrdma/ |
H A D | pvrdma_verbs.c | 442 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 D | pvrdma.h | 244 atomic_t num_pds; member in struct:pvrdma_dev
|
H A D | pvrdma_main.c | 118 atomic_set(&dev->num_pds, 0);
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | pd.c | 122 return mlx4_bitmap_init(&priv->pd_bitmap, dev->caps.num_pds,
|
H A D | profile.c | 266 dev->caps.num_pds = MLX4_NUM_PDS;
|
/linux-master/include/linux/ |
H A D | pm_domain.h | 46 u32 num_pds; member in struct:dev_pm_domain_list
|