Home
last modified time | relevance | path

Searched refs:pd_index (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_hmc.c104 u32 pd_index, in i40e_add_pd_table_entry() argument
116 if (pd_index / I40E_HMC_PD_CNT_IN_SD >= hmc_info->sd_table.sd_cnt) { in i40e_add_pd_table_entry()
123 sd_idx = (pd_index / I40E_HMC_PD_CNT_IN_SD); in i40e_add_pd_table_entry()
128 rel_pd_idx = (pd_index % I40E_HMC_PD_CNT_IN_SD); in i40e_add_pd_table_entry()
146 pd_entry->bp.sd_pd_index = pd_index; in i40e_add_pd_table_entry()
H A Di40e_hmc.h183 #define I40E_FIND_PD_INDEX_LIMIT(hmc_info, type, idx, cnt, pd_index, pd_limit)\ argument
189 *(pd_index) = (u32)(fpm_adr / I40E_HMC_PAGED_BP_SIZE); \
202 u32 pd_index,
/openbmc/linux/drivers/iommu/
H A Dtegra-smmu.c534 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()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dhmc.c544 struct irdma_hmc_info *hmc_info, u32 pd_index, in irdma_add_pd_table_entry() argument
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()
H A Dhmc.h163 struct irdma_hmc_info *hmc_info, u32 pd_index,
/openbmc/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c3078 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 = 0; in megasas_get_tm_devhandle() local
[all …]
H A Dmegaraid_sas_base.c1893 u16 pd_index = 0, ld; in megasas_set_dynamic_target_properties() local
1933 pd_sync->seq[pd_index].capability.tmCapable; in megasas_set_dynamic_target_properties()
2071 u16 pd_index = 0; in megasas_slave_configure() local
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 = 0; in megasas_get_pd_list() local
4714 for (pd_index = 0; pd_index < le32_to_cpu(ci->count); pd_index++) { in megasas_get_pd_list()
4724 pd_index, le16_to_cpu(pd_addr->deviceId), in megasas_get_pd_list()
[all …]