Lines Matching refs:module
19 #define OMAP2420_CM_REGADDR(module, reg) \
20 OMAP2_L4_IO_ADDRESS(OMAP2420_CM_BASE + (module) + (reg))
21 #define OMAP2430_CM_REGADDR(module, reg) \
22 OMAP2_L4_IO_ADDRESS(OMAP2430_CM_BASE + (module) + (reg))
23 #define OMAP34XX_CM_REGADDR(module, reg) \
24 OMAP2_L4_IO_ADDRESS(OMAP3430_CM_BASE + (module) + (reg))
25 #define OMAP44XX_CM1_REGADDR(module, reg) \
26 OMAP2_L4_IO_ADDRESS(OMAP4430_CM1_BASE + (module) + (reg))
27 #define OMAP44XX_CM2_REGADDR(module, reg) \
28 OMAP2_L4_IO_ADDRESS(OMAP4430_CM2_BASE + (module) + (reg))
35 * These registers appear once per CM module.
109 extern u32 cm_read_mod_reg(s16 module, u16 idx);
110 extern void cm_write_mod_reg(u32 val, s16 module, u16 idx);
111 extern u32 cm_rmw_mod_reg_bits(u32 mask, u32 bits, s16 module, s16 idx);
117 static inline u32 cm_set_mod_reg_bits(u32 bits, s16 module, s16 idx)
119 return cm_rmw_mod_reg_bits(bits, bits, module, idx);
122 static inline u32 cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx)
124 return cm_rmw_mod_reg_bits(bits, 0x0, module, idx);
149 * PRCM to request that a module exit the inactive state in the case of
152 * module to reach the functionnal state from an inactive state.