Lines Matching defs:module
2 * OMAP2xxx CM module functions
46 static void _write_clktrctrl(u8 c, s16 module, u32 mask)
50 v = omap2_cm_read_mod_reg(module, OMAP2_CM_CLKSTCTRL);
53 omap2_cm_write_mod_reg(v, module, OMAP2_CM_CLKSTCTRL);
56 bool omap2xxx_cm_is_clkdm_in_hwsup(s16 module, u32 mask)
60 v = omap2_cm_read_mod_reg(module, OMAP2_CM_CLKSTCTRL);
67 void omap2xxx_cm_clkdm_enable_hwsup(s16 module, u32 mask)
69 _write_clktrctrl(OMAP24XX_CLKSTCTRL_ENABLE_AUTO, module, mask);
72 void omap2xxx_cm_clkdm_disable_hwsup(s16 module, u32 mask)
74 _write_clktrctrl(OMAP24XX_CLKSTCTRL_DISABLE_AUTO, module, mask);
240 * omap2xxx_cm_wait_module_ready - wait for a module to leave idle or standby
241 * @prcm_mod: PRCM module offset
245 * Wait for the PRCM to indicate that the module identified by
247 * success or -EBUSY if the module doesn't enable in time.