Home
last modified time | relevance | path

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

12

/linux/drivers/soc/qcom/
A Drpmpd.c109 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 Ddevfreq_cooling.c54 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 Dgov_fair_share.c52 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 Dthermal_netlink.h22 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 Dthermal_core.c630 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 Dgovernor_passive.c49 || 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 Ddevfreq.c190 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 Dexynos-bus.c395 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 Dcpufreq_stats.c18 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 Dprocessor_thermal.c174 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 Dintel_menlow.c49 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 Dint3403_thermal.c41 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 Dsysfs.c98 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 Dtmon.h50 unsigned long max_state; member
A Dtui.c220 ptdata.cdi[j].max_state); in show_cooling_device()
/linux/drivers/interconnect/qcom/
A Dosm-l3.c46 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 Dmlxreg-fan.rst68 (0..max_state)
69 max_state RO file for maximum cooling state of the cooling device
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dcore_thermal.c46 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 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/
A Daspeed-pwm-tacho.c176 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 Dnpcm750-pwm-fan.c187 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 Dmsm_gpu_devfreq.c115 msm_devfreq_profile.max_state = 0; in msm_devfreq_init()
/linux/include/linux/
A Ddevfreq.h119 unsigned int max_state; member
/linux/Documentation/driver-api/thermal/
A Dsysfs-api.rst278 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 Dintel_powerclamp.rst271 max_state:50
276 max_state will start the idle injection. Reading cur_state returns the

Completed in 55 milliseconds

12