Lines Matching refs:clkctrl_addr
676 static inline void wait_for_clk_enable(u32 clkctrl_addr) in wait_for_clk_enable() argument
684 clkctrl = readl(clkctrl_addr); in wait_for_clk_enable()
689 clkctrl_addr, clkctrl); in wait_for_clk_enable()
695 static inline void enable_clock_module(u32 const clkctrl_addr, u32 enable_mode, in enable_clock_module() argument
698 clrsetbits_le32(clkctrl_addr, MODULE_CLKCTRL_MODULEMODE_MASK, in enable_clock_module()
700 debug("Enable clock module - %x\n", clkctrl_addr); in enable_clock_module()
702 wait_for_clk_enable(clkctrl_addr); in enable_clock_module()
705 static inline void wait_for_clk_disable(u32 clkctrl_addr) in wait_for_clk_disable() argument
711 clkctrl = readl(clkctrl_addr); in wait_for_clk_disable()
716 clkctrl_addr, clkctrl); in wait_for_clk_disable()
722 static inline void disable_clock_module(u32 const clkctrl_addr, in disable_clock_module() argument
725 clrsetbits_le32(clkctrl_addr, MODULE_CLKCTRL_MODULEMODE_MASK, in disable_clock_module()
728 debug("Disable clock module - %x\n", clkctrl_addr); in disable_clock_module()
730 wait_for_clk_disable(clkctrl_addr); in disable_clock_module()