Lines Matching defs:ratio
303 long pll_input, pll_output, ratio;
358 * Calculate the ratio of F, R and NO
361 ratio = pll_output / (pll_input / 1000);
362 if (ratio < 8600L) { /* 8.6x */
365 } else if (ratio < 12900L) { /* 12.9x */
368 } else if (ratio < 16100L) { /* 16.1x */
371 } else if (ratio < 64000L) { /* 64x */
374 /* Invalid ratio */
375 printk(KERN_ERR "%s %s: Bad ratio %ld, giving up!\n",
376 name, pci_name(dev), ratio);
380 f = (ratio * (r + 2)) / 1000 - 2;
382 DBG("F[%d] R[%d] ratio*1000[%ld]\n", f, r, ratio);