Lines Matching defs:input
253 static int clk_pll3200c32_get_params(unsigned long input, unsigned long output,
270 input /= 1000;
274 n = i * output / (2 * input);
282 new_freq = (input * 2 * n) / i;
303 static int clk_pll3200c32_get_rate(unsigned long input, struct stm_pll *pll,
309 *rate = ((2 * (input / 1000) * pll->ndiv) / pll->idf) * 1000;
328 /* Note: input is divided to avoid overflow */
404 * FVCOby2 output = (input * 2 * NDIV) / IDF (assuming FRAC_CONTROL==L)
407 * 4Mhz <= INFF input <= 350Mhz
414 static int clk_pll4600c28_get_params(unsigned long input, unsigned long output,
429 infin = input / i;
459 static int clk_pll4600c28_get_rate(unsigned long input, struct stm_pll *pll,
465 *rate = (input / pll->idf) * 2 * pll->ndiv;