Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/tegra/
H A Dclk-pll.c246 #define divn_mask(p) mask(p->params->div_nmp->divn_width) macro
257 #define divn_mask_shifted(p) (divn_mask(p) << divn_shift(p))
261 #define divn_max(p) (divn_mask(p))
672 (divn_mask(pll) << div_nmp->override_divn_shift)); in _update_pll_mnp()
709 cfg->n = (val >> div_nmp->override_divn_shift) & divn_mask(pll); in _get_pll_mnp()
714 cfg->n = (val >> div_nmp->divn_shift) & divn_mask(pll); in _get_pll_mnp()
1025 divn = (val >> pll->params->div_nmp->divn_shift) & (divn_mask(pll)); in clk_plle_recalc_rate()
H A Dclk-tegra210.c1400 #define divn_mask(p) mask(p->params->div_nmp->divn_width) macro
1409 #define divn_mask_shifted(p) (divn_mask(p) << divn_shift(p))
1435 ndiv_new_mask = (divn_mask(pllx) >> pllx->params->div_nmp->divn_shift) in tegra210_pllx_dyn_ramp()