Home
last modified time | relevance | path

Searched refs:divm (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/clk/
Dclk-stm32h7.c626 u8 divm; member
641 .divm = 4,
649 .divm = 12,
657 .divm = 20,
818 div->mshift = cfg->divm; in clk_register_stm32_pll()
Dclk-stm32mp1.c826 u32 frac, divm, divn; in pll_recalc_rate() local
831 divm = ((reg >> DIVM_SHIFT) & DIVM_MASK) + 1; in pll_recalc_rate()
835 do_div(rate, divm); in pll_recalc_rate()
840 do_div(rate_frac, (divm * 8192)); in pll_recalc_rate()
/Linux-v5.4/drivers/media/dvb-frontends/
Dsi2165.c207 u8 divm = 8; in si2165_init_pll() local
244 state->adc_clk = state->fvco_hz / (divm * 4u); in si2165_init_pll()
249 buf[1] = divm; in si2165_init_pll()
/Linux-v5.4/drivers/clk/tegra/
Dclk-pll.c998 u32 divn = 0, divm = 0, divp = 0; in clk_plle_recalc_rate() local
1003 divm = (val >> pll->params->div_nmp->divm_shift) & (divm_mask(pll)); in clk_plle_recalc_rate()
1004 divm *= divp; in clk_plle_recalc_rate()
1007 do_div(rate, divm); in clk_plle_recalc_rate()