Home
last modified time | relevance | path

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

/tools/lib/thermal/include/
A Dthermal.h39 int (*cdev_add)(const char *name, int cdev_id, int max_state, void *arg);
79 int max_state; member
/tools/thermal/tmon/
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()
A Dtmon.h53 unsigned long max_state; member
A Dtui.c220 ptdata.cdi[j].max_state); in show_cooling_device()
/tools/testing/selftests/pcie_bwctrl/
A Dset_pcie_cooling_state.sh57 max=`cat $port/max_state`
/tools/thermal/thermal-engine/
A Dthermal-engine.c201 static int cdev_add(const char *name, int cdev_id, int max_state, __maybe_unused void *arg) in cdev_add() argument
203 INFO("Cooling device '%s'/%d (max state=%d) added\n", name, cdev_id, max_state); in cdev_add()
/tools/lib/thermal/
A Dcommands.c107 __cdev[size - 1].max_state = nla_get_u32(attr); in parse_cdev_get()
/tools/power/x86/turbostat/
A Dturbostat.c10850 int min_state = 1024, max_state = 0; in probe_cpuidle_residency() local
10883 if (state > max_state) in probe_cpuidle_residency()
10884 max_state = state; in probe_cpuidle_residency()
10896 int min_state = 1024, max_state = 0; in probe_cpuidle_counts() local
10929 if (state != max_state) { in probe_cpuidle_counts()

Completed in 28 milliseconds