Home
last modified time | relevance | path

Searched refs:iommu_ops (Results 1 – 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/iommu/
Diommu.c200 const struct iommu_ops *ops = dev->bus->iommu_ops; in __iommu_probe_device()
252 const struct iommu_ops *ops = dev->bus->iommu_ops; in iommu_probe_device()
299 const struct iommu_ops *ops = dev->bus->iommu_ops; in iommu_release_device()
1472 const struct iommu_ops *ops = dev->bus->iommu_ops; in iommu_get_def_domain_type()
1537 const struct iommu_ops *ops = dev->bus->iommu_ops; in iommu_group_get_for_dev()
1658 const struct iommu_ops *ops = dev->bus->iommu_ops; in probe_get_default_domain_type()
1793 static int iommu_bus_init(struct bus_type *bus, const struct iommu_ops *ops) in iommu_bus_init()
1839 int bus_set_iommu(struct bus_type *bus, const struct iommu_ops *ops) in bus_set_iommu()
1844 bus->iommu_ops = NULL; in bus_set_iommu()
1848 if (bus->iommu_ops != NULL) in bus_set_iommu()
[all …]
Dof_iommu.c93 const struct iommu_ops *ops; in of_iommu_xlate()
178 const struct iommu_ops *of_iommu_configure(struct device *dev, in of_iommu_configure()
182 const struct iommu_ops *ops = NULL; in of_iommu_configure()
Ds390-iommu.c22 static const struct iommu_ops s390_iommu_ops;
357 static const struct iommu_ops s390_iommu_ops = {
Dvirtio-iommu.c851 static struct iommu_ops viommu_ops;
934 static struct iommu_ops viommu_ops = {
1074 if (pci_bus_type.iommu_ops != &viommu_ops) { in viommu_probe()
1081 if (amba_bustype.iommu_ops != &viommu_ops) { in viommu_probe()
1087 if (platform_bus_type.iommu_ops != &viommu_ops) { in viommu_probe()
Dmtk_iommu_v1.c359 static const struct iommu_ops mtk_iommu_ops;
518 static const struct iommu_ops mtk_iommu_ops = {
DKconfig244 Enables bits of IOMMU API required by VFIO. The iommu_ops
333 Enables bits of IOMMU API required by VFIO. The iommu_ops
341 Enables bits of IOMMU API required by VFIO. The iommu_ops
Dtegra-gart.c275 static const struct iommu_ops gart_iommu_ops = {
Dmtk_iommu.c133 static const struct iommu_ops mtk_iommu_ops;
534 static const struct iommu_ops mtk_iommu_ops = {
Dmsm_iommu.c39 static struct iommu_ops msm_iommu_ops;
678 static struct iommu_ops msm_iommu_ops = {
Dtegra-smmu.c821 const struct iommu_ops *ops = smmu->iommu.ops; in tegra_smmu_configure()
974 static const struct iommu_ops tegra_smmu_ops = {
/kernel/linux/linux-5.10/include/linux/
Diommu.h35 struct iommu_ops;
84 const struct iommu_ops *ops;
233 struct iommu_ops { struct
316 const struct iommu_ops *ops; argument
379 const struct iommu_ops *ops) in __iommu_device_set_ops()
386 struct iommu_ops *__ops = (struct iommu_ops *)(ops); \
416 extern int bus_set_iommu(struct bus_type *bus, const struct iommu_ops *ops);
577 const struct iommu_ops *ops;
596 const struct iommu_ops *ops);
599 const struct iommu_ops *iommu_ops_from_fwnode(struct fwnode_handle *fwnode);
[all …]
Dof_iommu.h15 extern const struct iommu_ops *of_iommu_configure(struct device *dev,
28 static inline const struct iommu_ops *of_iommu_configure(struct device *dev, in of_iommu_configure()
Dacpi_iort.h38 const struct iommu_ops *iort_iommu_configure_id(struct device *dev,
53 static inline const struct iommu_ops *iort_iommu_configure_id( in iort_iommu_configure_id()
Ddma-map-ops.h319 const struct iommu_ops *iommu, bool coherent);
322 u64 size, const struct iommu_ops *iommu, bool coherent) in arch_setup_dma_ops()
/kernel/linux/linux-5.10/include/linux/device/
Dbus.h109 const struct iommu_ops *iommu_ops; member
/kernel/linux/linux-5.10/arch/arc/mm/
Ddma.c94 const struct iommu_ops *iommu, bool coherent) in arch_setup_dma_ops()
/kernel/linux/linux-5.10/arch/arm64/mm/
Ddma-mapping.c41 const struct iommu_ops *iommu, bool coherent) in arch_setup_dma_ops()
/kernel/linux/linux-5.10/arch/mips/mm/
Ddma-noncoherent.c141 const struct iommu_ops *iommu, bool coherent) in arch_setup_dma_ops()
/kernel/linux/linux-5.10/drivers/acpi/arm64/
Diort.c809 static inline const struct iommu_ops *iort_fwspec_iommu_ops(struct device *dev) in iort_fwspec_iommu_ops()
905 const struct iommu_ops *ops) in arm_smmu_iort_xlate()
926 const struct iommu_ops *ops; in iort_iommu_xlate()
1025 const struct iommu_ops *iort_iommu_configure_id(struct device *dev, in iort_iommu_configure_id()
1029 const struct iommu_ops *ops; in iort_iommu_configure_id()
1093 const struct iommu_ops *iort_iommu_configure_id(struct device *dev, in iort_iommu_configure_id()
/kernel/linux/linux-5.10/arch/arm/mm/
Ddma-mapping-nommu.c195 const struct iommu_ops *iommu, bool coherent) in arch_setup_dma_ops()
Ddma-mapping.c1983 static const struct dma_map_ops iommu_ops = { variable
2171 set_dma_ops(dev, &iommu_ops); in arm_iommu_attach_device()
2204 return coherent ? &iommu_coherent_ops : &iommu_ops; in arm_get_iommu_dma_map_ops()
2208 const struct iommu_ops *iommu) in arm_setup_iommu_dma_ops()
2246 const struct iommu_ops *iommu) in arm_setup_iommu_dma_ops()
2258 const struct iommu_ops *iommu, bool coherent) in arch_setup_dma_ops()
/kernel/linux/linux-5.10/drivers/of/
Ddevice.c94 const struct iommu_ops *iommu; in of_dma_configure_id()
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c82 static const struct iommu_ops qcom_iommu_ops;
608 static const struct iommu_ops qcom_iommu_ops = {
Darm-smmu.c94 static struct iommu_ops arm_smmu_ops;
97 static int arm_smmu_bus_init(struct iommu_ops *ops);
1618 static struct iommu_ops arm_smmu_ops = {
2056 static int arm_smmu_bus_init(struct iommu_ops *ops) in arm_smmu_bus_init()
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c2310 static struct iommu_ops arm_smmu_ops;
2571 static struct iommu_ops arm_smmu_ops = {
3437 static int arm_smmu_set_bus_ops(struct iommu_ops *ops) in arm_smmu_set_bus_ops()
3442 if (pci_bus_type.iommu_ops != ops) { in arm_smmu_set_bus_ops()
3449 if (amba_bustype.iommu_ops != ops) { in arm_smmu_set_bus_ops()
3455 if (platform_bus_type.iommu_ops != ops) { in arm_smmu_set_bus_ops()

12