Lines Matching refs:device
13 #include <linux/device.h>
99 struct device *dev;
119 static int mtk_iommu_v1_bind(struct device *dev)
126 static void mtk_iommu_v1_unbind(struct device *dev)
233 struct device *dev, bool enable)
297 static int mtk_iommu_v1_attach_device(struct iommu_domain *domain, struct device *dev)
322 static void mtk_iommu_v1_set_platform_dma(struct device *dev)
393 static int mtk_iommu_v1_create_mapping(struct device *dev, struct of_phandle_args *args)
417 /* Get the m4u device */
444 static int mtk_iommu_v1_def_domain_type(struct device *dev)
449 static struct iommu_device *mtk_iommu_v1_probe_device(struct device *dev)
456 struct device *larbdev;
482 return ERR_PTR(-ENODEV); /* Not a iommu client device */
486 /* Link the consumer device with the smi-larb device(supplier) */
512 static void mtk_iommu_v1_probe_finalize(struct device *dev)
526 static void mtk_iommu_v1_release_device(struct device *dev)
530 struct device *larbdev;
611 struct device *dev = &pdev->dev;
718 static int __maybe_unused mtk_iommu_v1_suspend(struct device *dev)
732 static int __maybe_unused mtk_iommu_v1_resume(struct device *dev)