Searched refs:cdev_name (Results 1 – 1 of 1) sorted by relevance
/tools/thermal/tmon/ |
D | sysfs.c | 202 char cdev_name[256]; in find_tzone_cdev() local 216 snprintf(cdev_name, 256, "%s/%s", tz_name, nl->d_name); in find_tzone_cdev() 218 if (readlink(cdev_name, cdev_name_linked, in find_tzone_cdev() 223 cdev_name, cdev_name_linked, cdev_id); in find_tzone_cdev() 240 cdev_name, trip_instance, in find_tzone_cdev() 340 char cdev_name[256]; in scan_cdevs() local 348 memset(cdev_name, 0, sizeof(cdev_name)); in scan_cdevs() 349 snprintf(cdev_name, 256, "%s/%s%d", THERMAL_SYSFS, CDEV, i); in scan_cdevs() 351 dir = opendir(cdev_name); in scan_cdevs() 353 syslog(LOG_INFO, "Cooling dev %s skipped\n", cdev_name); in scan_cdevs() [all …]
|