/linux/drivers/soc/qcom/ |
A D | rpmpd.c | 109 unsigned int max_state; member 116 unsigned int max_state; member 139 .max_state = RPM_SMD_LEVEL_TURBO, 165 .max_state = MAX_CORNER_RPMPD_STATE, 185 .max_state = MAX_CORNER_RPMPD_STATE, 208 .max_state = RPM_SMD_LEVEL_TURBO, 311 .max_state = RPM_SMD_LEVEL_BINNING, 369 .max_state = RPM_SMD_LEVEL_TURBO, 519 if (state > pd->max_state) in rpmpd_set_performance() 520 state = pd->max_state; in rpmpd_set_performance() [all …]
|
/linux/drivers/thermal/ |
A D | devfreq_cooling.c | 54 size_t max_state; member 67 *state = dfc->max_state; in devfreq_cooling_get_max_state() 96 if (state > dfc->max_state) in devfreq_cooling_set_cur_state() 100 perf_idx = dfc->max_state - state; in devfreq_cooling_set_cur_state() 242 if (state > dfc->max_state) in devfreq_cooling_state2power() 245 perf_idx = dfc->max_state - state; in devfreq_cooling_state2power() 282 for (i = dfc->max_state; i > 0; i--) in devfreq_cooling_power2state() 286 *state = dfc->max_state - i; in devfreq_cooling_power2state() 397 dfc->max_state = num_opps - 1; in of_devfreq_cooling_register_power()
|
A D | gov_fair_share.c | 52 unsigned long max_state; in get_target_state() local 54 cdev->ops->get_max_state(cdev, &max_state); in get_target_state() 56 return (long)(percentage * level * max_state) / (100 * tz->trips); in get_target_state()
|
A D | thermal_netlink.h | 22 int thermal_notify_cdev_add(int cdev_id, const char *name, int max_state); 85 int max_state) in thermal_notify_cdev_add() argument
|
A D | thermal_core.c | 630 unsigned long max_state; in thermal_zone_bind_cooling_device() local 648 ret = cdev->ops->get_max_state(cdev, &max_state); in thermal_zone_bind_cooling_device() 654 upper = upper == THERMAL_NO_LIMIT ? max_state : upper; in thermal_zone_bind_cooling_device() 656 if (lower > upper || upper > max_state) in thermal_zone_bind_cooling_device()
|
/linux/drivers/devfreq/ |
A D | governor_passive.c | 49 || devfreq->profile->max_state <= 0) in devfreq_passive_get_target_freq() 81 for (i = 0; i < parent_devfreq->profile->max_state; i++) in devfreq_passive_get_target_freq() 85 if (i == parent_devfreq->profile->max_state) in devfreq_passive_get_target_freq() 89 if (i < devfreq->profile->max_state) { in devfreq_passive_get_target_freq() 92 count = devfreq->profile->max_state; in devfreq_passive_get_target_freq()
|
A D | devfreq.c | 190 profile->max_state = count; in set_freq_table() 192 profile->max_state, in set_freq_table() 196 profile->max_state = 0; in set_freq_table() 204 profile->max_state = 0; in set_freq_table() 879 devfreq->profile->max_state, in devfreq_add_device() 1685 unsigned int max_state; in trans_stat_show() local 1689 max_state = df->profile->max_state; in trans_stat_show() 1691 if (max_state == 0) in trans_stat_show() 1704 for (i = 0; i < max_state; i++) in trans_stat_show() 1753 df->profile->max_state, in trans_stat_store() [all …]
|
A D | exynos-bus.c | 395 int ret, max_state; in exynos_bus_probe() local 450 max_state = bus->devfreq->profile->max_state; in exynos_bus_probe() 452 max_freq = (bus->devfreq->profile->freq_table[max_state - 1] / 1000); in exynos_bus_probe()
|
/linux/drivers/cpufreq/ |
A D | cpufreq_stats.c | 18 unsigned int max_state; member 41 unsigned int count = stats->max_state; in cpufreq_stats_reset_table() 158 count = stats->trans_table[i * stats->max_state + j]; in show_trans_table() 190 for (index = 0; index < stats->max_state; index++) in freq_table_get_index() 244 stats->max_state = count; in cpufreq_stats_create_table() 288 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
|
/linux/drivers/acpi/ |
A D | processor_thermal.c | 174 int max_state = 0; in acpi_processor_max_state() local 180 max_state += cpufreq_get_max_state(pr->id); in acpi_processor_max_state() 182 max_state += (pr->throttling.state_count -1); in acpi_processor_max_state() 184 return max_state; in acpi_processor_max_state()
|
/linux/drivers/thermal/intel/ |
A D | intel_menlow.c | 49 unsigned long *max_state) in memory_get_max_bandwidth() argument 70 *max_state = value - 1; in memory_get_max_bandwidth() 106 unsigned long max_state; in memory_set_cur_bandwidth() local 108 if (memory_get_max_bandwidth(cdev, &max_state)) in memory_set_cur_bandwidth() 111 if (state > max_state) in memory_set_cur_bandwidth()
|
/linux/drivers/thermal/intel/int340x_thermal/ |
A D | int3403_thermal.c | 41 unsigned long max_state; member 128 *state = obj->max_state; in int3403_get_max_state() 190 obj->max_state = p->package.count - 1; in int3403_cdev_add()
|
/linux/tools/thermal/tmon/ |
A D | sysfs.c | 98 sysfs_get_ulong(path, "max_state", &cdi->max_state); in probe_cdev() 103 cdi->type, cdi->max_state, cdi->cur_state, cdi->instance); in probe_cdev() 541 if (ptdata.cdi[i].max_state < 10) { in set_ctrl_state() 546 cdev_state = state * ptdata.cdi[i].max_state/100; in set_ctrl_state()
|
A D | tmon.h | 50 unsigned long max_state; member
|
A D | tui.c | 220 ptdata.cdi[j].max_state); in show_cooling_device()
|
/linux/drivers/interconnect/qcom/ |
A D | osm-l3.c | 46 unsigned int max_state; member 188 for (index = 0; index < qp->max_state - 1; index++) { in qcom_osm_l3_set() 273 qp->max_state = i; in qcom_osm_l3_probe()
|
/linux/Documentation/hwmon/ |
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/ |
A D | core_thermal.c | 46 int max_state; member 55 .max_state = (4 * MLXSW_THERMAL_MAX_STATE) / 10, 63 .max_state = MLXSW_THERMAL_MAX_STATE, 69 .max_state = MLXSW_THERMAL_MAX_STATE, 232 trip->max_state, in mlxsw_thermal_bind() 387 trip->max_state, in mlxsw_thermal_module_bind()
|
/linux/Documentation/ABI/testing/ |
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/ |
A D | aspeed-pwm-tacho.c | 176 u8 max_state; member 763 *state = cdev->max_state; in aspeed_pwm_cz_get_max_state() 785 if (state > cdev->max_state) in aspeed_pwm_cz_set_cur_state() 820 cdev->max_state = num_levels - 1; in aspeed_create_pwm_cooling()
|
A D | npcm750-pwm-fan.c | 187 u8 max_state; member 783 *state = cdev->max_state; in npcm7xx_pwm_cz_get_max_state() 806 if (state > cdev->max_state) in npcm7xx_pwm_cz_set_cur_state() 838 cdev->max_state = num_levels - 1; in npcm7xx_create_pwm_cooling()
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_gpu_devfreq.c | 115 msm_devfreq_profile.max_state = 0; in msm_devfreq_init()
|
/linux/include/linux/ |
A D | devfreq.h | 119 unsigned int max_state; member
|
/linux/Documentation/driver-api/thermal/ |
A D | sysfs-api.rst | 278 and the cooling device can be in max_state. 403 |---max_state: Maximum cooling state of the cooling device 481 |---max_state: 8 486 |---max_state: 2
|
A D | intel_powerclamp.rst | 271 max_state:50 276 max_state will start the idle injection. Reading cur_state returns the
|