Searched refs:clkctrl_addr (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/arch/arm/mach-omap2/am33xx/ |
D | clock.c | 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() [all …]
|
/external/u-boot/arch/arm/mach-omap2/ |
D | clocks-common.c | 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() [all …]
|