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
617 * cpu_exceeded - check whether a CPU core is outside its limits
631 if (avg > (ips->limits->core_temp_limit * 100))
655 if (ips->mch_avg_temp > (ips->limits->mch_temp_limit * 100))
665 * verify_limits - verify BIOS provided limits
668 * BIOS can optionally provide non-default limits for power and temp. Check
674 if (ips->mcp_power_limit < ips->limits->mcp_power_limit ||
676 ips->mcp_power_limit = ips->limits->mcp_power_limit;
678 if (ips->mcp_temp_limit < ips->limits->core_temp_limit ||
679 ips->mcp_temp_limit < ips->limits->mch_temp_limit ||
681 ips->mcp_temp_limit = min(ips->limits->core_temp_limit,
682 ips->limits->mch_temp_limit);
686 * update_turbo_limits - get various limits & settings from regs
689 * Update the IPS power & temp limits, along with turbo enable flags,
1211 /* Expose current state and limits in debugfs if possible */
1298 * return the limits for it.
1303 struct ips_mcp_limits *limits = NULL;
1323 limits = &ips_sv_limits;
1325 limits = &ips_lv_limits;
1327 limits = &ips_ulv_limits;
1337 if (limits->core_power_limit != (tdp / 8) * 1000) {
1340 tdp / 8, limits->core_power_limit / 1000);
1341 limits->core_power_limit = (tdp / 8) * 1000;
1344 return limits;
1354 * thermal and power limits in the MCP.
1457 ips->limits = ips_detect_cpu(ips);
1458 if (!ips->limits) {
1499 /* BIOS may update limits at runtime */
1547 /* Save turbo limits & ratios */