Lines Matching refs:clkctrl_offs
94 static u32 _clkctrl_idlest(u16 inst, u16 clkctrl_offs) in _clkctrl_idlest() argument
96 u32 v = am33xx_cm_read_reg(inst, clkctrl_offs); in _clkctrl_idlest()
110 static bool _is_module_ready(u16 inst, u16 clkctrl_offs) in _is_module_ready() argument
114 v = _clkctrl_idlest(inst, clkctrl_offs); in _is_module_ready()
229 static int am33xx_cm_wait_module_ready(u8 part, s16 inst, u16 clkctrl_offs, in am33xx_cm_wait_module_ready() argument
234 omap_test_timeout(_is_module_ready(inst, clkctrl_offs), in am33xx_cm_wait_module_ready()
252 static int am33xx_cm_wait_module_idle(u8 part, s16 inst, u16 clkctrl_offs, in am33xx_cm_wait_module_idle() argument
257 omap_test_timeout((_clkctrl_idlest(inst, clkctrl_offs) == in am33xx_cm_wait_module_idle()
274 u16 clkctrl_offs) in am33xx_cm_module_enable() argument
278 v = am33xx_cm_read_reg(inst, clkctrl_offs); in am33xx_cm_module_enable()
281 am33xx_cm_write_reg(v, inst, clkctrl_offs); in am33xx_cm_module_enable()
292 static void am33xx_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs) in am33xx_cm_module_disable() argument
296 v = am33xx_cm_read_reg(inst, clkctrl_offs); in am33xx_cm_module_disable()
298 am33xx_cm_write_reg(v, inst, clkctrl_offs); in am33xx_cm_module_disable()