Lines Matching refs:limits
331 struct ips_mcp_limits *limits; member
642 if (avg > (ips->limits->core_temp_limit * 100)) in cpu_exceeded()
666 if (ips->mch_avg_temp > (ips->limits->mch_temp_limit * 100)) in mch_exceeded()
685 if (ips->mcp_power_limit < ips->limits->mcp_power_limit || in verify_limits()
687 ips->mcp_power_limit = ips->limits->mcp_power_limit; in verify_limits()
689 if (ips->mcp_temp_limit < ips->limits->core_temp_limit || in verify_limits()
690 ips->mcp_temp_limit < ips->limits->mch_temp_limit || in verify_limits()
692 ips->mcp_temp_limit = min(ips->limits->core_temp_limit, in verify_limits()
693 ips->limits->mch_temp_limit); in verify_limits()
1362 struct ips_mcp_limits *limits = NULL; in ips_detect_cpu() local
1382 limits = &ips_sv_limits; in ips_detect_cpu()
1384 limits = &ips_lv_limits; in ips_detect_cpu()
1386 limits = &ips_ulv_limits; in ips_detect_cpu()
1396 if (limits->core_power_limit != (tdp / 8) * 1000) { in ips_detect_cpu()
1399 tdp / 8, limits->core_power_limit / 1000); in ips_detect_cpu()
1400 limits->core_power_limit = (tdp / 8) * 1000; in ips_detect_cpu()
1403 return limits; in ips_detect_cpu()
1516 ips->limits = ips_detect_cpu(ips); in ips_probe()
1517 if (!ips->limits) { in ips_probe()