Lines Matching refs:readl
60 reg = readl(hbclk->reg); in clk_pll_prepare()
64 while ((readl(hbclk->reg) & HB_PLL_LOCK) == 0) in clk_pll_prepare()
66 while ((readl(hbclk->reg) & HB_PLL_LOCK_500) == 0) in clk_pll_prepare()
77 reg = readl(hbclk->reg); in clk_pll_unprepare()
87 reg = readl(hbclk->reg); in clk_pll_enable()
99 reg = readl(hbclk->reg); in clk_pll_disable()
110 reg = readl(hbclk->reg); in clk_pll_recalc_rate()
165 reg = readl(hbclk->reg); in clk_pll_set_rate()
177 while ((readl(hbclk->reg) & HB_PLL_LOCK) == 0) in clk_pll_set_rate()
179 while ((readl(hbclk->reg) & HB_PLL_LOCK_500) == 0) in clk_pll_set_rate()
208 u32 div = (readl(hbclk->reg) & HB_A9_PCLK_DIV) ? 8 : 4; in clk_cpu_periphclk_recalc_rate()
220 u32 div = (readl(hbclk->reg) & HB_A9_BCLK_DIV_MASK) >> HB_A9_BCLK_DIV_SHIFT; in clk_cpu_a9bclk_recalc_rate()
235 div = readl(hbclk->reg) & 0x1f; in clk_periclk_recalc_rate()