Lines Matching defs:sun50i_iommu
98 struct sun50i_iommu {
124 struct sun50i_iommu *iommu;
132 static struct sun50i_iommu *sun50i_iommu_from_dev(struct device *dev)
137 static u32 iommu_read(struct sun50i_iommu *iommu, u32 offset)
142 static void iommu_write(struct sun50i_iommu *iommu, u32 offset, u32 value)
293 struct sun50i_iommu *iommu = sun50i_domain->iommu;
300 static void sun50i_iommu_zap_iova(struct sun50i_iommu *iommu,
317 static void sun50i_iommu_zap_ptw_cache(struct sun50i_iommu *iommu,
333 static void sun50i_iommu_zap_range(struct sun50i_iommu *iommu,
356 static int sun50i_iommu_flush_all_tlb(struct sun50i_iommu *iommu)
386 struct sun50i_iommu *iommu = sun50i_domain->iommu;
409 struct sun50i_iommu *iommu = sun50i_domain->iommu;
423 static int sun50i_iommu_enable(struct sun50i_iommu *iommu)
505 static void sun50i_iommu_disable(struct sun50i_iommu *iommu)
520 static void *sun50i_iommu_alloc_page_table(struct sun50i_iommu *iommu,
543 static void sun50i_iommu_free_page_table(struct sun50i_iommu *iommu,
555 struct sun50i_iommu *iommu = sun50i_domain->iommu;
595 struct sun50i_iommu *iommu = sun50i_domain->iommu;
711 static int sun50i_iommu_attach_domain(struct sun50i_iommu *iommu,
727 static void sun50i_iommu_detach_domain(struct sun50i_iommu *iommu,
764 struct sun50i_iommu *iommu = dev_iommu_priv_get(dev);
779 struct sun50i_iommu *iommu;
802 struct sun50i_iommu *iommu;
813 struct sun50i_iommu *iommu = sun50i_iommu_from_dev(dev);
847 static void sun50i_iommu_report_fault(struct sun50i_iommu *iommu,
862 static phys_addr_t sun50i_iommu_handle_pt_irq(struct sun50i_iommu *iommu,
886 static phys_addr_t sun50i_iommu_handle_perm_irq(struct sun50i_iommu *iommu)
944 struct sun50i_iommu *iommu = dev_id;
981 struct sun50i_iommu *iommu;