Lines Matching refs:limits
321 struct ips_mcp_limits *limits; member
636 if (avg > (ips->limits->core_temp_limit * 100)) in cpu_exceeded()
662 if (ips->mch_avg_temp > (ips->limits->mch_temp_limit * 100)) in mch_exceeded()
681 if (ips->mcp_power_limit < ips->limits->mcp_power_limit || in verify_limits()
683 ips->mcp_power_limit = ips->limits->mcp_power_limit; in verify_limits()
685 if (ips->mcp_temp_limit < ips->limits->core_temp_limit || in verify_limits()
686 ips->mcp_temp_limit < ips->limits->mch_temp_limit || in verify_limits()
688 ips->mcp_temp_limit = min(ips->limits->core_temp_limit, in verify_limits()
689 ips->limits->mch_temp_limit); in verify_limits()
1285 struct ips_mcp_limits *limits = NULL; in ips_detect_cpu() local
1305 limits = &ips_sv_limits; in ips_detect_cpu()
1307 limits = &ips_lv_limits; in ips_detect_cpu()
1309 limits = &ips_ulv_limits; in ips_detect_cpu()
1319 if (limits->core_power_limit != (tdp / 8) * 1000) { in ips_detect_cpu()
1322 tdp / 8, limits->core_power_limit / 1000); in ips_detect_cpu()
1323 limits->core_power_limit = (tdp / 8) * 1000; in ips_detect_cpu()
1326 return limits; in ips_detect_cpu()
1441 ips->limits = ips_detect_cpu(ips); in ips_probe()
1442 if (!ips->limits) { in ips_probe()