/drivers/iommu/ |
D | io-pgtable-arm-v7s.c | 83 #define ARM_V7S_PTE_IS_VALID(pte) (((pte) & 0x3) != 0) argument 84 #define ARM_V7S_PTE_IS_TABLE(pte, lvl) \ argument 185 static arm_v7s_iopte to_mtk_iopte(phys_addr_t paddr, arm_v7s_iopte pte) in to_mtk_iopte() 199 arm_v7s_iopte pte = paddr & ARM_V7S_LVL_MASK(lvl); in paddr_to_iopte() local 207 static phys_addr_t iopte_to_paddr(arm_v7s_iopte pte, int lvl, in iopte_to_paddr() 233 static arm_v7s_iopte *iopte_deref(arm_v7s_iopte pte, int lvl, in iopte_deref() 324 static void __arm_v7s_set_pte(arm_v7s_iopte *ptep, arm_v7s_iopte pte, in __arm_v7s_set_pte() 339 arm_v7s_iopte pte = ARM_V7S_ATTR_NG | ARM_V7S_ATTR_S; in arm_v7s_prot_to_pte() local 366 static int arm_v7s_pte_to_prot(arm_v7s_iopte pte, int lvl) in arm_v7s_pte_to_prot() 385 static arm_v7s_iopte arm_v7s_pte_to_cont(arm_v7s_iopte pte, int lvl) in arm_v7s_pte_to_cont() [all …]
|
D | io-pgtable-arm.c | 141 #define iopte_deref(pte,d) __va(iopte_to_paddr(pte, d)) argument 143 #define iopte_type(pte) \ argument 146 #define iopte_prot(pte) ((pte) & ARM_LPAE_PTE_ATTR_MASK) argument 160 static inline bool iopte_leaf(arm_lpae_iopte pte, int lvl, in iopte_leaf() 172 arm_lpae_iopte pte = paddr; in paddr_to_iopte() local 178 static phys_addr_t iopte_to_paddr(arm_lpae_iopte pte, in iopte_to_paddr() 270 arm_lpae_iopte pte = prot; in __arm_lpae_init_pte() local 356 arm_lpae_iopte *cptep, pte; in __arm_lpae_map() local 411 arm_lpae_iopte pte; in arm_lpae_prot_to_pte() local 553 arm_lpae_iopte pte = *ptep++; in __arm_lpae_free_pgtable() local [all …]
|
D | tegra-gart.c | 66 unsigned long iova, unsigned long pte) in gart_set_pte() 75 unsigned long pte; in gart_read_pte() local 229 unsigned long pte; in gart_iommu_iova_to_phys() local
|
D | rockchip-iommu.c | 260 static inline bool rk_pte_is_page_valid(u32 pte) in rk_pte_is_page_valid() 296 static u32 rk_mk_pte_invalid(u32 pte) in rk_mk_pte_invalid() 541 u32 pte = 0; in log_iova() local 653 u32 dte, pte; in rk_iommu_iova_to_phys() local 760 u32 pte = pte_addr[pte_count]; in rk_iommu_unmap_iova() local 783 u32 pte = pte_addr[pte_count]; in rk_iommu_map_iova() local
|
D | sun50i-iommu.c | 254 static phys_addr_t sun50i_pte_get_page_address(u32 pte) in sun50i_pte_get_page_address() 259 static enum sun50i_iommu_aci sun50i_get_pte_aci(u32 pte) in sun50i_get_pte_aci() 264 static bool sun50i_pte_is_page_valid(u32 pte) in sun50i_pte_is_page_valid() 584 u32 dte, pte; in sun50i_iommu_iova_to_phys() local
|
D | tegra-smmu.c | 649 u32 *pte, dma_addr_t pte_dma, u32 val) in tegra_smmu_set_pte() 711 u32 *pte; in __tegra_smmu_map() local 745 u32 *pte; in __tegra_smmu_unmap() local 790 u32 *pte; in tegra_smmu_iova_to_phys() local
|
/drivers/staging/media/atomisp/pci/mmu/ |
D | isp_mmu.c | 68 unsigned int idx, unsigned int pte) in atomisp_set_pte() 80 unsigned int pte) in isp_pte_to_pgaddr() 88 unsigned int pte = mmu->driver->phys_to_pte(mmu, phys); in isp_pgaddr_to_pte_valid() local 164 unsigned int isp_virt, unsigned int pte) in mmu_unmap_l2_pte_error() 179 unsigned int isp_virt, unsigned int pte) in mmu_unmap_l1_pte_error() 189 static void mmu_unmap_l1_pt_error(struct isp_mmu *mmu, unsigned int pte) in mmu_unmap_l1_pt_error() 205 unsigned int pte; in mmu_l2_map() local 369 unsigned int pte; in mmu_l2_unmap() local 542 unsigned int pte; in isp_mmu_exit() local
|
D | sh_mmu_mrfld.c | 38 unsigned int pte) in sh_pte_to_phys() 48 unsigned int pte = sh_phys_to_pte(mmu, phys); in sh_get_pd_base() local
|
/drivers/iommu/amd/ |
D | io_pgtable.c | 50 static u64 *first_pte_l7(u64 *pte, unsigned long *page_size, in first_pte_l7() 183 u64 *pte; in increase_address_space() local 229 u64 *pte, *page; in alloc_pte() local 321 u64 *pte; in fetch_pte() local 365 static struct page *free_clear_pte(u64 *pte, u64 pteval, struct page *freelist) in free_clear_pte() 397 u64 __pte, *pte; in iommu_v1_map_page() local 465 u64 *pte; in iommu_v1_unmap_page() local 494 u64 *pte, __pte; in iommu_v1_iova_to_phys() local
|
D | amd_iommu_types.h | 303 #define PM_PTE_LEVEL(pte) (((pte) >> 9) & 0x7ULL) argument 342 #define PTE_PAGE_SIZE(pte) \ argument 390 #define IOMMU_PTE_PRESENT(pte) ((pte) & IOMMU_PTE_PR) argument 391 #define IOMMU_PTE_PAGE(pte) (iommu_phys_to_virt((pte) & IOMMU_PAGE_MASK)) argument 392 #define IOMMU_PTE_MODE(pte) (((pte) >> 9) & 0x07) argument
|
/drivers/iommu/intel/ |
D | pasid.c | 530 struct pasid_entry *pte; in intel_pasid_tear_down_entry() local 565 struct pasid_entry *pte, in pasid_flush_caches() 579 static inline int pasid_enable_wpe(struct pasid_entry *pte) in pasid_enable_wpe() 603 struct pasid_entry *pte; in intel_pasid_setup_first_level() local 687 struct pasid_entry *pte; in intel_pasid_setup_second_level() local 754 struct pasid_entry *pte; in intel_pasid_setup_pass_through() local 786 intel_pasid_setup_bind_data(struct intel_iommu *iommu, struct pasid_entry *pte, in intel_pasid_setup_bind_data() 849 struct pasid_entry *pte; in intel_pasid_setup_nested() local
|
D | pasid.h | 97 static inline bool pasid_pte_is_present(struct pasid_entry *pte) in pasid_pte_is_present() 103 static inline u16 pasid_pte_get_pgtt(struct pasid_entry *pte) in pasid_pte_get_pgtt()
|
D | iommu.c | 1019 struct dma_pte *parent, *pte; in pfn_to_dma_pte() local 1078 struct dma_pte *parent, *pte; in dma_pfn_level_pte() local 1111 struct dma_pte *first_pte, *pte; in dma_pte_clear_range() local 1138 int retain_level, struct dma_pte *pte, in dma_pte_free_level() 1209 int level, struct dma_pte *pte, in dma_pte_list_pagetables() 1233 struct dma_pte *pte, unsigned long pfn, in dma_pte_clear_level() 2348 struct dma_pte *pte = NULL; in switch_to_super_page() local 2377 struct dma_pte *first_pte = NULL, *pte = NULL; in __domain_mapping() local 4796 struct dma_pte *pte; in prepare_domain_attach_device() local 5172 struct dma_pte *pte; in intel_iommu_iova_to_phys() local
|
/drivers/gpu/drm/i915/gt/ |
D | intel_ggtt.c | 195 gen8_pte_t pte = addr | _PAGE_PRESENT; in gen8_ggtt_pte_encode() local 203 static void gen8_set_pte(void __iomem *addr, gen8_pte_t pte) in gen8_set_pte() 215 gen8_pte_t __iomem *pte = in gen8_ggtt_insert_page() local 266 gen6_pte_t __iomem *pte = in gen6_ggtt_insert_page() local 952 gen6_pte_t pte = GEN6_PTE_ADDR_ENCODE(addr) | GEN6_PTE_VALID; in snb_pte_encode() local 973 gen6_pte_t pte = GEN6_PTE_ADDR_ENCODE(addr) | GEN6_PTE_VALID; in ivb_pte_encode() local 996 gen6_pte_t pte = GEN6_PTE_ADDR_ENCODE(addr) | GEN6_PTE_VALID; in byt_pte_encode() local 1011 gen6_pte_t pte = HSW_PTE_ADDR_ENCODE(addr) | GEN6_PTE_VALID; in hsw_pte_encode() local 1023 gen6_pte_t pte = HSW_PTE_ADDR_ENCODE(addr) | GEN6_PTE_VALID; in iris_pte_encode() local
|
/drivers/gpu/drm/gma500/ |
D | gtt.c | 78 u32 pte; in psb_gtt_insert() local 123 u32 pte; in psb_gtt_remove() local 359 uint32_t pte; in psb_gtt_init() local
|
D | mmu.c | 387 uint32_t pte) in psb_mmu_set_pte() 625 uint32_t pte; in psb_mmu_insert_pfn_sequence() local 674 uint32_t pte; in psb_mmu_insert_pages() local
|
/drivers/gpu/drm/i915/ |
D | i915_mm.c | 40 static int remap_pfn(pte_t *pte, unsigned long addr, void *data) in remap_pfn() 61 static int remap_sg(pte_t *pte, unsigned long addr, void *data) in remap_sg()
|
/drivers/xen/ |
D | xlate_mmu.c | 100 pte_t pte = pte_mkspecial(pfn_pte(page_to_pfn(page), info->prot)); in remap_pte_fn() local 276 pte_t pte = pte_mkspecial(pfn_pte(page_to_pfn(page), r->prot)); in remap_pfn_fn() local
|
/drivers/staging/media/ipu3/ |
D | ipu3-mmu.c | 29 #define IPU3_PTE2ADDR(pte) ((phys_addr_t)(pte) << IPU3_PAGE_SHIFT) argument 124 int pte; in imgu_mmu_alloc_page_table() local
|
/drivers/gpu/drm/v3d/ |
D | v3d_mmu.c | 98 u32 pte = page_prot | page_address; in v3d_mmu_insert_ptes() local
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_vm_sdma.c | 208 uint64_t *pte; in amdgpu_vm_sdma_update() local
|
/drivers/staging/media/atomisp/include/mmu/ |
D | isp_mmu.h | 123 #define ISP_PTE_VALID(mmu, pte) \ argument
|
/drivers/gpu/drm/i915/display/ |
D | intel_dpt.c | 32 static void gen8_set_pte(void __iomem *addr, gen8_pte_t pte) in gen8_set_pte()
|
/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_mman.c | 1264 static int check_present_pte(pte_t *pte, unsigned long addr, void *data) in check_present_pte() 1275 static int check_absent_pte(pte_t *pte, unsigned long addr, void *data) in check_absent_pte()
|
/drivers/gpu/drm/lima/ |
D | lima_vm.c | 274 u32 pte = *pt++; in lima_vm_print() local
|