Searched refs:l2_idx (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/drivers/media/pci/intel/ipu6/ |
D | ipu6-mmu.c | 98 u32 l2_idx; in page_table_dump() local 108 for (l2_idx = 0; l2_idx < ISP_L2PT_PTES; l2_idx++) { in page_table_dump() 110 u32 iova2 = iova + (l2_idx << ISP_L2PT_SHIFT); in page_table_dump() 112 if (l2_pt[l2_idx] == mmu_info->dummy_page_pteval) in page_table_dump() 117 l2_idx, iova2, in page_table_dump() 118 TBL_PHYS_ADDR(l2_pt[l2_idx])); in page_table_dump() 261 unsigned int l2_idx; in l2_map() local 306 l2_idx = (iova_start & ISP_L2PT_MASK) >> ISP_L2PT_SHIFT; in l2_map() 308 dev_dbg(mmu_info->dev, "l2_idx %u, phys 0x%8.8x\n", l2_idx, in l2_map() 309 l2_pt[l2_idx]); in l2_map() [all …]
|
/linux-6.12.1/drivers/staging/media/atomisp/include/mmu/ |
D | isp_mmu.h | 56 #define ISP_PT_TO_VIRT(l1_idx, l2_idx, offset) do {\ argument 58 ((l2_idx) << ISP_L2PT_OFFSET) | \
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/mmu/ |
D | isp_mmu.c | 144 phys_addr_t l2_pt, unsigned int l2_idx, in mmu_remap_error() argument 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() argument 173 (u64)l2_pt, l2_idx, isp_virt, in mmu_unmap_l2_pte_error()
|
/linux-6.12.1/drivers/gpu/drm/imagination/ |
D | pvr_mmu.c | 1377 u16 l2_idx; member 1480 op_ctx->curr_page.l2_idx); in pvr_page_table_l2_insert() 1486 child_table->parent_idx = op_ctx->curr_page.l2_idx; in pvr_page_table_l2_insert() 1487 l2_table->entries[op_ctx->curr_page.l2_idx] = child_table; in pvr_page_table_l2_insert() 1739 op_ctx->curr_page.l2_idx)) { in pvr_page_table_l1_get_or_insert() 1741 l2_table->entries[op_ctx->curr_page.l2_idx]; in pvr_page_table_l1_get_or_insert() 2150 op_ctx->curr_page.l2_idx = pvr_page_table_l2_idx(device_addr); in pvr_mmu_op_context_set_curr_page() 2202 if (++op_ctx->curr_page.l2_idx != ROGUE_MMUCTRL_ENTRIES_PC_VALUE) in pvr_mmu_op_context_next_page()
|
/linux-6.12.1/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.h | 85 u32 l2_idx; /* level 2 base address table index */ member
|
D | hns_roce_hem.c | 229 mhop->l2_idx = table_idx & (chunk_ba_num - 1); in hns_roce_calc_hem_mhop() 305 u32 l0_idx, l1_idx, l2_idx; in calc_hem_config() local 316 l2_idx = mhop->l2_idx; in calc_hem_config() 324 l1_idx * chunk_ba_num + l2_idx; in calc_hem_config() 432 *(table->bt_l1[index->l1] + mhop->l2_idx) = bt_ba; in alloc_mhop_hem()
|
D | hns_roce_hw_v2.c | 4114 k = mhop.l2_idx; in hns_roce_v2_set_hem()
|