Lines Matching refs:clkctrl_addr
118 static inline void wait_for_clk_enable(u32 *clkctrl_addr) in wait_for_clk_enable() argument
125 clkctrl = readl(clkctrl_addr); in wait_for_clk_enable()
130 clkctrl_addr, clkctrl); in wait_for_clk_enable()
136 static inline void enable_clock_module(u32 *const clkctrl_addr, u32 enable_mode, in enable_clock_module() argument
139 clrsetbits_le32(clkctrl_addr, MODULE_CLKCTRL_MODULEMODE_MASK, in enable_clock_module()
141 debug("Enable clock module - %p\n", clkctrl_addr); in enable_clock_module()
143 wait_for_clk_enable(clkctrl_addr); in enable_clock_module()
146 static inline void wait_for_clk_disable(u32 *clkctrl_addr) in wait_for_clk_disable() argument
152 clkctrl = readl(clkctrl_addr); in wait_for_clk_disable()
157 clkctrl_addr, clkctrl); in wait_for_clk_disable()
162 static inline void disable_clock_module(u32 *const clkctrl_addr, in disable_clock_module() argument
165 clrsetbits_le32(clkctrl_addr, MODULE_CLKCTRL_MODULEMODE_MASK, in disable_clock_module()
168 debug("Disable clock module - %p\n", clkctrl_addr); in disable_clock_module()
170 wait_for_clk_disable(clkctrl_addr); in disable_clock_module()