Searched refs:IOMMU_PAGESHIFT (Results 1 – 2 of 2) sorted by relevance
65 #define IOMMU_PAGESHIFT 13 macro116 #define iommu_ptob(x) ((x) << IOMMU_PAGESHIFT)117 #define iommu_btop(x) (((ioaddr_t)(x)) >> IOMMU_PAGESHIFT)119 ((((ioaddr_t)(x) + IOMMU_PAGEOFFSET) >> IOMMU_PAGESHIFT))
539 *iotte_ptr = ((uint64_t)pfn << IOMMU_PAGESHIFT) | iotte_flag; in iommu_create_vaddr_mappings()650 *iotte_ptr = ((uint64_t)pfn << IOMMU_PAGESHIFT) | iotte_flag; in iommu_create_pp_mappings()1011 ((uint64_t)pfn << IOMMU_PAGESHIFT) | iotte_flag; in iommu_dma_bindhdl()1562 *iotte_ptr = ((uint64_t)pfn << IOMMU_PAGESHIFT) | iotte_flag; in iommu_dvma_kaddr_load()