Lines Matching refs:omap_iommu

39 	((struct omap_iommu *)platform_get_drvdata(to_platform_device(dev)))
59 struct omap_iommu *iommu_dev;
98 struct omap_iommu *obj = dev_to_omap_iommu(dev); in omap_iommu_save_ctx()
115 struct omap_iommu *obj = dev_to_omap_iommu(dev); in omap_iommu_restore_ctx()
126 static void __iommu_set_twl(struct omap_iommu *obj, bool on) in __iommu_set_twl()
144 static int omap2_iommu_enable(struct omap_iommu *obj) in omap2_iommu_enable()
169 static void omap2_iommu_disable(struct omap_iommu *obj) in omap2_iommu_disable()
179 static int iommu_enable(struct omap_iommu *obj) in iommu_enable()
200 static void iommu_disable(struct omap_iommu *obj) in iommu_disable()
244 static u32 iommu_report_fault(struct omap_iommu *obj, u32 *da) in iommu_report_fault()
263 static void iotlb_lock_get(struct omap_iommu *obj, struct iotlb_lock *l) in iotlb_lock_get()
274 static void iotlb_lock_set(struct omap_iommu *obj, struct iotlb_lock *l) in iotlb_lock_set()
284 static void iotlb_read_cr(struct omap_iommu *obj, struct cr_regs *cr) in iotlb_read_cr()
290 static void iotlb_load_cr(struct omap_iommu *obj, struct cr_regs *cr) in iotlb_load_cr()
300 static struct cr_regs __iotlb_read_cr(struct omap_iommu *obj, int n) in __iotlb_read_cr()
314 static struct cr_regs *iotlb_alloc_cr(struct omap_iommu *obj, in iotlb_alloc_cr()
343 static int load_iotlb_entry(struct omap_iommu *obj, struct iotlb_entry *e) in load_iotlb_entry()
402 static int load_iotlb_entry(struct omap_iommu *obj, struct iotlb_entry *e) in load_iotlb_entry()
409 static int prefetch_iotlb_entry(struct omap_iommu *obj, struct iotlb_entry *e) in prefetch_iotlb_entry()
421 static void flush_iotlb_page(struct omap_iommu *obj, u32 da) in flush_iotlb_page()
456 static void flush_iotlb_all(struct omap_iommu *obj) in flush_iotlb_all()
487 omap2_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t len) in omap2_iommu_dump_ctx()
511 ssize_t omap_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t bytes) in omap_iommu_dump_ctx()
526 __dump_tlb_entries(struct omap_iommu *obj, struct cr_regs *crs, int num) in __dump_tlb_entries()
554 static ssize_t iotlb_dump_cr(struct omap_iommu *obj, struct cr_regs *cr, in iotlb_dump_cr()
571 size_t omap_dump_tlb_entries(struct omap_iommu *obj, char *buf, ssize_t bytes) in omap_dump_tlb_entries()
624 static u32 *iopte_alloc(struct omap_iommu *obj, u32 *iopgd, u32 da) in iopte_alloc()
662 static int iopgd_alloc_section(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopgd_alloc_section()
677 static int iopgd_alloc_super(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopgd_alloc_super()
694 static int iopte_alloc_page(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopte_alloc_page()
711 static int iopte_alloc_large(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopte_alloc_large()
733 iopgtable_store_entry_core(struct omap_iommu *obj, struct iotlb_entry *e) in iopgtable_store_entry_core()
735 int (*fn)(struct omap_iommu *, u32, u32, u32); in iopgtable_store_entry_core()
776 omap_iopgtable_store_entry(struct omap_iommu *obj, struct iotlb_entry *e) in omap_iopgtable_store_entry()
795 iopgtable_lookup_entry(struct omap_iommu *obj, u32 da, u32 **ppgd, u32 **ppte) in iopgtable_lookup_entry()
810 static size_t iopgtable_clear_entry_core(struct omap_iommu *obj, u32 da) in iopgtable_clear_entry_core()
863 static size_t iopgtable_clear_entry(struct omap_iommu *obj, u32 da) in iopgtable_clear_entry()
877 static void iopgtable_clear_entry_all(struct omap_iommu *obj) in iopgtable_clear_entry_all()
912 struct omap_iommu *obj = data; in iommu_fault_handler()
947 struct omap_iommu *obj = to_iommu(dev); in device_match_by_alias()
960 static struct omap_iommu *omap_iommu_attach(const char *name, u32 *iopgd) in omap_iommu_attach()
964 struct omap_iommu *obj; in omap_iommu_attach()
996 static void omap_iommu_detach(struct omap_iommu *obj) in omap_iommu_detach()
1018 struct omap_iommu *obj; in omap_iommu_probe()
1075 struct omap_iommu *obj = platform_get_drvdata(pdev); in omap_iommu_remove()
1127 struct omap_iommu *oiommu = omap_domain->iommu_dev; in omap_iommu_map()
1154 struct omap_iommu *oiommu = omap_domain->iommu_dev; in omap_iommu_unmap()
1166 struct omap_iommu *oiommu; in omap_iommu_attach_dev()
1204 struct omap_iommu *oiommu = dev_to_omap_iommu(dev); in _omap_iommu_detach_dev()
1291 struct omap_iommu *oiommu = omap_domain->iommu_dev; in omap_iommu_iova_to_phys()