Lines Matching refs:sprd_iommu_device
65 struct sprd_iommu_device { struct
81 struct sprd_iommu_device *sdev; argument
92 sprd_iommu_write(struct sprd_iommu_device *sdev, unsigned int reg, u32 val) in sprd_iommu_write()
98 sprd_iommu_read(struct sprd_iommu_device *sdev, unsigned int reg) in sprd_iommu_read()
104 sprd_iommu_update_bits(struct sprd_iommu_device *sdev, unsigned int reg, in sprd_iommu_update_bits()
114 sprd_iommu_get_version(struct sprd_iommu_device *sdev) in sprd_iommu_get_version()
155 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_first_vpn()
170 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_vpn_range()
187 struct sprd_iommu_device *sdev = dom->sdev; in sprd_iommu_first_ppn()
198 static void sprd_iommu_default_ppn(struct sprd_iommu_device *sdev) in sprd_iommu_default_ppn()
210 static void sprd_iommu_hw_en(struct sprd_iommu_device *sdev, bool en) in sprd_iommu_hw_en()
250 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_attach_device()
388 struct sprd_iommu_device *sdev = dev_iommu_priv_get(dev); in sprd_iommu_probe_device()
437 static int sprd_iommu_clk_enable(struct sprd_iommu_device *sdev) in sprd_iommu_clk_enable()
452 static void sprd_iommu_clk_disable(struct sprd_iommu_device *sdev) in sprd_iommu_clk_disable()
460 struct sprd_iommu_device *sdev; in sprd_iommu_probe()
518 struct sprd_iommu_device *sdev = platform_get_drvdata(pdev); in sprd_iommu_remove()