Searched refs:mode_shift (Results 1 – 2 of 2) sorted by relevance
210 u32 mode_shift, mode_mask; in rkclk_set_pll() local213 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()
539 unsigned int mask, adr, mode, mode_shift; in max77686_buck_mode() local556 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()