Home
last modified time | relevance | path

Searched refs:pt_ops (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/arch/riscv/mm/
Dinit.c311 struct pt_alloc_ops pt_ops __meminitdata;
320 #define pt_ops (*(struct pt_alloc_ops *)XIP_FIXUP(&pt_ops)) macro
495 pte_phys = pt_ops.alloc_pte(va); in create_pmd_mapping()
497 ptep = pt_ops.get_pte_virt(pte_phys); in create_pmd_mapping()
501 ptep = pt_ops.get_pte_virt(pte_phys); in create_pmd_mapping()
597 next_phys = pt_ops.alloc_pmd(va); in create_pud_mapping()
599 nextp = pt_ops.get_pmd_virt(next_phys); in create_pud_mapping()
603 nextp = pt_ops.get_pmd_virt(next_phys); in create_pud_mapping()
623 next_phys = pt_ops.alloc_pud(va); in create_p4d_mapping()
625 nextp = pt_ops.get_pud_virt(next_phys); in create_p4d_mapping()
[all …]
Dkasan_init.c174 base_pud = pt_ops.get_pud_virt(pfn_to_phys(_p4d_pfn(p4dp_get(p4dp)))); in kasan_early_clear_pud()
199 base_p4d = pt_ops.get_p4d_virt(pfn_to_phys(_pgd_pfn(pgdp_get(pgdp)))); in kasan_early_clear_p4d()
245 base_pud = pt_ops.get_pud_virt(pfn_to_phys(_p4d_pfn(p4dp_get(p4dp)))); in kasan_early_populate_pud()
283 base_p4d = pt_ops.get_p4d_virt(pfn_to_phys(_pgd_pfn(pgdp_get(pgdp)))); in kasan_early_populate_p4d()
/linux-6.12.1/drivers/gpu/drm/xe/display/
Dxe_fb_pin.c33 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, src_idx * XE_PAGE_SIZE, in write_dpt_rotated()
57 = ggtt->pt_ops->pte_encode_bo; in write_dpt_remapped()
125 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, x * XE_PAGE_SIZE, in __xe_pin_fb_vma_dpt()
171 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, src_idx * XE_PAGE_SIZE, in write_ggtt_rotated()
174 ggtt->pt_ops->ggtt_set_pte(ggtt, *ggtt_ofs, pte); in write_ggtt_rotated()
224 u64 pte = ggtt->pt_ops->pte_encode_bo(bo, x, in __xe_pin_fb_vma_ggtt()
227 ggtt->pt_ops->ggtt_set_pte(ggtt, vma->node->base.start + x, pte); in __xe_pin_fb_vma_ggtt()
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_ggtt.c149 scratch_pte = ggtt->pt_ops->pte_encode_bo(ggtt->scratch, 0, in xe_ggtt_clear()
155 ggtt->pt_ops->ggtt_set_pte(ggtt, start, scratch_pte); in xe_ggtt_clear()
239 ggtt->pt_ops = (ggtt->tile->media_gt && in xe_ggtt_init_early()
244 ggtt->pt_ops = &xelp_pt_ops; in xe_ggtt_init_early()
603 pte = ggtt->pt_ops->pte_encode_bo(bo, offset, pat_index); in xe_ggtt_map_bo()
604 ggtt->pt_ops->ggtt_set_pte(ggtt, start + offset, pte); in xe_ggtt_map_bo()
754 ggtt->pt_ops->ggtt_set_pte(ggtt, start, pte); in xe_ggtt_assign_locked()
Dxe_migrate.c150 flags = vm->pt_ops->pte_encode_addr(xe, 0, pat_index, level, in xe_migrate_program_identity()
163 entry = vm->pt_ops->pde_encode_bo(bo, pt_2m_ofs, in xe_migrate_program_identity()
167 flags = vm->pt_ops->pte_encode_addr(xe, 0, in xe_migrate_program_identity()
218 entry = vm->pt_ops->pde_encode_bo(bo, pt29_ofs, pat_index); in xe_migrate_prepare_vm()
225 entry = vm->pt_ops->pte_encode_bo(bo, i * XE_PAGE_SIZE, in xe_migrate_prepare_vm()
242 entry = vm->pt_ops->pte_encode_bo(batch, i, in xe_migrate_prepare_vm()
259 entry = vm->pt_ops->pte_encode_bo(batch, i, in xe_migrate_prepare_vm()
285 entry = vm->pt_ops->pde_encode_bo(bo, map_ofs + (u64)(level - 1) * in xe_migrate_prepare_vm()
293 entry = vm->pt_ops->pde_encode_bo(bo, (u64)i * XE_PAGE_SIZE, in xe_migrate_prepare_vm()
303 vm->pt_ops->pte_encode_addr(xe, 0, pat_index, level, IS_DGFX(xe), 0) in xe_migrate_prepare_vm()
[all …]
Dxe_ggtt_types.h45 const struct xe_ggtt_pt_ops *pt_ops; member
Dxe_vm_types.h205 const struct xe_pt_ops *pt_ops; member
Dxe_pt.c67 return vm->pt_ops->pde_encode_bo(vm->scratch_pt[id][level - 1]->bo, in __xe_pt_empty_pte()
70 return vm->pt_ops->pte_encode_addr(xe, 0, pat_index, level, IS_DGFX(xe), 0) | in __xe_pt_empty_pte()
499 pte = vm->pt_ops->pte_encode_vma(is_null ? 0 : in xe_pt_stage_bind_entry()
571 pte = vm->pt_ops->pde_encode_bo(xe_child->bo, 0, pat_index) | flags; in xe_pt_stage_bind_entry()
Dxe_vm.c1414 vm->pt_ops = &xelp_pt_ops; in xe_vm_create()
1689 return vm->pt_ops->pde_encode_bo(vm->pt_root[tile->id]->bo, 0, in xe_vm_pdp4_descriptor()
/linux-6.12.1/arch/riscv/include/asm/
Dpgtable.h164 extern struct pt_alloc_ops pt_ops __meminitdata;
/linux-6.12.1/drivers/gpu/drm/xe/tests/
Dxe_migrate.c246 expected = m->q->vm->pt_ops->pte_encode_bo(pt, 0, xe->pat.idx[XE_CACHE_WB], 0); in xe_migrate_sanity_test()