Searched refs:output_div (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/clk/mstar/ |
H A D | clk-msc313-mpll.c | 38 struct regmap_field *output_div; member 48 unsigned int input_div, output_div, loop_first, loop_second; in msc313_mpll_recalc_rate() local 52 regmap_field_read(mpll->output_div, &output_div); in msc313_mpll_recalc_rate() 58 output_rate /= max(output_div, 1U); in msc313_mpll_recalc_rate() 97 mpll->output_div = devm_regmap_field_alloc(dev, regmap, config2_output_div_first); in msc313_mpll_probe() 98 if (IS_ERR(mpll->output_div)) in msc313_mpll_probe() 99 return PTR_ERR(mpll->output_div); in msc313_mpll_probe()
|
/openbmc/u-boot/arch/arm/mach-keystone/ |
H A D | clock.c | 281 unsigned long mult = 1, prediv = 1, output_div = 2; in pll_freq_get() local 295 output_div = ((pllctl_reg_read(pll, secctl) & in pll_freq_get() 299 ret = ret / prediv / output_div * mult; in pll_freq_get() 334 output_div = ((tmp & CFG_PLLCTL0_CLKOD_MASK) >> in pll_freq_get() 336 ret = ((ret / prediv) * mult) / output_div; in pll_freq_get()
|