Searched refs:iopte_t (Results 1 – 8 of 8) sorted by relevance
98 IOMMU_NPTES * sizeof(iopte_t)); in sbus_iommu_init()101 iommu->page_table = (iopte_t *)tmp; in sbus_iommu_init()104 memset(iommu->page_table, 0, IOMMU_NPTES*sizeof(iopte_t)); in sbus_iommu_init()129 (int)(IOMMU_NPTES*sizeof(iopte_t)), (int)IOMMU_NPTES); in sbus_iommu_init()157 static void iommu_flush_iotlb(iopte_t *iopte, unsigned int niopte) in iommu_flush_iotlb()163 end = PAGE_ALIGN(start + niopte*sizeof(iopte_t)); in iommu_flush_iotlb()192 iopte_t *iopte, *iopte0; in __sbus_iommu_map_page()317 iopte_t *iopte = iommu->page_table; in sbus_iommu_alloc()318 iopte_t *first; in sbus_iommu_alloc()398 iopte_t *iopte = iommu->page_table; in sbus_iommu_free()
43 iopte_t __iomem *xpt; in iounit_iommu_init()44 iopte_t __iomem *xptend; in iounit_iommu_init()69 xptend = iounit->page_table + (16 * PAGE_SIZE) / sizeof(iopte_t); in iounit_iommu_init()100 iopte_t iopte; in iounit_get_area()221 iopte_t __iomem *iopte; in iounit_alloc()
83 static inline void iopte_make_dummy(struct iommu *iommu, iopte_t *iopte) in iopte_make_dummy()100 num_tsb_entries = tsbsize / sizeof(iopte_t); in iommu_table_init()138 iommu->page_table = (iopte_t *)page_address(page); in iommu_table_init()156 static inline iopte_t *alloc_npages(struct device *dev, in alloc_npages()205 iopte_t *iopte; in dma_4u_alloc_coherent()270 iopte_t *base; in dma_4u_map_page()392 iopte_t *base; in dma_4u_unmap_page()479 iopte_t *base; in dma_4u_map_sg()558 iopte_t *base; in dma_4u_map_sg()592 iopte_t *base; in fetch_sg_ctx()[all …]
56 typedef struct { unsigned long iopte; } iopte_t; typedef73 #define __iopte(x) ((iopte_t) { (x) } )84 typedef unsigned long iopte_t; typedef
70 typedef struct { unsigned long iopte; } iopte_t; typedef84 #define __iopte(x) ((iopte_t) { (x) } )93 typedef unsigned long iopte_t; typedef
47 iopte_t __iomem *page_table;
104 iopte_t *page_table;
60 iopte_t *page_table;