Home
last modified time | relevance | path

Searched refs:it_offset (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/arch/powerpc/kernel/
Diommu.c105 if (limit + tbl->it_offset > mask) { in iommu_range_alloc()
106 limit = mask - tbl->it_offset + 1; in iommu_range_alloc()
125 tbl->it_offset, boundary_size >> IOMMU_PAGE_SHIFT, in iommu_range_alloc()
180 entry += tbl->it_offset; /* Offset into real TCE table */ in iommu_alloc()
218 free_entry = entry - tbl->it_offset; in __iommu_free()
221 (entry < tbl->it_offset)) { in __iommu_free()
229 printk(KERN_INFO "\tstartOff = 0x%llx\n", (u64)tbl->it_offset); in __iommu_free()
321 entry += tbl->it_offset; in iommu_map_sg()
450 ppc_md.tce_free(tbl, tbl->it_offset, tbl->it_size); in iommu_table_clear()
460 tceval = ppc_md.tce_get(tbl, index + tbl->it_offset); in iommu_table_clear()
Ddma-iommu.c83 if ((tbl->it_offset + tbl->it_size) > (mask >> IOMMU_PAGE_SHIFT)) { in dma_iommu_dma_supported()
86 mask, (tbl->it_offset + tbl->it_size) << in dma_iommu_dma_supported()
Dvio.c1075 tbl->it_offset = offset >> IOMMU_PAGE_SHIFT; in vio_build_iommu_table()
/linux-2.6.39/arch/powerpc/platforms/iseries/
Diommu.c140 tbl->it_offset = parms->itc_offset; in iommu_table_getparms_iSeries()
167 (it->it_offset == tbl->it_offset) && in iommu_table_find()
238 vio_iommu_table.it_offset += veth_iommu_table.it_size; in iommu_vio_init()
/linux-2.6.39/arch/powerpc/platforms/pasemi/
Diommu.c97 bus_addr = (tbl->it_offset + index) << IOBMAP_PAGE_SHIFT; in iobmap_build()
123 bus_addr = (tbl->it_offset + index) << IOBMAP_PAGE_SHIFT; in iobmap_free()
140 iommu_table_iobmap.it_offset = 0; in iommu_table_iobmap_setup()
/linux-2.6.39/arch/powerpc/include/asm/
Diommu.h59 unsigned long it_offset; /* Offset into global table */ member
/linux-2.6.39/arch/powerpc/platforms/cell/
Diommu.c198 io_pte = (unsigned long *)tbl->it_base + (index - tbl->it_offset); in tce_build_cell()
232 io_pte = (unsigned long *)tbl->it_base + (index - tbl->it_offset); in tce_free_cell()
491 window->table.it_offset = (offset >> IOMMU_PAGE_SHIFT) + pte_offset; in cell_iommu_setup_window()
499 pr_debug("\toffset 0x%lx\n", window->table.it_offset); in cell_iommu_setup_window()
520 tce_build_cell(&window->table, window->table.it_offset, 1, in cell_iommu_setup_window()
/linux-2.6.39/arch/powerpc/sysdev/
Ddart_iommu.c281 iommu_table_dart.it_offset = 0; in iommu_table_dart_setup()
/linux-2.6.39/arch/powerpc/platforms/pseries/
Diommu.c448 tbl->it_offset = phb->dma_window_base_cur >> IOMMU_PAGE_SHIFT; in iommu_table_setparms()
484 tbl->it_offset = offset >> IOMMU_PAGE_SHIFT; in iommu_table_setparms_lpar()