Lines Matching refs:ratio
2340 unsigned int ratio; in dump_nhm_platform_info() local
2346 ratio = (msr >> 40) & 0xFF; in dump_nhm_platform_info()
2347 fprintf(outf, "%d * %.1f = %.1f MHz max efficiency frequency\n", ratio, bclk, ratio * bclk); in dump_nhm_platform_info()
2349 ratio = (msr >> 8) & 0xFF; in dump_nhm_platform_info()
2350 fprintf(outf, "%d * %.1f = %.1f MHz base frequency\n", ratio, bclk, ratio * bclk); in dump_nhm_platform_info()
2366 unsigned int ratio; in dump_hsw_turbo_ratio_limits() local
2372 ratio = (msr >> 8) & 0xFF; in dump_hsw_turbo_ratio_limits()
2373 if (ratio) in dump_hsw_turbo_ratio_limits()
2374 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 18 active cores\n", ratio, bclk, ratio * bclk); in dump_hsw_turbo_ratio_limits()
2376 ratio = (msr >> 0) & 0xFF; in dump_hsw_turbo_ratio_limits()
2377 if (ratio) in dump_hsw_turbo_ratio_limits()
2378 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 17 active cores\n", ratio, bclk, ratio * bclk); in dump_hsw_turbo_ratio_limits()
2385 unsigned int ratio; in dump_ivt_turbo_ratio_limits() local
2391 ratio = (msr >> 56) & 0xFF; in dump_ivt_turbo_ratio_limits()
2392 if (ratio) in dump_ivt_turbo_ratio_limits()
2393 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 16 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits()
2395 ratio = (msr >> 48) & 0xFF; in dump_ivt_turbo_ratio_limits()
2396 if (ratio) in dump_ivt_turbo_ratio_limits()
2397 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 15 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits()
2399 ratio = (msr >> 40) & 0xFF; in dump_ivt_turbo_ratio_limits()
2400 if (ratio) in dump_ivt_turbo_ratio_limits()
2401 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 14 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits()
2403 ratio = (msr >> 32) & 0xFF; in dump_ivt_turbo_ratio_limits()
2404 if (ratio) in dump_ivt_turbo_ratio_limits()
2405 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 13 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits()
2407 ratio = (msr >> 24) & 0xFF; in dump_ivt_turbo_ratio_limits()
2408 if (ratio) in dump_ivt_turbo_ratio_limits()
2409 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 12 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits()
2411 ratio = (msr >> 16) & 0xFF; in dump_ivt_turbo_ratio_limits()
2412 if (ratio) in dump_ivt_turbo_ratio_limits()
2413 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 11 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits()
2415 ratio = (msr >> 8) & 0xFF; in dump_ivt_turbo_ratio_limits()
2416 if (ratio) in dump_ivt_turbo_ratio_limits()
2417 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 10 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits()
2419 ratio = (msr >> 0) & 0xFF; in dump_ivt_turbo_ratio_limits()
2420 if (ratio) in dump_ivt_turbo_ratio_limits()
2421 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 9 active cores\n", ratio, bclk, ratio * bclk); in dump_ivt_turbo_ratio_limits()
2445 unsigned int ratio, group_size; in dump_turbo_ratio_limits() local
2457 ratio = (msr >> 56) & 0xFF; in dump_turbo_ratio_limits()
2459 if (ratio) in dump_turbo_ratio_limits()
2461 ratio, bclk, ratio * bclk, group_size); in dump_turbo_ratio_limits()
2463 ratio = (msr >> 48) & 0xFF; in dump_turbo_ratio_limits()
2465 if (ratio) in dump_turbo_ratio_limits()
2467 ratio, bclk, ratio * bclk, group_size); in dump_turbo_ratio_limits()
2469 ratio = (msr >> 40) & 0xFF; in dump_turbo_ratio_limits()
2471 if (ratio) in dump_turbo_ratio_limits()
2473 ratio, bclk, ratio * bclk, group_size); in dump_turbo_ratio_limits()
2475 ratio = (msr >> 32) & 0xFF; in dump_turbo_ratio_limits()
2477 if (ratio) in dump_turbo_ratio_limits()
2479 ratio, bclk, ratio * bclk, group_size); in dump_turbo_ratio_limits()
2481 ratio = (msr >> 24) & 0xFF; in dump_turbo_ratio_limits()
2483 if (ratio) in dump_turbo_ratio_limits()
2485 ratio, bclk, ratio * bclk, group_size); in dump_turbo_ratio_limits()
2487 ratio = (msr >> 16) & 0xFF; in dump_turbo_ratio_limits()
2489 if (ratio) in dump_turbo_ratio_limits()
2491 ratio, bclk, ratio * bclk, group_size); in dump_turbo_ratio_limits()
2493 ratio = (msr >> 8) & 0xFF; in dump_turbo_ratio_limits()
2495 if (ratio) in dump_turbo_ratio_limits()
2497 ratio, bclk, ratio * bclk, group_size); in dump_turbo_ratio_limits()
2499 ratio = (msr >> 0) & 0xFF; in dump_turbo_ratio_limits()
2501 if (ratio) in dump_turbo_ratio_limits()
2503 ratio, bclk, ratio * bclk, group_size); in dump_turbo_ratio_limits()
2510 unsigned int ratio; in dump_atom_turbo_ratio_limits() local
2515 ratio = (msr >> 0) & 0x3F; in dump_atom_turbo_ratio_limits()
2516 if (ratio) in dump_atom_turbo_ratio_limits()
2517 fprintf(outf, "%d * %.1f = %.1f MHz minimum operating frequency\n", ratio, bclk, ratio * bclk); in dump_atom_turbo_ratio_limits()
2519 ratio = (msr >> 8) & 0x3F; in dump_atom_turbo_ratio_limits()
2520 if (ratio) in dump_atom_turbo_ratio_limits()
2521 fprintf(outf, "%d * %.1f = %.1f MHz low frequency mode (LFM)\n", ratio, bclk, ratio * bclk); in dump_atom_turbo_ratio_limits()
2523 ratio = (msr >> 16) & 0x3F; in dump_atom_turbo_ratio_limits()
2524 if (ratio) in dump_atom_turbo_ratio_limits()
2525 fprintf(outf, "%d * %.1f = %.1f MHz base frequency\n", ratio, bclk, ratio * bclk); in dump_atom_turbo_ratio_limits()
2530 ratio = (msr >> 24) & 0x3F; in dump_atom_turbo_ratio_limits()
2531 if (ratio) in dump_atom_turbo_ratio_limits()
2532 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 4 active cores\n", ratio, bclk, ratio * bclk); in dump_atom_turbo_ratio_limits()
2534 ratio = (msr >> 16) & 0x3F; in dump_atom_turbo_ratio_limits()
2535 if (ratio) in dump_atom_turbo_ratio_limits()
2536 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 3 active cores\n", ratio, bclk, ratio * bclk); in dump_atom_turbo_ratio_limits()
2538 ratio = (msr >> 8) & 0x3F; in dump_atom_turbo_ratio_limits()
2539 if (ratio) in dump_atom_turbo_ratio_limits()
2540 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 2 active cores\n", ratio, bclk, ratio * bclk); in dump_atom_turbo_ratio_limits()
2542 ratio = (msr >> 0) & 0x3F; in dump_atom_turbo_ratio_limits()
2543 if (ratio) in dump_atom_turbo_ratio_limits()
2544 fprintf(outf, "%d * %.1f = %.1f MHz max turbo 1 active core\n", ratio, bclk, ratio * bclk); in dump_atom_turbo_ratio_limits()
2555 unsigned int ratio[buckets_no]; in dump_knl_turbo_ratio_limits() local
2586 ratio[b_nr] = (msr >> 8) & 0xFF; in dump_knl_turbo_ratio_limits()
2593 ratio[b_nr + 1] = ratio[b_nr] - delta_ratio; in dump_knl_turbo_ratio_limits()
2598 if (i > 0 ? ratio[i] != ratio[i - 1] : 1) in dump_knl_turbo_ratio_limits()
2601 ratio[i], bclk, ratio[i] * bclk, cores[i]); in dump_knl_turbo_ratio_limits()