Home
last modified time | relevance | path

Searched refs:max_state (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/platform/x86/
H A Dmsi-ec.c116 .max_state = 3,
196 .max_state = 3,
274 .max_state = 3,
352 .max_state = 3,
429 .max_state = 3,
508 .max_state = 3,
587 .max_state = 3,
667 .max_state = 3,
744 .max_state = 3,
821 .max_state = 3,
[all …]
H A Dmsi-ec.h103 int max_state; member
/linux/drivers/cpufreq/
H A Dcpufreq_stats.c18 unsigned int max_state; member
41 unsigned int count = stats->max_state; in cpufreq_stats_reset_table()
156 count = stats->trans_table[i * stats->max_state + j]; in show_trans_table()
188 for (index = 0; index < stats->max_state; index++) in freq_table_get_index()
242 stats->max_state = count; in cpufreq_stats_create_table()
287 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
/linux/drivers/acpi/
H A Dprocessor_thermal.c222 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 Dsun8i-a33-mbus.c337 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(dev, struct_size(priv, freq_table, max_state), GFP_KERNEL); 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 Dgovernor_passive.c172 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 Demc2305.rst34 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 Dmlxreg-fan.rst68 (0..max_state)
69 max_state RO file for maximum cooling state of the cooling device
/linux/drivers/interconnect/qcom/
H A Dosm-l3.c41 unsigned int max_state; member
126 for (index = 0; index < qp->max_state - 1; index++) { in qcom_osm_l3_set()
211 qp->max_state = i; in qcom_osm_l3_probe()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_thermal.c39 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 Dsysfs.c99 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()
548 cdev_state = state * ptdata.cdi[i].max_state/100; in set_ctrl_state()
H A Dtmon.h53 unsigned long max_state; member
H A Dtui.c220 ptdata.cdi[j].max_state); in show_cooling_device()
/linux/include/linux/
H A Ddevfreq.h121 unsigned int max_state; member
196 unsigned int max_state; member
/linux/Documentation/ABI/testing/
H A Dsysfs-class-thermal210 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 Dnpcm750-pwm-fan.c190 u8 max_state; member
799 *state = cdev->max_state; in npcm7xx_pwm_cz_get_max_state()
822 if (state > cdev->max_state) in npcm7xx_pwm_cz_set_cur_state()
854 cdev->max_state = num_levels - 1; in npcm7xx_create_pwm_cooling()
/linux/Documentation/admin-guide/thermal/
H A Dintel_powerclamp.rst275 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/
H A Dthermal_netlink.c422 .cdev_max_state = cdev->max_state }; in thermal_notify_cdev_add()
/linux/tools/power/x86/turbostat/
H A Dturbostat.c11323 int min_state = 1024, max_state = 0; in probe_cpuidle_residency() local
11356 if (state > max_state) in probe_cpuidle_residency()
11357 max_state = state; in probe_cpuidle_residency()
11377 int min_state = 1024, max_state = 0; in probe_cpuidle_counts() local
11404 if (state != max_state) { in probe_cpuidle_counts()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddisplay_mode_core_structs.h818 …struct soc_state_bounding_box_st max_state; //<brief The MAX power state; some algo needs to know … member