Searched refs:it_offset (Results 1 – 9 of 9) sorted by relevance
/linux-2.6.39/arch/powerpc/kernel/ |
D | iommu.c | 105 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()
|
D | dma-iommu.c | 83 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()
|
D | vio.c | 1075 tbl->it_offset = offset >> IOMMU_PAGE_SHIFT; in vio_build_iommu_table()
|
/linux-2.6.39/arch/powerpc/platforms/iseries/ |
D | iommu.c | 140 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/ |
D | iommu.c | 97 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/ |
D | iommu.h | 59 unsigned long it_offset; /* Offset into global table */ member
|
/linux-2.6.39/arch/powerpc/platforms/cell/ |
D | iommu.c | 198 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/ |
D | dart_iommu.c | 281 iommu_table_dart.it_offset = 0; in iommu_table_dart_setup()
|
/linux-2.6.39/arch/powerpc/platforms/pseries/ |
D | iommu.c | 448 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()
|