Searched refs:table_map_base (Results 1 – 4 of 4) sorted by relevance
105 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()477 base_shift = iommu->tbl.table_map_base >> IO_PAGE_SHIFT; in dma_4u_map_sg()505 dma_addr = iommu->tbl.table_map_base + in dma_4u_map_sg()566 entry = (vaddr - iommu->tbl.table_map_base) in dma_4u_map_sg()601 ((bus_addr - tbl->table_map_base) >> IO_PAGE_SHIFT); in fetch_sg_ctx()638 entry = ((dma_handle - iommu->tbl.table_map_base) in dma_4u_unmap_sg()688 ((bus_addr - tbl->table_map_base)>>IO_PAGE_SHIFT); in dma_4u_sync_single_for_cpu()[all …]
224 *dma_addrp = (tbl->table_map_base + (entry << IO_PAGE_SHIFT)); in dma_4v_alloc_coherent()345 entry = ((dvma - tbl->table_map_base) >> IO_PAGE_SHIFT); in dma_4v_free_coherent()390 bus_addr = (tbl->table_map_base + (entry << IO_PAGE_SHIFT)); in dma_4v_map_page()462 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()665 entry = ((dma_handle - tbl->table_map_base) >> shift); in dma_4v_unmap_sg()853 atu->tbl.table_map_base = atu->base; in pci_sun4v_atu_init()893 iommu->tbl.table_map_base = dma_offset; in pci_sun4v_iommu_init()
152 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()
21 unsigned long table_map_base; member