/Linux-v5.15/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 = 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()
|
D | mpt3sas_base.h | 721 u8 num_pds; member 1902 u8 *num_pds);
|
D | mpt3sas_config.c | 1674 u8 *num_pds) in mpt3sas_config_get_number_pds() argument 1683 *num_pds = 0; in mpt3sas_config_get_number_pds() 1705 *num_pds = config_page.NumPhysDisks; in mpt3sas_config_get_number_pds()
|
D | mpt3sas_scsih.c | 2424 u8 num_pds; in _scsih_get_volume_capabilities() local 2427 &num_pds)) || !num_pds) { in _scsih_get_volume_capabilities() 2434 raid_device->num_pds = num_pds; in _scsih_get_volume_capabilities() 2435 sz = offsetof(Mpi2RaidVolPage0_t, PhysDisk) + (num_pds * in _scsih_get_volume_capabilities() 2585 !(raid_device->num_pds % 2)) in scsih_slave_configure() 2611 raid_device->num_pds, ds); in scsih_slave_configure()
|
/Linux-v5.15/drivers/soc/qcom/ |
D | rpmhpd.c | 59 size_t num_pds; member 135 .num_pds = ARRAY_SIZE(sdm845_rpmhpds), 147 .num_pds = ARRAY_SIZE(sdx55_rpmhpds), 182 .num_pds = ARRAY_SIZE(sm8150_rpmhpds), 200 .num_pds = ARRAY_SIZE(sm8250_rpmhpds), 236 .num_pds = ARRAY_SIZE(sm8350_rpmhpds), 253 .num_pds = ARRAY_SIZE(sc7180_rpmhpds), 271 .num_pds = ARRAY_SIZE(sc7280_rpmhpds), 291 .num_pds = ARRAY_SIZE(sc8180x_rpmhpds), 493 size_t num_pds; in rpmhpd_probe() local [all …]
|
D | rpmpd.c | 115 size_t num_pds; member 138 .num_pds = ARRAY_SIZE(mdm9607_rpmpds), 164 .num_pds = ARRAY_SIZE(msm8939_rpmpds), 184 .num_pds = ARRAY_SIZE(msm8916_rpmpds), 206 .num_pds = ARRAY_SIZE(msm8976_rpmpds), 231 .num_pds = ARRAY_SIZE(msm8994_rpmpds), 255 .num_pds = ARRAY_SIZE(msm8996_rpmpds), 287 .num_pds = ARRAY_SIZE(msm8998_rpmpds), 313 .num_pds = ARRAY_SIZE(qcs404_rpmpds), 345 .num_pds = ARRAY_SIZE(sdm660_rpmpds), [all …]
|
/Linux-v5.15/drivers/remoteproc/ |
D | qcom_wcnss.c | 89 size_t num_pds; member 230 for (i = 0; i < wcnss->num_pds; i++) { in wcnss_start() 404 wcnss->num_pds = i; in wcnss_init_pds() 413 for (i = 0; i < wcnss->num_pds; i++) in wcnss_release_pds() 430 if (wcnss->num_pds) in wcnss_init_regulators()
|
D | qcom_q6v5_pas.c | 323 size_t num_pds = 0; in adsp_pds_attach() local 337 while (pd_names[num_pds]) in adsp_pds_attach() 338 num_pds++; in adsp_pds_attach() 340 for (i = 0; i < num_pds; i++) { in adsp_pds_attach() 348 return num_pds; in adsp_pds_attach()
|
D | qcom_q6v5_mss.c | 1558 size_t num_pds = 0; in q6v5_pds_attach() local 1565 while (pd_names[num_pds]) in q6v5_pds_attach() 1566 num_pds++; in q6v5_pds_attach() 1568 for (i = 0; i < num_pds; i++) { in q6v5_pds_attach() 1576 return num_pds; in q6v5_pds_attach()
|
/Linux-v5.15/drivers/infiniband/hw/mthca/ |
D | mthca_pd.c | 72 dev->limits.num_pds, in mthca_init_pd_table()
|
D | mthca_profile.c | 257 dev->limits.num_pds = MTHCA_NUM_PDS; in mthca_make_profile()
|
D | mthca_dev.h | 169 int num_pds; member
|
D | mthca_provider.c | 106 props->max_pd = mdev->limits.num_pds - mdev->limits.reserved_pds; in mthca_query_device()
|
/Linux-v5.15/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-v5.15/drivers/infiniband/hw/hns/ |
D | hns_roce_pd.c | 42 pd_ida->max = hr_dev->caps.num_pds - 1; in hns_roce_init_pd_table()
|
D | hns_roce_main.c | 191 props->max_pd = hr_dev->caps.num_pds; in hns_roce_query_device()
|
D | hns_roce_device.h | 781 int num_pds; member
|
D | hns_roce_hw_v2.c | 1940 caps->num_pds = HNS_ROCE_V2_MAX_PD_NUM; in set_default_caps() 2263 caps->num_pds = 1 << roce_get_field(resp_c->cap_flags_num_pds, in hns_roce_query_pf_caps()
|
/Linux-v5.15/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()
|
D | main.c | 1010 dev->caps.num_pds = MLX4_NUM_PDS; in mlx4_slave_cap()
|
/Linux-v5.15/include/linux/mlx4/ |
D | device.h | 587 int num_pds; member
|
/Linux-v5.15/drivers/infiniband/hw/mlx4/ |
D | main.c | 545 props->max_pd = dev->dev->caps.num_pds - dev->dev->caps.reserved_pds; in mlx4_ib_query_device()
|