Lines Matching refs:f_vco

341 	float f_vco, max_pclk;  in g100_g400max_maven_vid_pll_find()  local
400 f_vco = req_pclk * p; in g100_g400max_maven_vid_pll_find()
403 if ((f_vco >= si->ps.min_video_vco) && (f_vco <= si->ps.max_video_vco)) in g100_g400max_maven_vid_pll_find()
409 n = (int)(((f_vco * m) / si->ps.f_ref) + 0.5); in g100_g400max_maven_vid_pll_find()
434 f_vco = (si->ps.f_ref / (m + 1)) * (n + 1); in g100_g400max_maven_vid_pll_find()
435 LOG(2, ("MAVEN: vid VCO frequency found %fMhz\n", f_vco)); in g100_g400max_maven_vid_pll_find()
443 if (f_vco >= 180) {p |= (0x03 << 3); break;}; in g100_g400max_maven_vid_pll_find()
444 if (f_vco >= 140) {p |= (0x02 << 3); break;}; in g100_g400max_maven_vid_pll_find()
445 if (f_vco >= 100) {p |= (0x01 << 3); break;}; in g100_g400max_maven_vid_pll_find()
452 if (f_vco >= 240) {p |= (0x03 << 3); break;}; in g100_g400max_maven_vid_pll_find()
453 if (f_vco >= 170) {p |= (0x02 << 3); break;}; in g100_g400max_maven_vid_pll_find()
454 if (f_vco >= 110) {p |= (0x01 << 3); break;}; in g100_g400max_maven_vid_pll_find()
461 *calc_pclk = f_vco / ((p & 0x07) + 1); in g100_g400max_maven_vid_pll_find()
574 float f_vco, max_pclk; in g450_g550_maven_vid_pll_find() local
617 f_vco = req_pclk * p; in g450_g550_maven_vid_pll_find()
620 if ((f_vco >= si->ps.min_video_vco) && (f_vco <= si->ps.max_video_vco)) in g450_g550_maven_vid_pll_find()
626 n = (int)(((f_vco * m) / (si->ps.f_ref * 2)) + 0.5); in g450_g550_maven_vid_pll_find()
669 f_vco = ((si->ps.f_ref * 2) / (m + 1)) * (n + 2); in g450_g550_maven_vid_pll_find()
670 LOG(2, ("MAVEN: vid VCO frequency found %fMhz\n", f_vco)); in g450_g550_maven_vid_pll_find()
680 *calc_pclk = f_vco / best[2]; in g450_g550_maven_vid_pll_find()