Lines Matching defs:module
2 * OMAP3xxx CM module functions
35 static void _write_clktrctrl(u8 c, s16 module, u32 mask)
39 v = omap2_cm_read_mod_reg(module, OMAP2_CM_CLKSTCTRL);
42 omap2_cm_write_mod_reg(v, module, OMAP2_CM_CLKSTCTRL);
45 bool omap3xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask)
49 v = omap2_cm_read_mod_reg(module, OMAP2_CM_CLKSTCTRL);
56 void omap3xxx_cm_clkdm_enable_hwsup(s16 module, u32 mask)
58 _write_clktrctrl(OMAP34XX_CLKSTCTRL_ENABLE_AUTO, module, mask);
61 void omap3xxx_cm_clkdm_disable_hwsup(s16 module, u32 mask)
63 _write_clktrctrl(OMAP34XX_CLKSTCTRL_DISABLE_AUTO, module, mask);
66 void omap3xxx_cm_clkdm_force_sleep(s16 module, u32 mask)
68 _write_clktrctrl(OMAP34XX_CLKSTCTRL_FORCE_SLEEP, module, mask);
71 void omap3xxx_cm_clkdm_force_wakeup(s16 module, u32 mask)
73 _write_clktrctrl(OMAP34XX_CLKSTCTRL_FORCE_WAKEUP, module, mask);
81 * omap3xxx_cm_wait_module_ready - wait for a module to leave idle or standby
82 * @prcm_mod: PRCM module offset
86 * Wait for the PRCM to indicate that the module identified by
88 * success or -EBUSY if the module doesn't enable in time.