| /linux/drivers/platform/x86/ |
| H A D | msi-ec.c | 116 .max_state = 3, 197 .max_state = 3, 275 .max_state = 3, 353 .max_state = 3, 430 .max_state = 3, 509 .max_state = 3, 588 .max_state = 3, 668 .max_state = 3, 745 .max_state = 3, 822 .max_state [all...] |
| H A D | msi-ec.h | 103 int max_state; member
|
| /linux/drivers/cpufreq/ |
| H A D | cpufreq_stats.c | 18 unsigned int max_state; member 41 unsigned int count = stats->max_state; in cpufreq_stats_reset_table() 160 count = stats->trans_table[i * stats->max_state + j]; in show_trans_table() 192 for (index = 0; index < stats->max_state; index++) in freq_table_get_index() 246 stats->max_state = count; in cpufreq_stats_create_table() 291 stats->trans_table[old_index * stats->max_state + new_index]++;
|
| /linux/drivers/thermal/ |
| H A D | thermal_sysfs.c | 523 return sysfs_emit(buf, "%ld\n", cdev->max_state); in cur_state_show() 551 /* Requested state should be less than max_state + 1 */ in cur_state_store() 552 if (state > cdev->max_state) in cur_state_store() 568 static DEVICE_ATTR_RO(max_state); 624 stats->trans_table[stats->state * (cdev->max_state + 1) + new_state]++; in total_trans_show() 671 for (i = 0; i <= cdev->max_state; i++) { 694 states = cdev->max_state + 1; in reset_store() 727 for (i = 0; i <= cdev->max_state; i++) { in trans_table_show() 735 for (i = 0; i <= cdev->max_state; i++) { in trans_table_show() 741 for (j = 0; j <= cdev->max_state; in trans_table_show() [all...] |
| H A D | thermal_core.c | 769 /* lower default 0, upper default max_state */ in thermal_bind_cdev_to_trip() 774 cool_spec->upper = cdev->max_state; in thermal_bind_cdev_to_trip() 780 if (cool_spec->lower > cool_spec->upper || cool_spec->upper > cdev->max_state) in thermal_bind_cdev_to_trip() 1027 ret = cdev->ops->get_max_state(cdev, &cdev->max_state); in thermal_cooling_device_add() 1049 if (current_state <= cdev->max_state) in thermal_cooling_device_add() 1187 if (cdev->ops->get_max_state(cdev, &cdev->max_state)) in thermal_cooling_device_update() 1193 if (ti->upper == cdev->max_state) in thermal_cooling_device_update() 1196 if (ti->upper < cdev->max_state) { in thermal_cooling_device_update() 1198 ti->upper = cdev->max_state; in thermal_cooling_device_update() 1203 ti->upper = cdev->max_state; in thermal_cooling_device_update() [all...] |
| H A D | thermal_netlink.c | 422 .cdev_max_state = cdev->max_state }; in thermal_notify_cdev_add()
|
| /linux/drivers/acpi/ |
| H A D | processor_thermal.c | 222 int max_state = 0; in acpi_processor_max_state() local 228 max_state += cpufreq_get_max_state(pr->id); in acpi_processor_max_state() 230 max_state += (pr->throttling.state_count -1); in acpi_processor_max_state() 232 return max_state; in acpi_processor_max_state()
|
| /linux/drivers/devfreq/ |
| H A D | sun8i-a33-mbus.c | 337 unsigned int max_state; in sun8i_a33_mbus_probe() local 345 max_state = variant->max_dram_divider - variant->min_dram_divider + 1; in sun8i_a33_mbus_probe() 347 priv = devm_kzalloc_flex(dev, *priv, freq_table, max_state); in sun8i_a33_mbus_probe() 396 priv->profile.max_state = max_state; in sun8i_a33_mbus_probe() 403 for (i = 0; i < max_state; ++i) { in sun8i_a33_mbus_probe()
|
| H A D | governor_passive.c | 172 for (i = 0; i < parent_devfreq->max_state; i++) in get_target_freq_with_devfreq() 176 if (i == parent_devfreq->max_state) in get_target_freq_with_devfreq() 179 if (i < devfreq->max_state) { in get_target_freq_with_devfreq() 182 count = devfreq->max_state; in get_target_freq_with_devfreq()
|
| /linux/Documentation/hwmon/ |
| H A D | emc2305.rst | 34 cur_state RW file for the current cooling state of the cooling device (0..max_state) 35 max_state RO file for the maximum cooling state of the cooling device
|
| H A D | mlxreg-fan.rst | 68 (0..max_state) 69 max_state RO file for maximum cooling state of the cooling device
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | core_thermal.c | 39 int max_state; member 87 .max_state = (4 * MLXSW_THERMAL_MAX_STATE) / 10, 91 .max_state = MLXSW_THERMAL_MAX_STATE, 95 .max_state = MLXSW_THERMAL_MAX_STATE, 180 c->upper = state->max_state; in mlxsw_thermal_should_bind() 230 c->upper = state->max_state; in mlxsw_thermal_module_should_bind()
|
| /linux/tools/thermal/tmon/ |
| H A D | sysfs.c | 99 sysfs_get_ulong(path, "max_state", &cdi->max_state); in probe_cdev() 104 cdi->type, cdi->max_state, cdi->cur_state, cdi->instance); in probe_cdev() 543 if (ptdata.cdi[i].max_state < 10) { in set_ctrl_state() 547 /* scale to percentage of max_state */ in set_ctrl_state() 548 cdev_state = state * ptdata.cdi[i].max_state/100; in set_ctrl_state()
|
| H A D | tmon.h | 53 unsigned long max_state; member
|
| H A D | tui.c | 220 ptdata.cdi[j].max_state); in show_cooling_device()
|
| /linux/tools/lib/thermal/include/ |
| H A D | thermal.h | 39 int (*cdev_add)(const char *name, int cdev_id, int max_state, void *arg); 79 int max_state; member
|
| /linux/include/linux/ |
| H A D | devfreq.h | 121 unsigned int max_state; member 196 unsigned int max_state; member
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-thermal | 210 What: /sys/class/thermal/cooling_deviceX/max_state 219 The value can any integer numbers between 0 and max_state: 222 - cur_state == max_state means the maximum cooling.
|
| /linux/drivers/hwmon/ |
| H A D | aspeed-pwm-tacho.c | 177 u8 max_state; member 777 *state = cdev->max_state; in aspeed_pwm_cz_get_max_state() 799 if (state > cdev->max_state) in aspeed_pwm_cz_set_cur_state() 834 cdev->max_state = num_levels - 1; in aspeed_create_pwm_cooling()
|
| H A D | npcm750-pwm-fan.c | 191 u8 max_state; 804 *state = cdev->max_state; 827 if (state > cdev->max_state) in npcm7xx_pwm_cz_set_cur_state() 859 cdev->max_state = num_levels - 1; in npcm7xx_create_pwm_cooling() 190 u8 max_state; global() member
|
| /linux/Documentation/admin-guide/thermal/ |
| H A D | intel_powerclamp.rst | 275 max_state:50 280 max_state will start the idle injection. Reading cur_state returns the 341 from 1 to 100. Even if the cooling device max_state is always 100 (100%),
|
| /linux/drivers/thermal/tegra/ |
| H A D | soctherm.c | 1510 unsigned long *max_state) in throt_get_cdev_max_state() argument 1512 *max_state = 1; in throt_get_cdev_max_state()
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 11386 int min_state = 1024, max_state = 0; in cpuidle_counter_wanted() 11419 if (state > max_state) in probe_cpuidle_counts() 11420 max_state = state; in probe_cpuidle_counts() 11440 int min_state = 1024, max_state = 0; in probe_cpuidle_counts() 11467 if (state != max_state) { in parse_cpu_command() 11345 int min_state = 1024, max_state = 0; probe_cpuidle_residency() local 11399 int min_state = 1024, max_state = 0; probe_cpuidle_counts() local
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | display_mode_core_structs.h | 818 …struct soc_state_bounding_box_st max_state; //<brief The MAX power state; some algo needs to know … member
|