Searched refs:frac_divider (Results 1 – 2 of 2) sorted by relevance
176 unsigned int frac_divider, struct axi_clkgen_div_params *params) in axi_clkgen_calc_clk_params() argument186 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()
411 u32 frac_divider = 1000000; in mxl5007t_calc_rf_tune_regs() local426 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()