Lines Matching defs:table
81 /* Segment table entries */
106 struct iommu_table table;
161 container_of(tbl, struct iommu_window, table);
206 container_of(tbl, struct iommu_window, table);
308 /* set up the segment table */
341 /* number of 4K pages needed for a page table */
406 /* set the IOC segment table origin register (and turn on the iommu) */
480 window->table.it_blocksize = 16;
481 window->table.it_base = (unsigned long)iommu->ptab;
482 window->table.it_index = iommu->nid;
483 window->table.it_page_shift = IOMMU_PAGE_SHIFT_4K;
484 window->table.it_offset =
485 (offset >> window->table.it_page_shift) + pte_offset;
486 window->table.it_size = size >> window->table.it_page_shift;
487 window->table.it_ops = &cell_iommu_ops;
489 iommu_init_table(&window->table, iommu->nid, 0, 0);
492 pr_debug("\tblocksize %ld\n", window->table.it_blocksize);
493 pr_debug("\tbase 0x%016lx\n", window->table.it_base);
494 pr_debug("\toffset 0x%lx\n", window->table.it_offset);
495 pr_debug("\tsize %ld\n", window->table.it_size);
514 __set_bit(0, window->table.it_map);
515 tce_build_cell(&window->table, window->table.it_offset, 1,
556 return &window->table;
787 * table, this region does not need to be part of the fixed mapping as no
955 * table sits, drivers never need to DMA to it, we don't