tzi 137 tools/thermal/tmon/sysfs.c ptdata.tzi[tzid].tp[tpid].type = trip_type; tzi 165 tools/thermal/tmon/sysfs.c static int find_tzone_tp(char *tz_name, char *d_name, struct tz_info *tzi, tzi 178 tools/thermal/tmon/sysfs.c tzi->nr_trip_pts++; tzi 189 tools/thermal/tmon/sysfs.c tzi->tp[tp_id].temp = temp_ulong; tzi 198 tools/thermal/tmon/sysfs.c struct tz_info *tzi, int tz_id, int cid) tzi 209 tools/thermal/tmon/sysfs.c tzi->nr_cdev++; tzi 210 tools/thermal/tmon/sysfs.c if (tzi->nr_cdev > ptdata.nr_cooling_dev) { tzi 212 tools/thermal/tmon/sysfs.c tzi->nr_cdev); tzi 224 tools/thermal/tmon/sysfs.c tzi->cdev_binding |= (1 << cdev_id); tzi 238 tools/thermal/tmon/sysfs.c tzi->trip_binding[cdev_id] |= 1 << trip_instance; tzi 241 tools/thermal/tmon/sysfs.c tzi->trip_binding[cdev_id], tzi 302 tools/thermal/tmon/sysfs.c sysfs_get_string(tz_name, "type", ptdata.tzi[k].type); tzi 303 tools/thermal/tmon/sysfs.c ptdata.tzi[k].instance = i; tzi 306 tools/thermal/tmon/sysfs.c ptdata.tzi[k].nr_cdev = 0; tzi 307 tools/thermal/tmon/sysfs.c ptdata.tzi[k].nr_trip_pts = 0; tzi 312 tools/thermal/tmon/sysfs.c &ptdata.tzi[k], k)) tzi 320 tools/thermal/tmon/sysfs.c &ptdata.tzi[k], i, j)) tzi 329 tools/thermal/tmon/sysfs.c ptdata.tzi[k].nr_cdev); tzi 440 tools/thermal/tmon/sysfs.c ptdata.tzi = calloc(ptdata.max_tz_instance+1, sizeof(struct tz_info)); tzi 441 tools/thermal/tmon/sysfs.c if (!ptdata.tzi) { tzi 451 tools/thermal/tmon/sysfs.c free(ptdata.tzi); tzi 471 tools/thermal/tmon/sysfs.c if (ptdata.tzi[i].instance == zone_inst) tzi 500 tools/thermal/tmon/sysfs.c ptdata.tzi[i].instance); tzi 587 tools/thermal/tmon/sysfs.c free(ptdata.tzi); tzi 178 tools/thermal/tmon/tmon.c binding_str[j] = (ptdata.tzi[i].cdev_binding & 1<<j) ? tzi 182 tools/thermal/tmon/tmon.c ptdata.tzi[i].type, tzi 183 tools/thermal/tmon/tmon.c ptdata.tzi[i].instance, tzi 185 tools/thermal/tmon/tmon.c for (j = 0; j < ptdata.tzi[i].nr_trip_pts; j++) { tzi 187 tools/thermal/tmon/tmon.c trip_type_name[ptdata.tzi[i].tp[j].type], tzi 188 tools/thermal/tmon/tmon.c ptdata.tzi[i].tp[j].temp); tzi 200 tools/thermal/tmon/tmon.c fprintf(tmon_log, "%s%d ", ptdata.tzi[i].type, tzi 201 tools/thermal/tmon/tmon.c ptdata.tzi[i].instance); tzi 317 tools/thermal/tmon/tmon.c target_thermal_zone = ptdata.tzi[0].instance; tzi 91 tools/thermal/tmon/tmon.h struct tz_info *tzi; tzi 225 tools/thermal/tmon/tui.c int tz_inst = ptdata.tzi[i].instance; tzi 236 tools/thermal/tmon/tui.c if (ptdata.tzi[i].cdev_binding) { tzi 239 tools/thermal/tmon/tui.c ptdata.tzi[i].trip_binding[cdev_inst]; tzi 248 tools/thermal/tmon/tui.c ptdata.tzi[i].cdev_binding); tzi 257 tools/thermal/tmon/tui.c x + ptdata.tzi[i].nr_trip_pts - tzi 554 tools/thermal/tmon/tui.c for (j = 0; j < ptdata.tzi[tz].nr_trip_pts; j++) { tzi 555 tools/thermal/tmon/tui.c x = ptdata.tzi[tz].tp[j].temp / 1000; tzi 557 tools/thermal/tmon/tui.c "%c%d", trip_type_to_char(ptdata.tzi[tz].tp[j].type), tzi 560 tools/thermal/tmon/tui.c tz, j, ptdata.tzi[tz].tp[j].temp); tzi 589 tools/thermal/tmon/tui.c ptdata.tzi[i].type, tzi 590 tools/thermal/tmon/tui.c ptdata.tzi[i].instance, temp); tzi 624 tools/thermal/tmon/tui.c int inst = ptdata.tzi[i].instance; tzi 628 tools/thermal/tmon/tui.c ptdata.tzi[i].type, ptdata.tzi[i].instance); tzi 629 tools/thermal/tmon/tui.c for (j = ptdata.tzi[i].nr_trip_pts - 1; j >= 0; j--) { tzi 636 tools/thermal/tmon/tui.c tp_pos = ptdata.tzi[i].nr_trip_pts - j - 1; tzi 638 tools/thermal/tmon/tui.c type = trip_type_to_char(ptdata.tzi[i].tp[j].type);