/kernel/linux/linux-5.10/drivers/staging/media/atomisp/include/mmu/ |
H A D | isp_mmu.h | 56 #define ISP_PT_TO_VIRT(l1_idx, l2_idx, offset) do {\ 58 ((l2_idx) << ISP_L2PT_OFFSET) | \
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/include/mmu/ |
H A D | isp_mmu.h | 56 #define ISP_PT_TO_VIRT(l1_idx, l2_idx, offset) do {\ 58 ((l2_idx) << ISP_L2PT_OFFSET) | \
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/mmu/ |
H A D | isp_mmu.c | 144 phys_addr_t l2_pt, unsigned int l2_idx, in mmu_remap_error() 156 (u64)l2_pt, l2_idx, isp_virt, in mmu_remap_error() 163 phys_addr_t l2_pt, unsigned int l2_idx, in mmu_unmap_l2_pte_error() 173 (u64)l2_pt, l2_idx, isp_virt, in mmu_unmap_l2_pte_error() 142 mmu_remap_error(struct isp_mmu *mmu, phys_addr_t l1_pt, unsigned int l1_idx, phys_addr_t l2_pt, unsigned int l2_idx, unsigned int isp_virt, phys_addr_t old_phys, phys_addr_t new_phys) mmu_remap_error() argument 161 mmu_unmap_l2_pte_error(struct isp_mmu *mmu, phys_addr_t l1_pt, unsigned int l1_idx, phys_addr_t l2_pt, unsigned int l2_idx, unsigned int isp_virt, unsigned int pte) mmu_unmap_l2_pte_error() argument
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/mmu/ |
H A D | isp_mmu.c | 144 phys_addr_t l2_pt, unsigned int l2_idx, in mmu_remap_error() 156 (u64)l2_pt, l2_idx, isp_virt, in mmu_remap_error() 163 phys_addr_t l2_pt, unsigned int l2_idx, in mmu_unmap_l2_pte_error() 173 (u64)l2_pt, l2_idx, isp_virt, in mmu_unmap_l2_pte_error() 142 mmu_remap_error(struct isp_mmu *mmu, phys_addr_t l1_pt, unsigned int l1_idx, phys_addr_t l2_pt, unsigned int l2_idx, unsigned int isp_virt, phys_addr_t old_phys, phys_addr_t new_phys) mmu_remap_error() argument 161 mmu_unmap_l2_pte_error(struct isp_mmu *mmu, phys_addr_t l1_pt, unsigned int l1_idx, phys_addr_t l2_pt, unsigned int l2_idx, unsigned int isp_virt, unsigned int pte) mmu_unmap_l2_pte_error() argument
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hem.h | 100 u32 l2_idx; /* level 2 base address table index */ member
|
H A D | hns_roce_hem.c | 220 mhop->l2_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop() 333 u32 l0_idx, l1_idx, l2_idx; in calc_hem_config() local 344 l2_idx = mhop->l2_idx; in calc_hem_config() 352 l1_idx * chunk_ba_num + l2_idx; in calc_hem_config() 462 *(table->bt_l1[index->l1] + mhop->l2_idx) = bt_ba; in alloc_mhop_hem()
|
H A D | hns_roce_hw_v2.c | 3638 k = mhop.l2_idx; in hns_roce_v2_set_hem()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hem.h | 101 u32 l2_idx; /* level 2 base address table index */ member
|
H A D | hns_roce_hem.c | 229 mhop->l2_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop() 342 u32 l0_idx, l1_idx, l2_idx; in calc_hem_config() local 353 l2_idx = mhop->l2_idx; in calc_hem_config() 361 l1_idx * chunk_ba_num + l2_idx; in calc_hem_config() 471 *(table->bt_l1[index->l1] + mhop->l2_idx) = bt_ba; in alloc_mhop_hem()
|
H A D | hns_roce_hw_v2.c | 4067 k = mhop.l2_idx; in hns_roce_v2_set_hem()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 11974 int rc = 0, idx, bit_id, l2_idx = 0; in bnxt_rx_flow_steer() local 11986 l2_idx = j + 1; in bnxt_rx_flow_steer() 11991 if (!l2_idx) in bnxt_rx_flow_steer() 12049 new_fltr->l2_fltr_idx = l2_idx; in bnxt_rx_flow_steer()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt.c | 12933 int rc = 0, idx, bit_id, l2_idx = 0; in bnxt_rx_flow_steer() local 12945 l2_idx = j + 1; in bnxt_rx_flow_steer() 12950 if (!l2_idx) in bnxt_rx_flow_steer() 13008 new_fltr->l2_fltr_idx = l2_idx; in bnxt_rx_flow_steer()
|