/linux-6.3-rc2/drivers/scsi/mpt3sas/ |
A 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()
|
A D | mpt3sas_base.h | 723 u8 num_pds; member 1941 u8 *num_pds);
|
A 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()
|
A 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-6.3-rc2/drivers/soc/qcom/ |
A D | rpmhpd.c | 63 size_t num_pds; member 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(sm6350_rpmhpds), 742 size_t num_pds; in rpmhpd_probe() local 753 num_pds = desc->num_pds; in rpmhpd_probe() 764 data->num_domains = num_pds; in rpmhpd_probe() 766 for (i = 0; i < num_pds; i++) { in rpmhpd_probe() [all …]
|
A D | rpmpd.c | 115 size_t num_pds; member 138 .num_pds = ARRAY_SIZE(mdm9607_rpmpds), 154 .num_pds = ARRAY_SIZE(msm8226_rpmpds), 180 .num_pds = ARRAY_SIZE(msm8939_rpmpds), 200 .num_pds = ARRAY_SIZE(msm8916_rpmpds), 223 .num_pds = ARRAY_SIZE(msm8953_rpmpds), 245 .num_pds = ARRAY_SIZE(msm8976_rpmpds), 352 .num_pds = ARRAY_SIZE(qcs404_rpmpds), 384 .num_pds = ARRAY_SIZE(sdm660_rpmpds), 411 .num_pds = ARRAY_SIZE(sm6115_rpmpds), [all …]
|
/linux-6.3-rc2/drivers/bus/ |
A 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() 216 for (i = 0; i < num_pds; i++) in qcom_ssc_block_bus_pds_detach() 225 for (i = 0; i < num_pds; i++) { in qcom_ssc_block_bus_pds_enable() 247 for (i = 0; i < num_pds; i++) { in qcom_ssc_block_bus_pds_disable() 268 data->num_pds = ARRAY_SIZE(qcom_ssc_block_pd_names); in qcom_ssc_block_bus_probe() 275 ret = qcom_ssc_block_bus_pds_enable(data->pds, data->num_pds); in qcom_ssc_block_bus_probe() 362 qcom_ssc_block_bus_pds_disable(data->pds, data->num_pds); in qcom_ssc_block_bus_remove() [all …]
|
/linux-6.3-rc2/drivers/remoteproc/ |
A D | qcom_q6v5_adsp.c | 127 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()
|
A 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()
|
A D | qcom_q6v5_pas.c | 484 size_t num_pds = 0; in adsp_pds_attach() local 498 while (pd_names[num_pds]) in adsp_pds_attach() 499 num_pds++; in adsp_pds_attach() 501 for (i = 0; i < num_pds; i++) { in adsp_pds_attach() 509 return num_pds; in adsp_pds_attach()
|
A D | qcom_q6v5_mss.c | 1816 size_t num_pds = 0; in q6v5_pds_attach() local 1823 while (pd_names[num_pds]) in q6v5_pds_attach() 1824 num_pds++; in q6v5_pds_attach() 1826 for (i = 0; i < num_pds; i++) { in q6v5_pds_attach() 1834 return num_pds; in q6v5_pds_attach()
|
/linux-6.3-rc2/drivers/infiniband/hw/mthca/ |
A D | mthca_pd.c | 72 dev->limits.num_pds, in mthca_init_pd_table()
|
A D | mthca_profile.c | 255 dev->limits.num_pds = MTHCA_NUM_PDS; in mthca_make_profile()
|
A D | mthca_dev.h | 169 int num_pds; member
|
A D | mthca_provider.c | 98 props->max_pd = mdev->limits.num_pds - mdev->limits.reserved_pds; in mthca_query_device()
|
/linux-6.3-rc2/drivers/infiniband/hw/vmw_pvrdma/ |
A 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()
|
A D | pvrdma.h | 244 atomic_t num_pds; member
|
A D | pvrdma_main.c | 118 atomic_set(&dev->num_pds, 0); in pvrdma_init_device()
|
/linux-6.3-rc2/drivers/infiniband/hw/hns/ |
A D | hns_roce_pd.c | 41 pd_ida->max = hr_dev->caps.num_pds - 1; in hns_roce_init_pd_table()
|
A D | hns_roce_device.h | 743 int num_pds; member
|
A D | hns_roce_main.c | 188 props->max_pd = hr_dev->caps.num_pds; in hns_roce_query_device()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/ |
A D | pd.c | 122 return mlx4_bitmap_init(&priv->pd_bitmap, dev->caps.num_pds, in mlx4_init_pd_table()
|
A D | profile.c | 266 dev->caps.num_pds = MLX4_NUM_PDS; in mlx4_make_profile()
|
/linux-6.3-rc2/include/linux/mlx4/ |
A D | device.h | 587 int num_pds; member
|
/linux-6.3-rc2/drivers/infiniband/hw/mlx4/ |
A D | main.c | 536 props->max_pd = dev->dev->caps.num_pds - dev->dev->caps.reserved_pds; in mlx4_ib_query_device()
|