Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/tegra/
H A Dclk-pll.c245 #define divm_mask(p) mask(p->params->div_nmp->divm_width) macro
256 #define divm_mask_shifted(p) (divm_mask(p) << divm_shift(p))
260 #define divm_max(p) (divm_mask(p))
671 val &= ~((divm_mask(pll) << div_nmp->override_divm_shift) | in _update_pll_mnp()
708 cfg->m = (val >> div_nmp->override_divm_shift) & divm_mask(pll); in _get_pll_mnp()
713 cfg->m = (val >> div_nmp->divm_shift) & divm_mask(pll); in _get_pll_mnp()
1026 divm = (val >> pll->params->div_nmp->divm_shift) & (divm_mask(pll)); in clk_plle_recalc_rate()
H A Dclk-tegra210.c1399 #define divm_mask(p) mask(p->params->div_nmp->divm_width) macro
1408 #define divm_mask_shifted(p) (divm_mask(p) << divm_shift(p))