Searched refs:tz_path (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/thermal/thermometer/ |
D | thermometer.c | 261 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-6.12.1/tools/thermal/tmon/ |
D | sysfs.c | 122 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()
|