Lines Matching refs:ratio
374 long pll_input, pll_output, ratio;
432 * Calculate the ratio of F, R and NO
435 ratio = pll_output / (pll_input / 1000);
436 if (ratio < 8600L) { /* 8.6x */
439 } else if (ratio < 12900L) { /* 12.9x */
442 } else if (ratio < 16100L) { /* 16.1x */
445 } else if (ratio < 64000L) { /* 64x */
448 /* Invalid ratio */
449 printk(KERN_ERR "%s: Bad ratio %ld, giving up!\n", name, ratio);
453 f = (ratio * (r + 2)) / 1000 - 2;
455 DBG("F[%d] R[%d] ratio*1000[%ld]\n", f, r, ratio);