Lines Matching defs:max

157  * @max:		VID data corresponding to the highest P State.
159 * @ratio: Ratio of (vid max - vid min) /
160 * (max P state - Min P State)
168 int max;
838 int max, min;
842 max = cpu_data->max_perf_ratio;
846 min = max;
854 value |= HWP_MAX_PERF(max);
1394 * return without creating max/min_perf_pct attributes
1499 vid_fp = clamp_t(int32_t, vid_fp, cpudata->vid.min, cpudata->vid.max);
1545 cpudata->vid.max = int_tofp((value >> 16) & 0x7f);
1547 cpudata->vid.max - cpudata->vid.min,
1706 int pstate = max(cpu->pstate.min_pstate, cpu->max_perf_ratio);
1758 * If, P0 (Turbo max) = P1 (Guaranteed max) = min:
1760 * If, P0 (Turbo max) > P1 (Guaranteed max) = min:
1762 * If, P0 (Turbo max) = P1 (Guaranteed max) > min:
1765 * If, P0 (Turbo max) > P1 (Guaranteed max) > min:
1770 /* If max and min are equal or already at max, nothing to boost */
1948 int min_pstate = max(cpu->pstate.min_pstate, cpu->min_perf_ratio);
1949 int max_pstate = max(min_pstate, cpu->max_perf_ratio);
2244 cpu->min_perf_ratio = max(min_policy_perf, global_min);
2247 cpu->max_perf_ratio = max(min_policy_perf, cpu->max_perf_ratio);
2266 pr_debug("set_policy cpuinfo.max %u policy->max %u\n",
2267 policy->cpuinfo.max_freq, policy->max);
2274 intel_pstate_update_perf_limits(cpu, policy->min, policy->max);
2308 policy->max < policy->cpuinfo.max_freq &&
2309 policy->max > cpu->pstate.max_freq) {
2310 pr_debug("policy->max > max non turbo frequency\n");
2311 policy->max = policy->cpuinfo.max_freq;
2417 policy->max = cpu->pstate.turbo_pstate * cpu->pstate.scaling;
2485 intel_pstate_update_perf_limits(cpu, policy->min, policy->max);
2538 * field in it, so opportunistically update the max too if needed.
2692 dev_err(dev, "Failed to add max-freq constraint (%d)\n", ret);