Home
last modified time | relevance | path

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

/Linux-v4.19/tools/thermal/tmon/
Dsysfs.c174 static int find_tzone_tp(char *tz_name, char *d_name, struct tz_info *tzi, in find_tzone_tp() argument
185 sysfs_get_ulong(tz_name, d_name, &temp_ulong); in find_tzone_tp()
191 tz_name, tp_id, temp_ulong, d_name); in find_tzone_tp()
197 get_trip_point_data(tz_name, tz_id, tp_id); in find_tzone_tp()
206 static int find_tzone_cdev(struct dirent *nl, char *tz_name, in find_tzone_cdev() argument
225 snprintf(cdev_name, 256, "%s/%s", tz_name, nl->d_name); in find_tzone_cdev()
240 sysfs_get_ulong(tz_name, cdev_trip_name, in find_tzone_cdev()
291 char tz_name[256]; in scan_tzones() local
298 memset(tz_name, 0, sizeof(tz_name)); in scan_tzones()
299 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, i); in scan_tzones()
[all …]