Home
last modified time | relevance | path

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

/Linux-v4.19/arch/sparc/kernel/
Diommu.c105 iommu->tbl.table_map_base = dma_offset; in iommu_table_init()
231 *dma_addrp = (iommu->tbl.table_map_base + in dma_4u_alloc_coherent()
297 bus_addr = (iommu->tbl.table_map_base + in dma_4u_map_page()
408 ((bus_addr - iommu->tbl.table_map_base) >> IO_PAGE_SHIFT); in dma_4u_unmap_page()
478 base_shift = iommu->tbl.table_map_base >> IO_PAGE_SHIFT; in dma_4u_map_sg()
506 dma_addr = iommu->tbl.table_map_base + in dma_4u_map_sg()
567 entry = (vaddr - iommu->tbl.table_map_base) in dma_4u_map_sg()
602 ((bus_addr - tbl->table_map_base) >> IO_PAGE_SHIFT); in fetch_sg_ctx()
639 entry = ((dma_handle - iommu->tbl.table_map_base) in dma_4u_unmap_sg()
689 ((bus_addr - tbl->table_map_base)>>IO_PAGE_SHIFT); in dma_4u_sync_single_for_cpu()
[all …]
Dpci_sun4v.c222 *dma_addrp = (tbl->table_map_base + (entry << IO_PAGE_SHIFT)); in dma_4v_alloc_coherent()
343 entry = ((dvma - tbl->table_map_base) >> IO_PAGE_SHIFT); in dma_4v_free_coherent()
388 bus_addr = (tbl->table_map_base + (entry << IO_PAGE_SHIFT)); in dma_4v_map_page()
460 entry = (bus_addr - tbl->table_map_base) >> IO_PAGE_SHIFT; in dma_4v_unmap_page()
518 base_shift = tbl->table_map_base >> IO_PAGE_SHIFT; in dma_4v_map_sg()
545 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()
863 atu->tbl.table_map_base = atu->base; in pci_sun4v_atu_init()
903 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()
258 entry = (dma_addr - iommu->table_map_base) >> shift; in iommu_tbl_range_free()
/Linux-v4.19/arch/sparc/include/asm/
Diommu-common.h21 unsigned long table_map_base; member