Searched refs:omap_iommu (Results 1 – 3 of 3) sorted by relevance
/drivers/iommu/ |
D | omap-iommu.c | 40 ((struct omap_iommu *)platform_get_drvdata(to_platform_device(dev))) 55 struct omap_iommu *iommu_dev; 89 struct omap_iommu *obj = dev_to_omap_iommu(dev); in omap_iommu_save_ctx() 106 struct omap_iommu *obj = dev_to_omap_iommu(dev); in omap_iommu_restore_ctx() 117 static void dra7_cfg_dspsys_mmu(struct omap_iommu *obj, bool enable) in dra7_cfg_dspsys_mmu() 129 static void __iommu_set_twl(struct omap_iommu *obj, bool on) in __iommu_set_twl() 147 static int omap2_iommu_enable(struct omap_iommu *obj) in omap2_iommu_enable() 174 static void omap2_iommu_disable(struct omap_iommu *obj) in omap2_iommu_disable() 185 static int iommu_enable(struct omap_iommu *obj) in iommu_enable() 206 static void iommu_disable(struct omap_iommu *obj) in iommu_disable() [all …]
|
D | omap-iommu.h | 30 struct omap_iommu { struct 69 static inline struct omap_iommu *dev_to_omap_iommu(struct device *dev) in dev_to_omap_iommu() argument 198 struct cr_regs __iotlb_read_cr(struct omap_iommu *obj, int n); 199 void iotlb_lock_get(struct omap_iommu *obj, struct iotlb_lock *l); 200 void iotlb_lock_set(struct omap_iommu *obj, struct iotlb_lock *l); 206 void omap_iommu_debugfs_add(struct omap_iommu *obj); 207 void omap_iommu_debugfs_remove(struct omap_iommu *obj); 212 static inline void omap_iommu_debugfs_add(struct omap_iommu *obj) { } in omap_iommu_debugfs_add() 213 static inline void omap_iommu_debugfs_remove(struct omap_iommu *obj) { } in omap_iommu_debugfs_remove() 219 static inline u32 iommu_read_reg(struct omap_iommu *obj, size_t offs) in iommu_read_reg() [all …]
|
D | omap-iommu-debug.c | 28 static inline bool is_omap_iommu_detached(struct omap_iommu *obj) in is_omap_iommu_detached() 47 omap2_iommu_dump_ctx(struct omap_iommu *obj, char *buf, ssize_t len) in omap2_iommu_dump_ctx() 71 static ssize_t omap_iommu_dump_ctx(struct omap_iommu *obj, char *buf, in omap_iommu_dump_ctx() 89 struct omap_iommu *obj = file->private_data; in debug_read_regs() 116 __dump_tlb_entries(struct omap_iommu *obj, struct cr_regs *crs, int num) in __dump_tlb_entries() 138 static ssize_t iotlb_dump_cr(struct omap_iommu *obj, struct cr_regs *cr, in iotlb_dump_cr() 146 static size_t omap_dump_tlb_entries(struct omap_iommu *obj, struct seq_file *s) in omap_dump_tlb_entries() 167 struct omap_iommu *obj = s->private; in debug_read_tlb() 188 struct omap_iommu *obj = s->private; in dump_ioptable() 218 struct omap_iommu *obj = s->private; in debug_read_pagetable() [all …]
|