/linux-4.4.14/drivers/thermal/ |
D | fair_share.c | 64 unsigned long max_state; in get_target_state() local 66 cdev->ops->get_max_state(cdev, &max_state); in get_target_state() 68 return (long)(percentage * level * max_state) / (100 * tz->trips); in get_target_state()
|
D | db8500_thermal.c | 67 unsigned long max_state, upper, lower; in db8500_cdev_bind() local 70 cdev->ops->get_max_state(cdev, &max_state); in db8500_cdev_bind() 76 upper = lower = i > max_state ? max_state : i; in db8500_cdev_bind()
|
D | thermal_core.c | 1054 unsigned long max_state; in power_actor_get_min_power() local 1060 ret = cdev->ops->get_max_state(cdev, &max_state); in power_actor_get_min_power() 1064 return cdev->ops->state2power(cdev, tz, max_state, min_power); in power_actor_get_min_power() 1169 static DEVICE_ATTR(max_state, 0444, 1268 unsigned long max_state; in thermal_zone_bind_cooling_device() local 1286 ret = cdev->ops->get_max_state(cdev, &max_state); in thermal_zone_bind_cooling_device() 1292 upper = upper == THERMAL_NO_LIMIT ? max_state : upper; in thermal_zone_bind_cooling_device() 1294 if (lower > upper || upper > max_state) in thermal_zone_bind_cooling_device()
|
/linux-4.4.14/drivers/acpi/ |
D | processor_thermal.c | 185 int max_state = 0; in acpi_processor_max_state() local 191 max_state += cpufreq_get_max_state(pr->id); in acpi_processor_max_state() 193 max_state += (pr->throttling.state_count -1); in acpi_processor_max_state() 195 return max_state; in acpi_processor_max_state()
|
/linux-4.4.14/drivers/cpufreq/ |
D | cpufreq_stats.c | 23 unsigned int max_state; member 95 stats->trans_table[i*stats->max_state+j]); in show_trans_table() 127 for (index = 0; index < stats->max_state; index++) in freq_table_get_index() 204 stats->max_state = count; in __cpufreq_stats_create_table() 297 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stat_notifier_trans()
|
/linux-4.4.14/drivers/devfreq/ |
D | devfreq.c | 80 for (lev = 0; lev < devfreq->profile->max_state; lev++) in devfreq_get_freq_level() 116 devfreq->profile->max_state) + lev]++; in devfreq_update_status() 482 devfreq->profile->max_state * in devfreq_add_device() 483 devfreq->profile->max_state, in devfreq_add_device() 486 devfreq->profile->max_state, in devfreq_add_device() 1003 unsigned int max_state = devfreq->profile->max_state; in trans_stat_show() local 1011 for (i = 0; i < max_state; i++) in trans_stat_show() 1017 for (i = 0; i < max_state; i++) { in trans_stat_show() 1026 for (j = 0; j < max_state; j++) in trans_stat_show() 1028 devfreq->trans_table[(i * max_state) + j]); in trans_stat_show()
|
/linux-4.4.14/drivers/platform/x86/ |
D | intel_menlow.c | 64 unsigned long *max_state) in memory_get_max_bandwidth() argument 85 *max_state = value - 1; in memory_get_max_bandwidth() 121 unsigned long max_state; in memory_set_cur_bandwidth() local 123 if (memory_get_max_bandwidth(cdev, &max_state)) in memory_set_cur_bandwidth() 126 if (state > max_state) in memory_set_cur_bandwidth()
|
/linux-4.4.14/drivers/thermal/int340x_thermal/ |
D | int3403_thermal.c | 48 unsigned long max_state; member 129 *state = obj->max_state; in int3403_get_max_state() 190 obj->max_state = p->package.count - 1; in int3403_cdev_add()
|
/linux-4.4.14/tools/thermal/tmon/ |
D | sysfs.c | 107 sysfs_get_ulong(path, "max_state", &cdi->max_state); in probe_cdev() 112 cdi->type, cdi->max_state, cdi->cur_state, cdi->instance); in probe_cdev() 548 if (ptdata.cdi[i].max_state < 10) { in set_ctrl_state() 553 cdev_state = state * ptdata.cdi[i].max_state/100; in set_ctrl_state()
|
D | tmon.h | 59 unsigned long max_state; member
|
D | tui.c | 229 ptdata.cdi[j].max_state); in show_cooling_device()
|
/linux-4.4.14/Documentation/thermal/ |
D | sysfs-api.txt | 109 and the cooling device can be in max_state. 200 |---max_state: Maximum cooling state of the cooling device 394 max_state 400 The value can any integer numbers between 0 and max_state: 402 - cur_state == max_state means the maximum cooling. 443 |---max_state: 8 448 |---max_state: 2
|
D | intel_powerclamp.txt | 268 max_state:50
|
/linux-4.4.14/include/linux/ |
D | devfreq.h | 93 unsigned int max_state; member
|