Searched refs:pte_addr (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/iommu/ |
H A D | sun50i-iommu.c | 602 u32 *page_table, *pte_addr; in sun50i_iommu_map() local 620 pte_addr = &page_table[pte_index]; in sun50i_iommu_map() 621 if (unlikely(sun50i_pte_is_page_valid(*pte_addr))) { in sun50i_iommu_map() 622 phys_addr_t page_phys = sun50i_pte_get_page_address(*pte_addr); in sun50i_iommu_map() 630 *pte_addr = sun50i_mk_pte(paddr, prot); in sun50i_iommu_map() 631 sun50i_table_flush(sun50i_domain, pte_addr, 1); in sun50i_iommu_map() 643 u32 *pte_addr; in sun50i_iommu_unmap() local 651 pte_addr = (u32 *)phys_to_virt(pt_phys) + sun50i_iova_get_pte_index(iova); in sun50i_iommu_unmap() 653 if (!sun50i_pte_is_page_valid(*pte_addr)) in sun50i_iommu_unmap() 656 memset(pte_addr, 0, sizeof(*pte_addr)); in sun50i_iommu_unmap() [all …]
|
/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | processor.c | 34 static uint64_t pte_addr(struct kvm_vm *vm, uint64_t entry) in pte_addr() function 110 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + in virt_arch_pg_map() 140 ptep = addr_gpa2hva(vm, pte_addr(vm, *ptep)) + in addr_arch_gva2gpa() 147 return pte_addr(vm, *ptep) + (gva & (vm->page_size - 1)); in addr_arch_gva2gpa() 172 pte_addr(vm, *ptep), level - 1); in pte_dump() 192 pte_addr(vm, *ptep), level - 1); in virt_arch_dump()
|
/linux/drivers/accel/habanalabs/common/mmu/ |
H A D | mmu.c | 1293 void hl_mmu_dr_clear_pte(struct hl_ctx *ctx, u64 pte_addr) in hl_mmu_dr_clear_pte() argument 1295 hl_mmu_dr_write_final_pte(ctx, pte_addr, 0); in hl_mmu_dr_clear_pte()
|
/linux/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 3939 void hl_mmu_dr_clear_pte(struct hl_ctx *ctx, u64 pte_addr);
|