Home
last modified time | relevance | path

Searched refs:clkctrl_addr (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/arch/arm/mach-omap2/am33xx/
H A Dclock.c118 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()
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()
168 debug("Disable clock module - %p\n", clkctrl_addr); in disable_clock_module()
[all …]
/openbmc/u-boot/arch/arm/mach-omap2/
H A Dclocks-common.c676 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()
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()
728 debug("Disable clock module - %x\n", clkctrl_addr); in disable_clock_module()
[all …]