Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/mm/book3s64/
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()
143 if (mem->dev_hpa == MM_IOMMU_TABLE_INVALID_HPA) { in mm_iommu_do_alloc()
194 unsigned long entries, unsigned long dev_hpa, in mm_iommu_newdev() argument
197 return mm_iommu_do_alloc(mm, ua, entries, dev_hpa, pmem); in mm_iommu_newdev()
[all …]
/Linux-v5.10/arch/powerpc/include/asm/
Dmmu_context.h28 unsigned long entries, unsigned long dev_hpa,