Home
last modified time | relevance | path

Searched refs:iopte_t (Results 1 – 8 of 8) sorted by relevance

/arch/sparc/mm/
Diommu.c97 IOMMU_NPTES * sizeof(iopte_t)); in sbus_iommu_init()
100 iommu->page_table = (iopte_t *)tmp; in sbus_iommu_init()
103 memset(iommu->page_table, 0, IOMMU_NPTES*sizeof(iopte_t)); in sbus_iommu_init()
128 (int)(IOMMU_NPTES*sizeof(iopte_t)), (int)IOMMU_NPTES); in sbus_iommu_init()
151 static void iommu_flush_iotlb(iopte_t *iopte, unsigned int niopte) in iommu_flush_iotlb()
157 end = PAGE_ALIGN(start + niopte*sizeof(iopte_t)); in iommu_flush_iotlb()
181 iopte_t *iopte, *iopte0; in iommu_get_one()
329 iopte_t *iopte = iommu->page_table; in iommu_map_dma_area()
330 iopte_t *first; in iommu_map_dma_area()
394 iopte_t *iopte = iommu->page_table; in iommu_unmap_dma_area()
Dio-unit.c43 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()
98 iopte_t iopte; in iounit_get_area()
208 iopte_t __iomem *iopte; in iounit_map_dma_area()
/arch/sparc/include/asm/
Dpage_32.h55 typedef struct { unsigned long iopte; } iopte_t; typedef
71 #define __iopte(x) ((iopte_t) { (x) } )
83 typedef unsigned long iopte_t; typedef
Dpage_64.h58 typedef struct { unsigned long iopte; } iopte_t; typedef
72 #define __iopte(x) ((iopte_t) { (x) } )
81 typedef unsigned long iopte_t; typedef
Dio-unit.h46 iopte_t __iomem *page_table;
Diommu_64.h30 iopte_t *page_table;
Diommu_32.h103 iopte_t *page_table;
/arch/sparc/kernel/
Diommu.c80 static inline void iopte_make_dummy(struct iommu *iommu, iopte_t *iopte) in iopte_make_dummy()
185 num_tsb_entries = tsbsize / sizeof(iopte_t); in iommu_table_init()
226 iommu->page_table = (iopte_t *)page_address(page); in iommu_table_init()
244 static inline iopte_t *alloc_npages(struct device *dev, struct iommu *iommu, in alloc_npages()
291 iopte_t *iopte; in dma_4u_alloc_coherent()
362 iopte_t *base; in dma_4u_map_page()
484 iopte_t *base; in dma_4u_unmap_page()
573 iopte_t *base; in dma_4u_map_sg()
652 iopte_t *base; in dma_4u_map_sg()
685 iopte_t *base; in fetch_sg_ctx()
[all …]