Lines Matching refs:limits
333 struct ips_mcp_limits *limits; member
644 if (avg > (ips->limits->core_temp_limit * 100)) in cpu_exceeded()
669 if (ips->mch_avg_temp > (ips->limits->mch_temp_limit * 100)) in mch_exceeded()
688 if (ips->mcp_power_limit < ips->limits->mcp_power_limit || in verify_limits()
690 ips->mcp_power_limit = ips->limits->mcp_power_limit; in verify_limits()
692 if (ips->mcp_temp_limit < ips->limits->core_temp_limit || in verify_limits()
693 ips->mcp_temp_limit < ips->limits->mch_temp_limit || in verify_limits()
695 ips->mcp_temp_limit = min(ips->limits->core_temp_limit, in verify_limits()
696 ips->limits->mch_temp_limit); in verify_limits()
1371 struct ips_mcp_limits *limits = NULL; in ips_detect_cpu() local
1391 limits = &ips_sv_limits; in ips_detect_cpu()
1393 limits = &ips_lv_limits; in ips_detect_cpu()
1395 limits = &ips_ulv_limits; in ips_detect_cpu()
1405 if (limits->core_power_limit != (tdp / 8) * 1000) { in ips_detect_cpu()
1407 tdp / 8, limits->core_power_limit / 1000); in ips_detect_cpu()
1408 limits->core_power_limit = (tdp / 8) * 1000; in ips_detect_cpu()
1412 return limits; in ips_detect_cpu()
1526 ips->limits = ips_detect_cpu(ips); in ips_probe()
1527 if (!ips->limits) { in ips_probe()