Home
last modified time | relevance | path

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

/linux-5.19.10/tools/thermal/thermometer/
Dthermometer.c261 char tz_path[PATH_MAX]; in thermometer_add_tz() local
263 sprintf(tz_path, CLASS_THERMAL"/%s/temp", path); in thermometer_add_tz()
265 fd = open(tz_path, O_RDONLY); in thermometer_add_tz()
267 ERROR("Failed to open '%s': %m\n", tz_path); in thermometer_add_tz()
309 char tz_path[PATH_MAX]; in thermometer_init() local
315 sprintf(tz_path, CLASS_THERMAL"/%s/type", dirent->d_name); in thermometer_init()
317 tz_file = fopen(tz_path, "r"); in thermometer_init()
319 ERROR("Failed to open '%s': %m", tz_path); in thermometer_init()
/linux-5.19.10/tools/thermal/tmon/
Dsysfs.c122 static int get_trip_point_data(char *tz_path, int tzid, int tpid) in get_trip_point_data() argument
132 sysfs_get_string(tz_path, filename, temp_str); in get_trip_point_data()