Searched refs:tzi (Results 1 – 4 of 4) sorted by relevance
/tools/thermal/tmon/ |
D | sysfs.c | 146 ptdata.tzi[tzid].tp[tpid].type = trip_type; in get_trip_point_data() 174 static int find_tzone_tp(char *tz_name, char *d_name, struct tz_info *tzi, in find_tzone_tp() argument 187 tzi->nr_trip_pts++; in find_tzone_tp() 198 tzi->tp[tp_id].temp = temp_ulong; in find_tzone_tp() 207 struct tz_info *tzi, int tz_id, int cid) in find_tzone_cdev() argument 218 tzi->nr_cdev++; in find_tzone_cdev() 219 if (tzi->nr_cdev > ptdata.nr_cooling_dev) { in find_tzone_cdev() 221 tzi->nr_cdev); in find_tzone_cdev() 233 tzi->cdev_binding |= (1 << cdev_id); in find_tzone_cdev() 247 tzi->trip_binding[cdev_id] |= 1 << trip_instance; in find_tzone_cdev() [all …]
|
D | tmon.c | 187 binding_str[j] = (ptdata.tzi[i].cdev_binding & 1<<j) ? in prepare_logging() 191 ptdata.tzi[i].type, in prepare_logging() 192 ptdata.tzi[i].instance, in prepare_logging() 194 for (j = 0; j < ptdata.tzi[i].nr_trip_pts; j++) { in prepare_logging() 196 trip_type_name[ptdata.tzi[i].tp[j].type], in prepare_logging() 197 ptdata.tzi[i].tp[j].temp); in prepare_logging() 209 fprintf(tmon_log, "%s%d ", ptdata.tzi[i].type, in prepare_logging() 210 ptdata.tzi[i].instance); in prepare_logging() 326 target_thermal_zone = ptdata.tzi[0].instance; in main()
|
D | tui.c | 234 int tz_inst = ptdata.tzi[i].instance; in show_cooling_device() 245 if (ptdata.tzi[i].cdev_binding) { in show_cooling_device() 248 ptdata.tzi[i].trip_binding[cdev_inst]; in show_cooling_device() 257 ptdata.tzi[i].cdev_binding); in show_cooling_device() 266 x + ptdata.tzi[i].nr_trip_pts - in show_cooling_device() 563 for (j = 0; j < ptdata.tzi[tz].nr_trip_pts; j++) { in draw_tp_line() 564 x = ptdata.tzi[tz].tp[j].temp / 1000; in draw_tp_line() 566 "%c%d", trip_type_to_char(ptdata.tzi[tz].tp[j].type), in draw_tp_line() 569 tz, j, ptdata.tzi[tz].tp[j].temp); in draw_tp_line() 598 ptdata.tzi[i].type, in show_data_w() [all …]
|
D | tmon.h | 100 struct tz_info *tzi; member
|