Home
last modified time | relevance | path

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

/linux-6.12.1/arch/sparc/mm/
Diommu.c99 IOMMU_NPTES * sizeof(iopte_t)); in sbus_iommu_init()
102 iommu->page_table = (iopte_t *)tmp; in sbus_iommu_init()
105 memset(iommu->page_table, 0, IOMMU_NPTES*sizeof(iopte_t)); in sbus_iommu_init()
130 (int)(IOMMU_NPTES*sizeof(iopte_t)), (int)IOMMU_NPTES); in sbus_iommu_init()
158 static void iommu_flush_iotlb(iopte_t *iopte, unsigned int niopte) in iommu_flush_iotlb()
164 end = PAGE_ALIGN(start + niopte*sizeof(iopte_t)); in iommu_flush_iotlb()
193 iopte_t *iopte, *iopte0; in __sbus_iommu_map_page()
318 iopte_t *iopte = iommu->page_table; in sbus_iommu_alloc()
319 iopte_t *first; in sbus_iommu_alloc()
399 iopte_t *iopte = iommu->page_table; in sbus_iommu_free()
Dio-unit.c44 iopte_t __iomem *xpt; in iounit_iommu_init()
45 iopte_t __iomem *xptend; in iounit_iommu_init()
70 xptend = iounit->page_table + (16 * PAGE_SIZE) / sizeof(iopte_t); in iounit_iommu_init()
101 iopte_t iopte; in iounit_get_area()
222 iopte_t __iomem *iopte; in iounit_alloc()
/linux-6.12.1/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.12.1/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.h69 typedef struct { unsigned long iopte; } iopte_t; typedef
83 #define __iopte(x) ((iopte_t) { (x) } )
92 typedef unsigned long iopte_t; typedef
Dio-unit.h47 iopte_t __iomem *page_table;
Diommu_64.h60 iopte_t *page_table;
Diommu_32.h104 iopte_t *page_table;