Lines Matching refs:iommu_table

174 static void calgary_handle_quirks(struct iommu_table *tbl, struct pci_dev *dev);
175 static void calgary_tce_cache_blast(struct iommu_table *tbl);
176 static void calgary_dump_error_regs(struct iommu_table *tbl);
177 static void calioc2_handle_quirks(struct iommu_table *tbl, struct pci_dev *dev);
178 static void calioc2_tce_cache_blast(struct iommu_table *tbl);
179 static void calioc2_dump_error_regs(struct iommu_table *tbl);
180 static void calgary_init_bitmap_from_tce_table(struct iommu_table *tbl);
197 static inline int translation_enabled(struct iommu_table *tbl) in translation_enabled()
203 static void iommu_range_reserve(struct iommu_table *tbl, in iommu_range_reserve()
228 struct iommu_table *tbl, in iommu_range_alloc()
267 static dma_addr_t iommu_alloc(struct device *dev, struct iommu_table *tbl, in iommu_alloc()
290 static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, in iommu_free()
318 static inline struct iommu_table *find_iommu_table(struct device *dev) in find_iommu_table()
322 struct iommu_table *tbl; in find_iommu_table()
345 struct iommu_table *tbl = find_iommu_table(dev); in calgary_unmap_sg()
369 struct iommu_table *tbl = find_iommu_table(dev); in calgary_map_sg()
415 struct iommu_table *tbl = find_iommu_table(dev); in calgary_map_page()
427 struct iommu_table *tbl = find_iommu_table(dev); in calgary_unmap_page()
440 struct iommu_table *tbl = find_iommu_table(dev); in calgary_alloc_coherent()
472 struct iommu_table *tbl = find_iommu_table(dev); in calgary_free_coherent()
542 static void calgary_tce_cache_blast(struct iommu_table *tbl) in calgary_tce_cache_blast()
578 static void calioc2_tce_cache_blast(struct iommu_table *tbl) in calioc2_tce_cache_blast()
672 struct iommu_table *tbl = pci_iommu(dev->bus); in calgary_reserve_peripheral_mem_1()
696 struct iommu_table *tbl = pci_iommu(dev->bus); in calgary_reserve_peripheral_mem_2()
732 struct iommu_table *tbl = pci_iommu(dev->bus); in calgary_reserve_regions()
759 struct iommu_table *tbl; in calgary_setup_tar()
807 struct iommu_table *tbl = pci_iommu(dev->bus); in calgary_free_bus()
829 static void calgary_dump_error_regs(struct iommu_table *tbl) in calgary_dump_error_regs()
846 static void calioc2_dump_error_regs(struct iommu_table *tbl) in calioc2_dump_error_regs()
895 struct iommu_table *tbl = pci_iommu(dev->bus); in calgary_watchdog()
955 static void __init calioc2_handle_quirks(struct iommu_table *tbl, struct pci_dev *dev) in calioc2_handle_quirks()
971 static void __init calgary_handle_quirks(struct iommu_table *tbl, struct pci_dev *dev) in calgary_handle_quirks()
990 struct iommu_table *tbl; in calgary_enable_translation()
1022 struct iommu_table *tbl; in calgary_disable_translation()
1055 struct iommu_table *tbl; in calgary_init_one()
1175 struct iommu_table *tbl; in calgary_init()
1307 static void calgary_init_bitmap_from_tce_table(struct iommu_table *tbl) in calgary_init_bitmap_from_tce_table()
1545 struct iommu_table *tbl; in calgary_fixup_one_tce_space()