Home
last modified time | relevance | path

Searched refs:l1_idx (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-mmu.c93 u32 l1_idx; in page_table_dump() local
97 for (l1_idx = 0; l1_idx < ISP_L1PT_PTES; l1_idx++) { in page_table_dump()
99 u32 iova = (phys_addr_t)l1_idx << ISP_L1PT_SHIFT; in page_table_dump()
102 if (mmu_info->l1_pt[l1_idx] == mmu_info->dummy_l2_pteval) in page_table_dump()
105 l2_phys = TBL_PHYS_ADDR(mmu_info->l1_pt[l1_idx];) in page_table_dump()
108 l1_idx, iova, iova + ISP_PAGE_SIZE, &l2_phys); in page_table_dump()
111 u32 *l2_pt = mmu_info->l2_pts[l1_idx]; in page_table_dump()
263 u32 l1_idx; in l2_unmap() local
267 for (l1_idx = iova >> ISP_L1PT_SHIFT; in l2_unmap()
268 size > 0 && l1_idx < ISP_L1PT_PTES; l1_idx++) { in l2_unmap()
[all …]
/linux/drivers/gpu/drm/imagination/
H A Dpvr_mmu.c1383 u16 l1_idx; member
1541 op_ctx->curr_page.l1_idx); in pvr_page_table_l1_insert()
1547 child_table->parent_idx = op_ctx->curr_page.l1_idx; in pvr_page_table_l1_insert()
1548 op_ctx->curr_page.l1_table->entries[op_ctx->curr_page.l1_idx] = child_table; in pvr_page_table_l1_insert()
1788 op_ctx->curr_page.l1_idx)) { in pvr_page_table_l0_get_or_insert()
1790 op_ctx->curr_page.l1_table->entries[op_ctx->curr_page.l1_idx]; in pvr_page_table_l0_get_or_insert()
2151 op_ctx->curr_page.l1_idx = pvr_page_table_l1_idx(device_addr); in pvr_mmu_op_context_set_curr_page()
2196 if (++op_ctx->curr_page.l1_idx != ROGUE_MMUCTRL_ENTRIES_PD_VALUE) in pvr_mmu_op_context_next_page()
2199 op_ctx->curr_page.l1_idx = 0; in pvr_mmu_op_context_next_page()
/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.h84 u32 l1_idx; /* level 1 base address table index */ member