Lines Matching defs:obj
16 #define for_each_iotlb_cr(obj, n, __i, cr) \
18 (__i < (n)) && (cr = __iotlb_read_cr((obj), __i), true); \
235 struct cr_regs __iotlb_read_cr(struct omap_iommu *obj, int n);
236 void iotlb_lock_get(struct omap_iommu *obj, struct iotlb_lock *l);
237 void iotlb_lock_set(struct omap_iommu *obj, struct iotlb_lock *l);
243 void omap_iommu_debugfs_add(struct omap_iommu *obj);
244 void omap_iommu_debugfs_remove(struct omap_iommu *obj);
249 static inline void omap_iommu_debugfs_add(struct omap_iommu *obj) { }
250 static inline void omap_iommu_debugfs_remove(struct omap_iommu *obj) { }
256 static inline u32 iommu_read_reg(struct omap_iommu *obj, size_t offs)
258 return __raw_readl(obj->regbase + offs);
261 static inline void iommu_write_reg(struct omap_iommu *obj, u32 val, size_t offs)
263 __raw_writel(val, obj->regbase + offs);