Home
last modified time | relevance | path

Searched refs:ptdata (Results 1 – 4 of 4) sorted by relevance

/tools/thermal/tmon/
Dsysfs.c24 struct tmon_platform_data ptdata; variable
137 ptdata.tzi[tzid].tp[tpid].type = trip_type; in get_trip_point_data()
210 if (tzi->nr_cdev > ptdata.nr_cooling_dev) { in find_tzone_cdev()
285 if (!ptdata.nr_tz_sensor) in scan_tzones()
288 for (i = 0; i <= ptdata.max_tz_instance; i++) { in scan_tzones()
302 sysfs_get_string(tz_name, "type", ptdata.tzi[k].type); in scan_tzones()
303 ptdata.tzi[k].instance = i; in scan_tzones()
306 ptdata.tzi[k].nr_cdev = 0; in scan_tzones()
307 ptdata.tzi[k].nr_trip_pts = 0; in scan_tzones()
312 &ptdata.tzi[k], k)) in scan_tzones()
[all …]
Dtui.c111 int entries = ptdata.nr_cooling_dev + 1; in diag_dev_rows()
132 cooling_device_window = subwin(stdscr, ptdata.nr_cooling_dev + 3, maxx, in setup_windows()
134 y_begin += ptdata.nr_cooling_dev + 3; /* 2 lines for border */ in setup_windows()
143 thermal_data_window = subwin(stdscr, ptdata.nr_tz_sensor * in setup_windows()
145 y_begin += ptdata.nr_tz_sensor * NR_LINES_TZDATA + 3; in setup_windows()
211 for (j = 0; j < ptdata.nr_cooling_dev; j++) { in show_cooling_device()
217 ptdata.cdi[j].instance, in show_cooling_device()
218 ptdata.cdi[j].type, in show_cooling_device()
219 ptdata.cdi[j].cur_state, in show_cooling_device()
220 ptdata.cdi[j].max_state); in show_cooling_device()
[all …]
Dtmon.c172 for (i = 0; i < ptdata.nr_tz_sensor; i++) { in prepare_logging()
178 binding_str[j] = (ptdata.tzi[i].cdev_binding & 1<<j) ? in prepare_logging()
182 ptdata.tzi[i].type, in prepare_logging()
183 ptdata.tzi[i].instance, in prepare_logging()
185 for (j = 0; j < ptdata.tzi[i].nr_trip_pts; j++) { in prepare_logging()
187 trip_type_name[ptdata.tzi[i].tp[j].type], in prepare_logging()
188 ptdata.tzi[i].tp[j].temp); in prepare_logging()
193 for (i = 0; i < ptdata.nr_cooling_dev; i++) in prepare_logging()
195 i, ptdata.cdi[i].type); in prepare_logging()
199 for (i = 0; i < ptdata.nr_tz_sensor; i++) { in prepare_logging()
[all …]
Dtmon.h136 extern struct tmon_platform_data ptdata;