Lines Matching refs:clkctrl_offs
83 static u32 _clkctrl_idlest(u16 inst, u16 clkctrl_offs) in _clkctrl_idlest() argument
85 u32 v = am33xx_cm_read_reg(inst, clkctrl_offs); in _clkctrl_idlest()
99 static bool _is_module_ready(u16 inst, u16 clkctrl_offs) in _is_module_ready() argument
103 v = _clkctrl_idlest(inst, clkctrl_offs); in _is_module_ready()
218 static int am33xx_cm_wait_module_ready(u8 part, s16 inst, u16 clkctrl_offs, in am33xx_cm_wait_module_ready() argument
223 omap_test_timeout(_is_module_ready(inst, clkctrl_offs), in am33xx_cm_wait_module_ready()
241 static int am33xx_cm_wait_module_idle(u8 part, s16 inst, u16 clkctrl_offs, in am33xx_cm_wait_module_idle() argument
246 if (!clkctrl_offs) in am33xx_cm_wait_module_idle()
249 omap_test_timeout((_clkctrl_idlest(inst, clkctrl_offs) == in am33xx_cm_wait_module_idle()
266 u16 clkctrl_offs) in am33xx_cm_module_enable() argument
270 v = am33xx_cm_read_reg(inst, clkctrl_offs); in am33xx_cm_module_enable()
273 am33xx_cm_write_reg(v, inst, clkctrl_offs); in am33xx_cm_module_enable()
284 static void am33xx_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs) in am33xx_cm_module_disable() argument
288 v = am33xx_cm_read_reg(inst, clkctrl_offs); in am33xx_cm_module_disable()
290 am33xx_cm_write_reg(v, inst, clkctrl_offs); in am33xx_cm_module_disable()