17 #include <linux/kernel.h>
18 #include <linux/types.h>
19 #include <linux/errno.h>
48 #define CLKCTRL_IDLEST_FUNCTIONAL 0x0
49 #define CLKCTRL_IDLEST_INTRANSITION 0x1
50 #define CLKCTRL_IDLEST_INTERFACE_IDLE 0x2
51 #define CLKCTRL_IDLEST_DISABLED 0x3
99 static bool _is_module_ready(
u8 part,
u16 inst,
s16 cdoffs,
u16 clkctrl_offs)
103 v = _clkctrl_idlest(part, inst, cdoffs, clkctrl_offs);
178 static void _clktrctrl_write(
u8 c,
u8 part,
s16 inst,
u16 cdoffs)
275 omap_test_timeout(_is_module_ready(part, inst, cdoffs, clkctrl_offs),
300 omap_test_timeout((_clkctrl_idlest(part, inst, cdoffs, clkctrl_offs) ==