Lines Matching refs:module
3 * OMAP3xxx CM module functions
32 static void _write_clktrctrl(u8 c, s16 module, u32 mask)
36 v = omap2_cm_read_mod_reg(module, OMAP2_CM_CLKSTCTRL);
39 omap2_cm_write_mod_reg(v, module, OMAP2_CM_CLKSTCTRL);
42 static bool omap3xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask)
46 v = omap2_cm_read_mod_reg(module, OMAP2_CM_CLKSTCTRL);
53 static void omap3xxx_cm_clkdm_enable_hwsup(s16 module, u32 mask)
55 _write_clktrctrl(OMAP34XX_CLKSTCTRL_ENABLE_AUTO, module, mask);
58 static void omap3xxx_cm_clkdm_disable_hwsup(s16 module, u32 mask)
60 _write_clktrctrl(OMAP34XX_CLKSTCTRL_DISABLE_AUTO, module, mask);
63 static void omap3xxx_cm_clkdm_force_sleep(s16 module, u32 mask)
65 _write_clktrctrl(OMAP34XX_CLKSTCTRL_FORCE_SLEEP, module, mask);
68 static void omap3xxx_cm_clkdm_force_wakeup(s16 module, u32 mask)
70 _write_clktrctrl(OMAP34XX_CLKSTCTRL_FORCE_WAKEUP, module, mask);
78 * omap3xxx_cm_wait_module_ready - wait for a module to leave idle or standby
80 * @prcm_mod: PRCM module offset
84 * Wait for the PRCM to indicate that the module identified by
86 * success or -EBUSY if the module doesn't enable in time.