Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/clk/
Dclk-axi-clkgen.c176 unsigned int frac_divider, struct axi_clkgen_div_params *params) in axi_clkgen_calc_clk_params() argument
186 if (frac_divider == 0) { in axi_clkgen_calc_clk_params()
192 params->frac = frac_divider; in axi_clkgen_calc_clk_params()
203 if (params->edge == 0 || frac_divider == 1) in axi_clkgen_calc_clk_params()
205 if (((params->edge == 0) ^ (frac_divider == 1)) || in axi_clkgen_calc_clk_params()
206 (divider == 2 && frac_divider == 1)) in axi_clkgen_calc_clk_params()
209 params->frac_phase = params->edge * 4 + frac_divider / 2; in axi_clkgen_calc_clk_params()
/kernel/linux/linux-5.10/drivers/media/tuners/
Dmxl5007t.c411 u32 frac_divider = 1000000; in mxl5007t_calc_rf_tune_regs() local
426 frac_divider /= 2; in mxl5007t_calc_rf_tune_regs()
427 if (temp > frac_divider) { in mxl5007t_calc_rf_tune_regs()
428 temp -= frac_divider; in mxl5007t_calc_rf_tune_regs()