Lines Matching defs:sprd_iommu_device
52 * struct sprd_iommu_device - high-level sprd IOMMU device representation,
65 struct sprd_iommu_device {
82 struct sprd_iommu_device *sdev;
93 sprd_iommu_write(struct sprd_iommu_device *sdev, unsigned int reg, u32 val)
99 sprd_iommu_read(struct sprd_iommu_device *sdev, unsigned int reg)
105 sprd_iommu_update_bits(struct sprd_iommu_device *sdev, unsigned int reg,
115 sprd_iommu_get_version(struct sprd_iommu_device *sdev)
159 struct sprd_iommu_device *sdev = dom->sdev;
174 struct sprd_iommu_device *sdev = dom->sdev;
191 struct sprd_iommu_device *sdev = dom->sdev;
202 static void sprd_iommu_default_ppn(struct sprd_iommu_device *sdev)
214 static void sprd_iommu_hw_en(struct sprd_iommu_device *sdev, bool en)
254 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev);
302 pr_err("No sprd_iommu_device attached to the domain\n");
392 struct sprd_iommu_device *sdev;
404 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev);
452 static int sprd_iommu_clk_enable(struct sprd_iommu_device *sdev)
467 static void sprd_iommu_clk_disable(struct sprd_iommu_device *sdev)
475 struct sprd_iommu_device *sdev;
542 struct sprd_iommu_device *sdev = platform_get_drvdata(pdev);