/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_hmc.c | 96 * @pd_index: which page descriptor index to manipulate 111 u32 pd_index, in i40e_add_pd_table_entry() 123 if (pd_index / I40E_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) { in i40e_add_pd_table_entry() 125 hw_dbg(hw, "i40e_add_pd_table_entry: bad pd_index\n"); in i40e_add_pd_table_entry() 130 sd_idx = (pd_index / I40E_HMC_PD_CNT_IN_SD); in i40e_add_pd_table_entry() 135 rel_pd_idx = (pd_index % I40E_HMC_PD_CNT_IN_SD); in i40e_add_pd_table_entry() 153 pd_entry->bp.sd_pd_index = pd_index; in i40e_add_pd_table_entry() 109 i40e_add_pd_table_entry(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 pd_index, struct i40e_dma_mem *rsrc_pg) i40e_add_pd_table_entry() argument
|
H A D | i40e_hmc.h | 173 * @pd_index: pointer to return page descriptor index 179 #define I40E_FIND_PD_INDEX_LIMIT(hmc_info, type, idx, cnt, pd_index, pd_limit)\ 185 *(pd_index) = (u32)(fpm_adr / I40E_HMC_PAGED_BP_SIZE); \ 198 u32 pd_index,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_hmc.c | 95 * @pd_index: which page descriptor index to manipulate 110 u32 pd_index, in i40e_add_pd_table_entry() 122 if (pd_index / I40E_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) { in i40e_add_pd_table_entry() 124 hw_dbg(hw, "i40e_add_pd_table_entry: bad pd_index\n"); in i40e_add_pd_table_entry() 129 sd_idx = (pd_index / I40E_HMC_PD_CNT_IN_SD); in i40e_add_pd_table_entry() 134 rel_pd_idx = (pd_index % I40E_HMC_PD_CNT_IN_SD); in i40e_add_pd_table_entry() 152 pd_entry->bp.sd_pd_index = pd_index; in i40e_add_pd_table_entry() 108 i40e_add_pd_table_entry(struct i40e_hw *hw, struct i40e_hmc_info *hmc_info, u32 pd_index, struct i40e_dma_mem *rsrc_pg) i40e_add_pd_table_entry() argument
|
H A D | i40e_hmc.h | 173 * @pd_index: pointer to return page descriptor index 179 #define I40E_FIND_PD_INDEX_LIMIT(hmc_info, type, idx, cnt, pd_index, pd_limit)\ 185 *(pd_index) = (u32)(fpm_adr / I40E_HMC_PAGED_BP_SIZE); \ 198 u32 pd_index,
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/ |
H A D | i40iw_hmc.c | 81 * @pd_index: pointer to return page descriptor index 602 * @pd_index: which page descriptor index to manipulate 617 u32 pd_index, in i40iw_add_pd_table_entry() 629 if (pd_index / I40IW_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) in i40iw_add_pd_table_entry() 632 sd_idx = (pd_index / I40IW_HMC_PD_CNT_IN_SD); in i40iw_add_pd_table_entry() 636 rel_pd_idx = (pd_index % I40IW_HMC_PD_CNT_IN_SD); in i40iw_add_pd_table_entry() 653 pd_entry->bp.sd_pd_index = pd_index; in i40iw_add_pd_table_entry() 615 i40iw_add_pd_table_entry(struct i40iw_hw *hw, struct i40iw_hmc_info *hmc_info, u32 pd_index, struct i40iw_dma_mem *rsrc_pg) i40iw_add_pd_table_entry() argument
|
H A D | i40iw_hmc.h | 231 struct i40iw_hmc_info *hmc_info, u32 pd_index,
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/ |
H A D | hmc.c | 530 * @pd_index: which page descriptor index to manipulate 544 struct irdma_hmc_info *hmc_info, u32 pd_index, in irdma_add_pd_table_entry() 555 if (pd_index / IRDMA_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) in irdma_add_pd_table_entry() 558 sd_idx = (pd_index / IRDMA_HMC_PD_CNT_IN_SD); in irdma_add_pd_table_entry() 563 rel_pd_idx = (pd_index % IRDMA_HMC_PD_CNT_IN_SD); in irdma_add_pd_table_entry() 583 pd_entry->bp.sd_pd_index = pd_index; in irdma_add_pd_table_entry() 543 irdma_add_pd_table_entry(struct irdma_sc_dev *dev, struct irdma_hmc_info *hmc_info, u32 pd_index, struct irdma_dma_mem *rsrc_pg) irdma_add_pd_table_entry() argument
|
H A D | hmc.h | 163 struct irdma_hmc_info *hmc_info, u32 pd_index,
|
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | tegra-smmu.c | 539 unsigned int pd_index = iova_pd_index(iova); in tegra_smmu_set_pde() local 542 unsigned long offset = pd_index * sizeof(*pd); in tegra_smmu_set_pde() 545 pd[pd_index] = value; in tegra_smmu_set_pde() 567 unsigned int pd_index = iova_pd_index(iova); in tegra_smmu_pte_lookup() local 572 pt_page = as->pts[pd_index]; in tegra_smmu_pte_lookup() 577 *dmap = smmu_pde_to_dma(smmu, pd[pd_index]); in tegra_smmu_pte_lookup() 622 unsigned int pd_index = iova_pd_index(iova); in tegra_smmu_pte_get_use() local 624 as->count[pd_index]++; in tegra_smmu_pte_get_use()
|
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | tegra-smmu.c | 534 unsigned int pd_index = iova_pd_index(iova); in tegra_smmu_set_pde() local 537 unsigned long offset = pd_index * sizeof(*pd); in tegra_smmu_set_pde() 540 pd[pd_index] = value; in tegra_smmu_set_pde() 562 unsigned int pd_index = iova_pd_index(iova); in tegra_smmu_pte_lookup() local 567 pt_page = as->pts[pd_index]; in tegra_smmu_pte_lookup() 572 *dmap = smmu_pde_to_dma(smmu, pd[pd_index]); in tegra_smmu_pte_lookup() 617 unsigned int pd_index = iova_pd_index(iova); in tegra_smmu_pte_get_use() local 619 as->count[pd_index]++; in tegra_smmu_pte_get_use()
|
/kernel/linux/linux-6.6/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fusion.c | 3078 u16 pd_index = 0; in megasas_build_syspd_fusion() local 3089 pd_index = MEGASAS_PD_INDEX(scmd); in megasas_build_syspd_fusion() 3108 instance->pd_list[pd_index].driveType == TYPE_DISK) { in megasas_build_syspd_fusion() 3113 pd_sync->seq[pd_index].pd_target_id; in megasas_build_syspd_fusion() 3119 pd_sync->seq[pd_index].seqNum; in megasas_build_syspd_fusion() 3121 pd_sync->seq[pd_index].devHandle; in megasas_build_syspd_fusion() 3205 u16 pd_index = 0; in megasas_build_io_fusion() local 3241 pd_index = MEGASAS_PD_INDEX(scp); in megasas_build_io_fusion() 3242 drive_type = instance->pd_list[pd_index].driveType; in megasas_build_io_fusion() 4693 u16 pd_index in megasas_get_tm_devhandle() local [all...] |
H A D | megaraid_sas_base.c | 1893 u16 pd_index = 0, ld; in megasas_set_dynamic_target_properties() local 1928 pd_index = (sdev->channel * MEGASAS_MAX_DEV_PER_CHANNEL) + in megasas_set_dynamic_target_properties() 1933 pd_sync->seq[pd_index].capability.tmCapable; in megasas_set_dynamic_target_properties() 2071 u16 pd_index = 0; in megasas_slave_configure() local 2079 pd_index = (sdev->channel * MEGASAS_MAX_DEV_PER_CHANNEL) + in megasas_slave_configure() 2081 if (instance->pd_list[pd_index].driveState != in megasas_slave_configure() 2111 u16 pd_index = 0, ld_tgt_id; in megasas_slave_alloc() local 2120 pd_index = in megasas_slave_alloc() 2124 instance->pd_list[pd_index].driveState == in megasas_slave_alloc() 4618 int ret = 0, pd_index in megasas_get_pd_list() local 8790 u16 pd_index = 0; megasas_add_remove_devices() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/megaraid/ |
H A D | megaraid_sas_base.c | 1883 u16 pd_index = 0, ld; in megasas_set_dynamic_target_properties() local 1918 pd_index = (sdev->channel * MEGASAS_MAX_DEV_PER_CHANNEL) + in megasas_set_dynamic_target_properties() 1923 pd_sync->seq[pd_index].capability.tmCapable; in megasas_set_dynamic_target_properties() 2061 u16 pd_index = 0; in megasas_slave_configure() local 2069 pd_index = (sdev->channel * MEGASAS_MAX_DEV_PER_CHANNEL) + in megasas_slave_configure() 2071 if (instance->pd_list[pd_index].driveState != in megasas_slave_configure() 2101 u16 pd_index = 0, ld_tgt_id; in megasas_slave_alloc() local 2110 pd_index = in megasas_slave_alloc() 2114 instance->pd_list[pd_index].driveState == in megasas_slave_alloc() 4588 int ret = 0, pd_index in megasas_get_pd_list() local 8793 u16 pd_index = 0; megasas_add_remove_devices() local [all...] |
H A D | megaraid_sas_fusion.c | 3042 u16 pd_index = 0; in megasas_build_syspd_fusion() local 3053 pd_index = MEGASAS_PD_INDEX(scmd); in megasas_build_syspd_fusion() 3072 instance->pd_list[pd_index].driveType == TYPE_DISK) { in megasas_build_syspd_fusion() 3077 pd_sync->seq[pd_index].pd_target_id; in megasas_build_syspd_fusion() 3083 pd_sync->seq[pd_index].seqNum; in megasas_build_syspd_fusion() 3085 pd_sync->seq[pd_index].devHandle; in megasas_build_syspd_fusion() 4581 u16 pd_index = 0; in megasas_get_tm_devhandle() local 4593 pd_index = (sdev->channel * MEGASAS_MAX_DEV_PER_CHANNEL) in megasas_get_tm_devhandle() 4597 devhandle = pd_sync->seq[pd_index].devHandle; in megasas_get_tm_devhandle()
|