Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/tegra/
H A Dclk-pll.c247 #define divp_mask(p) (p->params->flags & TEGRA_PLLU ? PLLU_POST_DIVP_MASK :\ macro
258 #define divp_mask_shifted(p) (divp_mask(p) << divp_shift(p))
262 #define divp_max(p) (1 << (divp_mask(p)))
666 val &= ~(divp_mask(pll) << div_nmp->override_divp_shift); in _update_pll_mnp()
705 cfg->p = (val >> div_nmp->override_divp_shift) & divp_mask(pll); in _get_pll_mnp()
715 cfg->p = (val >> div_nmp->divp_shift) & divp_mask(pll); in _get_pll_mnp()
1024 divp = (val >> pll->params->div_nmp->divp_shift) & (divp_mask(pll)); in clk_plle_recalc_rate()
H A Dclk-tegra210.c1401 #define divp_mask(p) (p->params->flags & TEGRA_PLLU ? PLLU_POST_DIVP_MASK :\ macro
1410 #define divp_mask_shifted(p) (divp_mask(p) << divp_shift(p))