Searched refs:max_state (Results 1 - 4 of 4) sorted by relevance

/drivers/acpi/
H A Dprocessor_thermal.c204 int max_state = 0; local
210 max_state += cpufreq_get_max_state(pr->id);
212 max_state += (pr->throttling.state_count -1);
214 return max_state;
/drivers/cpufreq/
H A Dcpufreq_stats.c37 unsigned int max_state; member in struct:cpufreq_stats
129 stat->trans_table[i*stat->max_state+j]);
161 for (index = 0; index < stat->max_state; index++)
231 stat->max_state = count;
312 stat->trans_table[old_index * stat->max_state + new_index]++;
/drivers/platform/x86/
H A Dintel_menlow.c66 unsigned long *max_state)
87 *max_state = value - 1;
123 unsigned long max_state; local
125 if (memory_get_max_bandwidth(cdev, &max_state))
128 if (state > max_state)
65 memory_get_max_bandwidth(struct thermal_cooling_device *cdev, unsigned long *max_state) argument
/drivers/thermal/
H A Dthermal_sys.c377 static DEVICE_ATTR(max_state, 0444,
675 long state, max_state; local
698 cdev->ops->get_max_state(cdev, &max_state);
699 if (state++ < max_state)
709 cdev->ops->get_max_state(cdev, &max_state);
729 cdev->ops->get_max_state(cdev, &max_state);

Completed in 6077 milliseconds