Lines Matching defs:max
152 * @max: VID data corresponding to the highest P State.
154 * @ratio: Ratio of (vid max - vid min) /
155 * (max P state - Min P State)
163 int max;
972 int max, min;
976 max = cpu_data->max_perf_ratio;
980 min = max;
988 value |= HWP_MAX_PERF(max);
1559 * return without creating max/min_perf_pct attributes
1804 vid_fp = clamp_t(int32_t, vid_fp, cpudata->vid.min, cpudata->vid.max);
1850 cpudata->vid.max = int_tofp((value >> 16) & 0x7f);
1852 cpudata->vid.max - cpudata->vid.min,
2037 int pstate = max(cpu->pstate.min_pstate, cpu->max_perf_ratio);
2101 * If, P0 (Turbo max) = P1 (Guaranteed max) = min:
2103 * If, P0 (Turbo max) > P1 (Guaranteed max) = min:
2105 * If, P0 (Turbo max) = P1 (Guaranteed max) > min:
2108 * If, P0 (Turbo max) > P1 (Guaranteed max) > min:
2113 /* If max and min are equal or already at max, nothing to boost */
2291 int min_pstate = max(cpu->pstate.min_pstate, cpu->min_perf_ratio);
2292 int max_pstate = max(min_pstate, cpu->max_perf_ratio);
2583 cpu->min_perf_ratio = max(min_policy_perf, global_min);
2586 cpu->max_perf_ratio = max(min_policy_perf, cpu->max_perf_ratio);
2605 pr_debug("set_policy cpuinfo.max %u policy->max %u\n",
2606 policy->cpuinfo.max_freq, policy->max);
2613 intel_pstate_update_perf_limits(cpu, policy->min, policy->max);
2652 policy->max < policy->cpuinfo.max_freq &&
2653 policy->max > cpu->pstate.max_freq) {
2654 pr_debug("policy->max > max non turbo frequency\n");
2655 policy->max = policy->cpuinfo.max_freq;
2767 policy->max = policy->cpuinfo.max_freq;
2817 intel_pstate_update_perf_limits(cpu, policy->min, policy->max);
2860 static void intel_cpufreq_hwp_update(struct cpudata *cpu, u32 min, u32 max,
2869 value |= HWP_MAX_PERF(max);
3061 dev_err(dev, "Failed to add max-freq constraint (%d)\n", ret);
3412 * Set EPP value as 102, this is the max suggested EPP