Lines Matching refs:limits
320 struct ips_mcp_limits *limits; member
631 if (avg > (ips->limits->core_temp_limit * 100)) in cpu_exceeded()
655 if (ips->mch_avg_temp > (ips->limits->mch_temp_limit * 100)) in mch_exceeded()
674 if (ips->mcp_power_limit < ips->limits->mcp_power_limit || in verify_limits()
676 ips->mcp_power_limit = ips->limits->mcp_power_limit; in verify_limits()
678 if (ips->mcp_temp_limit < ips->limits->core_temp_limit || in verify_limits()
679 ips->mcp_temp_limit < ips->limits->mch_temp_limit || in verify_limits()
681 ips->mcp_temp_limit = min(ips->limits->core_temp_limit, in verify_limits()
682 ips->limits->mch_temp_limit); in verify_limits()
1303 struct ips_mcp_limits *limits = NULL; in ips_detect_cpu() local
1323 limits = &ips_sv_limits; in ips_detect_cpu()
1325 limits = &ips_lv_limits; in ips_detect_cpu()
1327 limits = &ips_ulv_limits; in ips_detect_cpu()
1337 if (limits->core_power_limit != (tdp / 8) * 1000) { in ips_detect_cpu()
1340 tdp / 8, limits->core_power_limit / 1000); in ips_detect_cpu()
1341 limits->core_power_limit = (tdp / 8) * 1000; in ips_detect_cpu()
1344 return limits; in ips_detect_cpu()
1457 ips->limits = ips_detect_cpu(ips); in ips_probe()
1458 if (!ips->limits) { in ips_probe()