Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/cpu/arm926ejs/mxs/
Dclock.c202 uint32_t clk, clkreg; in mxs_set_sspclk() local
207 clkreg = (uint32_t)(&clkctrl_regs->hw_clkctrl_ssp0) + in mxs_set_sspclk()
210 clrbits_le32(clkreg, CLKCTRL_SSP_CLKGATE); in mxs_set_sspclk()
211 while (readl(clkreg) & CLKCTRL_SSP_CLKGATE) in mxs_set_sspclk()
227 clrsetbits_le32(clkreg, CLKCTRL_SSP_DIV_MASK, clk); in mxs_set_sspclk()
228 while (readl(clkreg) & CLKCTRL_SSP_BUSY) in mxs_set_sspclk()
246 uint32_t clkreg; in mxs_get_sspclk() local
256 clkreg = (uint32_t)(&clkctrl_regs->hw_clkctrl_ssp0) + in mxs_get_sspclk()
259 tmp = readl(clkreg) & CLKCTRL_SSP_DIV_MASK; in mxs_get_sspclk()