Searched refs:mode_shift (Results 1 – 4 of 4) sorted by relevance
/external/u-boot/drivers/clk/rockchip/ |
D | clk_rk3328.c | 210 u32 mode_shift, mode_mask; in rkclk_set_pll() local 213 mode_shift = 0; in rkclk_set_pll() 217 mode_shift = APLL_MODE_SHIFT; in rkclk_set_pll() 221 mode_shift = DPLL_MODE_SHIFT; in rkclk_set_pll() 225 mode_shift = CPLL_MODE_SHIFT; in rkclk_set_pll() 229 mode_shift = GPLL_MODE_SHIFT; in rkclk_set_pll() 233 mode_shift = NPLL_MODE_SHIFT; in rkclk_set_pll() 238 mode_mask = 1 << mode_shift; in rkclk_set_pll() 256 rk_clrsetreg(&cru->mode_con, mode_mask, PLL_MODE_SLOW << mode_shift); in rkclk_set_pll() 276 rk_clrsetreg(&cru->mode_con, mode_mask, PLL_MODE_NORM << mode_shift); in rkclk_set_pll()
|
D | clk_pll.c | 203 pll->mode_mask << pll->mode_shift, in rk3036_pll_set_rate() 204 RKCLK_PLL_MODE_SLOW << pll->mode_shift); in rk3036_pll_set_rate() 238 rk_clrsetreg(base + pll->mode_offset, pll->mode_mask << pll->mode_shift, in rk3036_pll_set_rate() 239 RKCLK_PLL_MODE_NORMAL << pll->mode_shift); in rk3036_pll_set_rate() 257 shift = pll->mode_shift; in rk3036_pll_get_rate()
|
/external/u-boot/drivers/power/regulator/ |
D | max77686.c | 539 unsigned int mask, adr, mode, mode_shift; in max77686_buck_mode() local 556 mode_shift = MAX77686_BUCK_MODE_SHIFT_2; in max77686_buck_mode() 559 mode_shift = MAX77686_BUCK_MODE_SHIFT_1; in max77686_buck_mode() 562 mask = MAX77686_BUCK_MODE_MASK << mode_shift; in max77686_buck_mode() 570 val >>= mode_shift; in max77686_buck_mode() 589 mode = MAX77686_BUCK_MODE_STANDBY << mode_shift; in max77686_buck_mode() 600 mode = MAX77686_BUCK_MODE_LPM << mode_shift; in max77686_buck_mode() 607 mode = MAX77686_BUCK_MODE_ON << mode_shift; in max77686_buck_mode()
|
/external/u-boot/arch/arm/include/asm/arch-rockchip/ |
D | clock.h | 44 .mode_shift = _mshift, \ 89 unsigned int mode_shift; member
|