Home
last modified time | relevance | path

Searched refs:table_map_base (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/arch/sparc/kernel/
Diommu.c105 iommu->tbl.table_map_base = dma_offset; in iommu_table_init()
230 *dma_addrp = (iommu->tbl.table_map_base + in dma_4u_alloc_coherent()
296 bus_addr = (iommu->tbl.table_map_base + in dma_4u_map_page()
407 ((bus_addr - iommu->tbl.table_map_base) >> IO_PAGE_SHIFT); in dma_4u_unmap_page()
476 base_shift = iommu->tbl.table_map_base >> IO_PAGE_SHIFT; in dma_4u_map_sg()
504 dma_addr = iommu->tbl.table_map_base + in dma_4u_map_sg()
564 entry = (vaddr - iommu->tbl.table_map_base) in dma_4u_map_sg()
598 ((bus_addr - tbl->table_map_base) >> IO_PAGE_SHIFT); in fetch_sg_ctx()
635 entry = ((dma_handle - iommu->tbl.table_map_base) in dma_4u_unmap_sg()
685 ((bus_addr - tbl->table_map_base)>>IO_PAGE_SHIFT); in dma_4u_sync_single_for_cpu()
[all …]
Dpci_sun4v.c225 *dma_addrp = (tbl->table_map_base + (entry << IO_PAGE_SHIFT)); in dma_4v_alloc_coherent()
346 entry = ((dvma - tbl->table_map_base) >> IO_PAGE_SHIFT); in dma_4v_free_coherent()
391 bus_addr = (tbl->table_map_base + (entry << IO_PAGE_SHIFT)); in dma_4v_map_page()
463 entry = (bus_addr - tbl->table_map_base) >> IO_PAGE_SHIFT; in dma_4v_unmap_page()
520 base_shift = tbl->table_map_base >> IO_PAGE_SHIFT; in dma_4v_map_sg()
547 dma_addr = tbl->table_map_base + (entry << IO_PAGE_SHIFT); in dma_4v_map_sg()
663 entry = ((dma_handle - tbl->table_map_base) >> shift); in dma_4v_unmap_sg()
851 atu->tbl.table_map_base = atu->base; in pci_sun4v_atu_init()
891 iommu->tbl.table_map_base = dma_offset; in pci_sun4v_iommu_init()
Diommu-common.c152 shift = iommu->table_map_base >> iommu->table_shift; in iommu_tbl_range_alloc()
254 entry = (dma_addr - iommu->table_map_base) >> shift; in iommu_tbl_range_free()
/linux-6.1.9/arch/sparc/include/asm/
Diommu-common.h21 unsigned long table_map_base; member