Searched refs:it_offset (Results 1 – 10 of 10) sorted by relevance
/arch/powerpc/kernel/ |
D | iommu.c | 106 if (limit + tbl->it_offset > mask) { in iommu_range_alloc() 107 limit = mask - tbl->it_offset + 1; in iommu_range_alloc() 126 tbl->it_offset, boundary_size >> IOMMU_PAGE_SHIFT, in iommu_range_alloc() 181 entry += tbl->it_offset; /* Offset into real TCE table */ in iommu_alloc() 219 free_entry = entry - tbl->it_offset; in __iommu_free() 222 (entry < tbl->it_offset)) { in __iommu_free() 230 printk(KERN_INFO "\tstartOff = 0x%llx\n", (u64)tbl->it_offset); in __iommu_free() 322 entry += tbl->it_offset; in iommu_map_sg() 456 ppc_md.tce_free(tbl, tbl->it_offset, tbl->it_size); in iommu_table_clear() 466 tceval = ppc_md.tce_get(tbl, index + tbl->it_offset); in iommu_table_clear() [all …]
|
D | dma-iommu.c | 86 if ((tbl->it_offset + tbl->it_size) > (mask >> IOMMU_PAGE_SHIFT)) { in dma_iommu_dma_supported() 89 mask, (tbl->it_offset + tbl->it_size) << in dma_iommu_dma_supported() 103 mask = 1ULL < (fls_long(tbl->it_offset + tbl->it_size) - 1); in dma_iommu_get_required_mask()
|
D | vio.c | 1074 tbl->it_offset = offset >> IOMMU_PAGE_SHIFT; in vio_build_iommu_table()
|
/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()
|
/arch/powerpc/include/asm/ |
D | iommu.h | 59 unsigned long it_offset; /* Offset into global table */ member
|
/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() 490 window->table.it_offset = (offset >> IOMMU_PAGE_SHIFT) + pte_offset; in cell_iommu_setup_window() 498 pr_debug("\toffset 0x%lx\n", window->table.it_offset); in cell_iommu_setup_window() 519 tce_build_cell(&window->table, window->table.it_offset, 1, in cell_iommu_setup_window()
|
/arch/powerpc/platforms/powernv/ |
D | pci.c | 421 tces = tcep = ((u64 *)tbl->it_base) + index - tbl->it_offset; in pnv_tce_build() 441 tces = tcep = ((u64 *)tbl->it_base) + index - tbl->it_offset; in pnv_tce_free() 456 tbl->it_offset = dma_offset >> IOMMU_PAGE_SHIFT; in pnv_pci_setup_iommu_table()
|
/arch/powerpc/platforms/wsp/ |
D | wsp_pci.c | 263 tcep, *tcep, (tbl->it_offset + index) << IOMMU_PAGE_SHIFT); in tce_build_wsp() 384 tbl->table.it_offset = addr >> IOMMU_PAGE_SHIFT; in wsp_pci_create_dma32_table() 452 table->table.it_offset << IOMMU_PAGE_SHIFT, in wsp_pci_dma_dev_setup() 453 (table->table.it_offset << IOMMU_PAGE_SHIFT) in wsp_pci_dma_dev_setup()
|
/arch/powerpc/sysdev/ |
D | dart_iommu.c | 281 iommu_table_dart.it_offset = 0; in iommu_table_dart_setup()
|
/arch/powerpc/platforms/pseries/ |
D | iommu.c | 484 tbl->it_offset = phb->dma_window_base_cur >> IOMMU_PAGE_SHIFT; in iommu_table_setparms() 536 tbl->it_offset = offset >> IOMMU_PAGE_SHIFT; in iommu_table_setparms_lpar()
|