Searched refs:tzi (Results 1 - 4 of 4) sorted by relevance
/linux-master/tools/thermal/tmon/ |
H A D | sysfs.c | 138 ptdata.tzi[tzid].tp[tpid].type = trip_type; 166 static int find_tzone_tp(char *tz_name, char *d_name, struct tz_info *tzi, argument 179 tzi->nr_trip_pts++; 190 tzi->tp[tp_id].temp = temp_ulong; 199 struct tz_info *tzi, int tz_id, int cid) 210 tzi->nr_cdev++; 211 if (tzi->nr_cdev > ptdata.nr_cooling_dev) { 213 tzi->nr_cdev); 226 tzi->cdev_binding |= (1 << cdev_id); 240 tzi 198 find_tzone_cdev(struct dirent *nl, char *tz_name, struct tz_info *tzi, int tz_id, int cid) argument [all...] |
H A D | tmon.c | 174 binding_str[j] = (ptdata.tzi[i].cdev_binding & (1 << j)) ? 178 ptdata.tzi[i].type, 179 ptdata.tzi[i].instance, 181 for (j = 0; j < ptdata.tzi[i].nr_trip_pts; j++) { 183 trip_type_name[ptdata.tzi[i].tp[j].type], 184 ptdata.tzi[i].tp[j].temp); 195 fprintf(tmon_log, "%s%d ", ptdata.tzi[i].type, 196 ptdata.tzi[i].instance); 311 target_thermal_zone = ptdata.tzi[0].instance;
|
H A D | tui.c | 225 int tz_inst = ptdata.tzi[i].instance; 236 if (ptdata.tzi[i].cdev_binding) { 239 ptdata.tzi[i].trip_binding[cdev_inst]; 248 ptdata.tzi[i].cdev_binding); 257 x + ptdata.tzi[i].nr_trip_pts - 554 for (j = 0; j < ptdata.tzi[tz].nr_trip_pts; j++) { 555 x = ptdata.tzi[tz].tp[j].temp / 1000; 557 "%c%d", trip_type_to_char(ptdata.tzi[tz].tp[j].type), 560 tz, j, ptdata.tzi[tz].tp[j].temp); 589 ptdata.tzi[ [all...] |
H A D | tmon.h | 94 struct tz_info *tzi; member in struct:tmon_platform_data
|
Completed in 125 milliseconds