Lines Matching refs:ppc_md
325 build_fail = ppc_md.tce_build(tbl, entry, npages, in iommu_alloc()
340 if (ppc_md.tce_flush) in iommu_alloc()
341 ppc_md.tce_flush(tbl); in iommu_alloc()
411 ppc_md.tce_free(tbl, entry, npages); in __iommu_free()
427 if (ppc_md.tce_flush) in iommu_free()
428 ppc_md.tce_flush(tbl); in iommu_free()
498 build_fail = ppc_md.tce_build(tbl, entry, npages, in ppc_iommu_map_sg()
537 if (ppc_md.tce_flush) in ppc_iommu_map_sg()
538 ppc_md.tce_flush(tbl); in ppc_iommu_map_sg()
603 if (ppc_md.tce_flush) in ppc_iommu_unmap_sg()
604 ppc_md.tce_flush(tbl); in ppc_iommu_unmap_sg()
616 ppc_md.tce_free(tbl, tbl->it_offset, tbl->it_size); in iommu_table_clear()
621 if (ppc_md.tce_get) { in iommu_table_clear()
626 tceval = ppc_md.tce_get(tbl, index + tbl->it_offset); in iommu_table_clear()
922 if (ppc_md.tce_flush) in iommu_flush_tce()
923 ppc_md.tce_flush(tbl); in iommu_flush_tce()
982 oldtce = ppc_md.tce_get(tbl, entry); in iommu_clear_tce()
984 ppc_md.tce_free(tbl, entry, 1); in iommu_clear_tce()
1031 oldtce = ppc_md.tce_get(tbl, entry); in iommu_tce_build()
1034 ret = ppc_md.tce_build(tbl, entry, 1, hwaddr, direction, NULL); in iommu_tce_build()