Home
last modified time | relevance | path

Searched refs:dev_hpa (Results 1 – 2 of 2) sorted by relevance

/linux/arch/powerpc/mm/book3s64/
H A Diommu_api.c47 u64 dev_hpa; /* Device memory base address */ member
57 unsigned long entries, unsigned long dev_hpa, in mm_iommu_do_alloc() argument
65 if (dev_hpa == MM_IOMMU_TABLE_INVALID_HPA) { in mm_iommu_do_alloc()
79 if (dev_hpa != MM_IOMMU_TABLE_INVALID_HPA) { in mm_iommu_do_alloc()
80 mem->pageshift = __ffs(dev_hpa | (entries << PAGE_SHIFT)); in mm_iommu_do_alloc()
81 mem->dev_hpa = dev_hpa; in mm_iommu_do_alloc()
84 mem->dev_hpa = MM_IOMMU_TABLE_INVALID_HPA; in mm_iommu_do_alloc()
144 if (mem->dev_hpa == MM_IOMMU_TABLE_INVALID_HPA) { in mm_iommu_do_alloc()
195 unsigned long entries, unsigned long dev_hpa, in mm_iommu_newdev() argument
198 return mm_iommu_do_alloc(mm, ua, entries, dev_hpa, pmem); in mm_iommu_newdev()
[all …]
/linux/arch/powerpc/include/asm/
H A Dmmu_context.h29 unsigned long entries, unsigned long dev_hpa,