Lines Matching defs:module
53 static inline u32 omap2_cm_read_mod_reg(s16 module, u16 idx)
55 return readl_relaxed(cm_base + module + idx);
58 static inline void omap2_cm_write_mod_reg(u32 val, s16 module, u16 idx)
60 writel_relaxed(val, cm_base + module + idx);
63 /* Read-modify-write a register in a CM module. Caller must lock */
64 static inline u32 omap2_cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module,
69 v = omap2_cm_read_mod_reg(module, idx);
72 omap2_cm_write_mod_reg(v, module, idx);
89 static inline u32 omap2_cm_set_mod_reg_bits(u32 bits, s16 module, s16 idx)
91 return omap2_cm_rmw_mod_reg_bits(bits, bits, module, idx);
94 static inline u32 omap2_cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx)
96 return omap2_cm_rmw_mod_reg_bits(bits, 0x0, module, idx);