Home
last modified time | relevance | path

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

/linux-6.1.9/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.c842 u32 frac, divm, divn; in pll_recalc_rate() local
847 divm = ((reg >> DIVM_SHIFT) & DIVM_MASK) + 1; in pll_recalc_rate()
851 do_div(rate, divm); in pll_recalc_rate()
856 do_div(rate_frac, (divm * 8192)); in pll_recalc_rate()
/linux-6.1.9/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-6.1.9/drivers/clk/tegra/
Dclk-pll.c1021 u32 divn = 0, divm = 0, divp = 0; in clk_plle_recalc_rate() local
1026 divm = (val >> pll->params->div_nmp->divm_shift) & (divm_mask(pll)); in clk_plle_recalc_rate()
1027 divm *= divp; in clk_plle_recalc_rate()
1030 do_div(rate, divm); in clk_plle_recalc_rate()