Home
last modified time | relevance | path

Searched refs:it_ops (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/arch/powerpc/kernel/
Diommu.c312 build_fail = tbl->it_ops->set(tbl, entry, npages, in iommu_alloc()
327 if (tbl->it_ops->flush) in iommu_alloc()
328 tbl->it_ops->flush(tbl); in iommu_alloc()
398 tbl->it_ops->clear(tbl, entry, npages); in __iommu_free()
414 if (tbl->it_ops->flush) in iommu_free()
415 tbl->it_ops->flush(tbl); in iommu_free()
486 build_fail = tbl->it_ops->set(tbl, entry, npages, in ppc_iommu_map_sg()
525 if (tbl->it_ops->flush) in ppc_iommu_map_sg()
526 tbl->it_ops->flush(tbl); in ppc_iommu_map_sg()
591 if (tbl->it_ops->flush) in ppc_iommu_unmap_sg()
[all …]
/Linux-v5.4/arch/powerpc/include/asm/
Diommu.h112 struct iommu_table_ops *it_ops; member
120 ((tbl)->it_ops->useraddrptr((tbl), (entry), false))
122 ((tbl)->it_ops->useraddrptr((tbl), (entry), true))
/Linux-v5.4/arch/powerpc/kvm/
Dbook3s_64_vio_hv.c228 ret = tbl->it_ops->xchg_no_kill(tbl, entry, hpa, direction, true); in iommu_tce_xchg_no_kill_rm()
247 if (tbl->it_ops->tce_kill) in iommu_tce_kill_rm()
248 tbl->it_ops->tce_kill(tbl, entry, pages, true); in iommu_tce_kill_rm()
/Linux-v5.4/arch/powerpc/platforms/pasemi/
Diommu.c148 iommu_table_iobmap.it_ops = &iommu_table_iobmap_ops; in iommu_table_iobmap_setup()
/Linux-v5.4/arch/powerpc/platforms/pseries/
Diommu.c612 tbl->it_ops = &iommu_table_pseries_ops; in pci_dma_bus_setup_pSeries()
694 tbl->it_ops = &iommu_table_lpar_multi_ops; in pci_dma_bus_setup_pSeriesLP()
723 tbl->it_ops = &iommu_table_pseries_ops; in pci_dma_dev_setup_pSeries()
1173 tbl->it_ops = &iommu_table_lpar_multi_ops; in pci_dma_dev_setup_pSeriesLP()
Dvio.c1192 tbl->it_ops = &iommu_table_lpar_multi_ops; in vio_build_iommu_table()
1194 tbl->it_ops = &iommu_table_pseries_ops; in vio_build_iommu_table()
/Linux-v5.4/arch/powerpc/sysdev/
Ddart_iommu.c346 iommu_table_dart.it_ops = &iommu_dart_ops; in iommu_table_dart_setup()
/Linux-v5.4/drivers/vfio/
Dvfio_iommu_spapr_tce.c628 WARN_ON(!ret && !(*ptbl)->it_ops->free); in tce_iommu_create_table()
677 BUG_ON(!tbl->it_ops->free); in tce_iommu_create_window()
/Linux-v5.4/arch/powerpc/platforms/cell/
Diommu.c487 window->table.it_ops = &cell_iommu_ops; in cell_iommu_setup_window()
/Linux-v5.4/arch/powerpc/platforms/powernv/
Dpci-ioda.c2265 tbl->it_ops = &pnv_ioda1_iommu_ops; in pnv_pci_ioda1_setup_dma_pe()
2366 tbl->it_ops = &pnv_ioda2_iommu_ops; in pnv_pci_ioda2_create_table()