Lines Matching defs:limits

245 /* Per-SKU limits */
320 struct ips_mcp_limits *limits;
399 * as low as the platform limits will allow (though we could go lower there
589 * mcp_exceeded - check whether we're outside our thermal & power limits
619 * cpu_exceeded - check whether a CPU core is outside its limits
635 if (avg > (ips->limits->core_temp_limit * 100))
661 if (ips->mch_avg_temp > (ips->limits->mch_temp_limit * 100))
671 * verify_limits - verify BIOS provided limits
674 * BIOS can optionally provide non-default limits for power and temp. Check
680 if (ips->mcp_power_limit < ips->limits->mcp_power_limit ||
682 ips->mcp_power_limit = ips->limits->mcp_power_limit;
684 if (ips->mcp_temp_limit < ips->limits->core_temp_limit ||
685 ips->mcp_temp_limit < ips->limits->mch_temp_limit ||
687 ips->mcp_temp_limit = min(ips->limits->core_temp_limit,
688 ips->limits->mch_temp_limit);
692 * update_turbo_limits - get various limits & settings from regs
695 * Update the IPS power & temp limits, along with turbo enable flags,
1189 /* Expose current state and limits in debugfs if possible */
1277 * return the limits for it.
1284 struct ips_mcp_limits *limits = NULL;
1304 limits = &ips_sv_limits;
1306 limits = &ips_lv_limits;
1308 limits = &ips_ulv_limits;
1318 if (limits->core_power_limit != (tdp / 8) * 1000) {
1321 tdp / 8, limits->core_power_limit / 1000);
1322 limits->core_power_limit = (tdp / 8) * 1000;
1325 return limits;
1335 * thermal and power limits in the MCP.
1440 ips->limits = ips_detect_cpu(ips);
1441 if (!ips->limits) {
1482 /* BIOS may update limits at runtime */
1530 /* Save turbo limits & ratios */