Home
last modified time | relevance | path

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

/linux/tools/thermal/tmon/
H A Dsysfs.c138 ptdata.tzi[tzid].tp[tpid].type = trip_type; in get_trip_point_data()
166 static int find_tzone_tp(char *tz_name, char *d_name, struct tz_info *tzi, in find_tzone_tp() argument
179 tzi->nr_trip_pts++; in find_tzone_tp()
190 tzi->tp[tp_id].temp = temp_ulong; in find_tzone_tp()
199 struct tz_info *tzi, int tz_id, int cid) in find_tzone_cdev() argument
210 tzi->nr_cdev++; in find_tzone_cdev()
211 if (tzi->nr_cdev > ptdata.nr_cooling_dev) { in find_tzone_cdev()
213 tzi->nr_cdev); in find_tzone_cdev()
226 tzi->cdev_binding |= (1 << cdev_id); in find_tzone_cdev()
240 tzi->trip_binding[cdev_id] |= 1 << trip_instance; in find_tzone_cdev()
[all …]
H A Dtmon.c174 binding_str[j] = (ptdata.tzi[i].cdev_binding & (1 << j)) ? in prepare_logging()
178 ptdata.tzi[i].type, in prepare_logging()
179 ptdata.tzi[i].instance, in prepare_logging()
181 for (j = 0; j < ptdata.tzi[i].nr_trip_pts; j++) { in prepare_logging()
183 trip_type_name[ptdata.tzi[i].tp[j].type], in prepare_logging()
184 ptdata.tzi[i].tp[j].temp); in prepare_logging()
195 fprintf(tmon_log, "%s%d ", ptdata.tzi[i].type, in prepare_logging()
196 ptdata.tzi[i].instance); in prepare_logging()
311 target_thermal_zone = ptdata.tzi[0].instance; in main()
H A Dtui.c225 int tz_inst = ptdata.tzi[i].instance; in show_cooling_device()
236 if (ptdata.tzi[i].cdev_binding) { in show_cooling_device()
239 ptdata.tzi[i].trip_binding[cdev_inst]; in show_cooling_device()
248 ptdata.tzi[i].cdev_binding); in show_cooling_device()
257 x + ptdata.tzi[i].nr_trip_pts - in show_cooling_device()
554 for (j = 0; j < ptdata.tzi[tz].nr_trip_pts; j++) { in draw_tp_line()
555 x = ptdata.tzi[tz].tp[j].temp / 1000; in draw_tp_line()
557 "%c%d", trip_type_to_char(ptdata.tzi[tz].tp[j].type), in draw_tp_line()
560 tz, j, ptdata.tzi[tz].tp[j].temp); in draw_tp_line()
589 ptdata.tzi[i].type, in show_data_w()
[all …]
H A Dtmon.h94 struct tz_info *tzi; member