Lines Matching full:multiplier
26 * struct clk_aic32x4_pll_muldiv - Multiplier/divider settings
28 * @r: first multiplier
29 * @j: integer part of second multiplier
30 * @d: decimal part of second multiplier
157 u64 multiplier; in clk_aic32x4_pll_calc_muldiv() local
165 * of the multiplier. This is because we can't do floating point in clk_aic32x4_pll_calc_muldiv()
168 multiplier = (u64) rate * settings->p * 10000; in clk_aic32x4_pll_calc_muldiv()
169 do_div(multiplier, parent_rate); in clk_aic32x4_pll_calc_muldiv()
175 settings->r = ((u32) multiplier / 640000) + 1; in clk_aic32x4_pll_calc_muldiv()
178 do_div(multiplier, settings->r); in clk_aic32x4_pll_calc_muldiv()
183 if (multiplier < 10000) in clk_aic32x4_pll_calc_muldiv()
187 settings->j = (u32) multiplier / 10000; in clk_aic32x4_pll_calc_muldiv()
188 settings->d = (u32) multiplier % 10000; in clk_aic32x4_pll_calc_muldiv()