Lines Matching refs:omap_iommu
37 #define to_iommu(dev) ((struct omap_iommu *)dev_get_drvdata(dev))
74 struct omap_iommu *obj; in omap_iommu_save_ctx()
104 struct omap_iommu *obj; in omap_iommu_restore_ctx()
124 static void dra7_cfg_dspsys_mmu(struct omap_iommu *obj, bool enable) in dra7_cfg_dspsys_mmu()
136 static void __iommu_set_twl(struct omap_iommu *obj, bool on) in __iommu_set_twl()
154 static int omap2_iommu_enable(struct omap_iommu *obj) in omap2_iommu_enable()
181 static void omap2_iommu_disable(struct omap_iommu *obj) in omap2_iommu_disable()
192 static int iommu_enable(struct omap_iommu *obj) in iommu_enable()
203 static void iommu_disable(struct omap_iommu *obj) in iommu_disable()
231 static u32 iommu_report_fault(struct omap_iommu *obj, u32 *da) in iommu_report_fault()
250 void iotlb_lock_get(struct omap_iommu *obj, struct iotlb_lock *l) in iotlb_lock_get()
260 void iotlb_lock_set(struct omap_iommu *obj, struct iotlb_lock *l) in iotlb_lock_set()
270 static void iotlb_read_cr(struct omap_iommu *obj, struct cr_regs *cr) in iotlb_read_cr()
276 static void iotlb_load_cr(struct omap_iommu *obj, struct cr_regs *cr) in iotlb_load_cr()
286 struct cr_regs __iotlb_read_cr(struct omap_iommu *obj, int n) in __iotlb_read_cr()
300 static struct cr_regs *iotlb_alloc_cr(struct omap_iommu *obj, in iotlb_alloc_cr()
329 static int load_iotlb_entry(struct omap_iommu *obj, struct iotlb_entry *e) in load_iotlb_entry()
388 static int load_iotlb_entry(struct omap_iommu *obj, struct iotlb_entry *e) in load_iotlb_entry()
395 static int prefetch_iotlb_entry(struct omap_iommu *obj, struct iotlb_entry *e) in prefetch_iotlb_entry()
407 static void flush_iotlb_page(struct omap_iommu *obj, u32 da) in flush_iotlb_page()
442 static void flush_iotlb_all(struct omap_iommu *obj) in flush_iotlb_all()
468 static void iopte_free(struct omap_iommu *obj, u32 *iopte, bool dma_valid) in iopte_free()
484 static u32 *iopte_alloc(struct omap_iommu *obj, u32 *iopgd, in iopte_alloc()
544 static int iopgd_alloc_section(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopgd_alloc_section()
560 static int iopgd_alloc_super(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopgd_alloc_super()
578 static int iopte_alloc_page(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopte_alloc_page()
597 static int iopte_alloc_large(struct omap_iommu *obj, u32 da, u32 pa, u32 prot) in iopte_alloc_large()
621 iopgtable_store_entry_core(struct omap_iommu *obj, struct iotlb_entry *e) in iopgtable_store_entry_core()
623 int (*fn)(struct omap_iommu *, u32, u32, u32); in iopgtable_store_entry_core()
666 omap_iopgtable_store_entry(struct omap_iommu *obj, struct iotlb_entry *e) in omap_iopgtable_store_entry()
685 iopgtable_lookup_entry(struct omap_iommu *obj, u32 da, u32 **ppgd, u32 **ppte) in iopgtable_lookup_entry()
700 static size_t iopgtable_clear_entry_core(struct omap_iommu *obj, u32 da) in iopgtable_clear_entry_core()
757 static size_t iopgtable_clear_entry(struct omap_iommu *obj, u32 da) in iopgtable_clear_entry()
771 static void iopgtable_clear_entry_all(struct omap_iommu *obj) in iopgtable_clear_entry_all()
808 struct omap_iommu *obj = data; in iommu_fault_handler()
846 static int omap_iommu_attach(struct omap_iommu *obj, u32 *iopgd) in omap_iommu_attach()
882 static void omap_iommu_detach(struct omap_iommu *obj) in omap_iommu_detach()
900 static void omap_iommu_save_tlb_entries(struct omap_iommu *obj) in omap_iommu_save_tlb_entries()
918 static void omap_iommu_restore_tlb_entries(struct omap_iommu *obj) in omap_iommu_restore_tlb_entries()
953 struct omap_iommu *oiommu; in omap_iommu_domain_deactivate()
982 struct omap_iommu *oiommu; in omap_iommu_domain_activate()
1014 struct omap_iommu *obj = to_iommu(dev); in omap_iommu_runtime_suspend()
1056 struct omap_iommu *obj = to_iommu(dev); in omap_iommu_runtime_resume()
1123 struct omap_iommu *obj) in omap_iommu_dra7_get_dsp_system_cfg()
1165 struct omap_iommu *obj; in omap_iommu_probe()
1257 struct omap_iommu *obj = platform_get_drvdata(pdev); in omap_iommu_remove()
1319 struct omap_iommu *oiommu; in omap_iommu_map()
1365 struct omap_iommu *oiommu; in omap_iommu_unmap()
1455 struct omap_iommu *oiommu; in omap_iommu_attach_dev()
1519 struct omap_iommu *oiommu; in _omap_iommu_detach_dev()
1614 struct omap_iommu *oiommu = iommu->iommu_dev; in omap_iommu_iova_to_phys()
1650 struct omap_iommu *oiommu; in omap_iommu_probe_device()