Home
last modified time | relevance | path

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

/linux-6.1.9/arch/sparc/mm/
Diommu.c98 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()
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()
100 iopte_t iopte; in iounit_get_area()
221 iopte_t __iomem *iopte; in iounit_alloc()
/linux-6.1.9/arch/sparc/kernel/
Diommu.c83 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 …]
/linux-6.1.9/arch/sparc/include/asm/
Dpage_32.h56 typedef struct { unsigned long iopte; } iopte_t; typedef
73 #define __iopte(x) ((iopte_t) { (x) } )
84 typedef unsigned long iopte_t; typedef
Dpage_64.h70 typedef struct { unsigned long iopte; } iopte_t; typedef
84 #define __iopte(x) ((iopte_t) { (x) } )
93 typedef unsigned long iopte_t; typedef
Dio-unit.h47 iopte_t __iomem *page_table;
Diommu_32.h104 iopte_t *page_table;
Diommu_64.h60 iopte_t *page_table;