Lines Matching defs:ratio
506 long ratio = pout_required / pll_clock_khz;
526 * Calculate the ratio of F, R and OD
529 if (ratio < 8600L) { /* 8.6x */
532 } else if (ratio < 12900L) { /* 12.9x */
535 } else if (ratio < 16100L) { /* 16.1x */
538 } else if (ratio < 64000L) { /* 64x */
541 /* Invalid ratio */
542 dev_err(host->dev, "Invalid ratio %ld, give up!\n", ratio);
546 F = (ratio * (R+2)) / 1000 - 2;
554 dev_dbg(host->dev, "F[%d] R[%d] ratio*1000[%ld]\n", F, R, ratio);