Lines Matching refs:cdev_name
203 char cdev_name[PATH_MAX]; in find_tzone_cdev() local
217 snprintf(cdev_name, sizeof(cdev_name) - 2, "%s/%s", in find_tzone_cdev()
220 if (readlink(cdev_name, cdev_name_linked, in find_tzone_cdev()
225 cdev_name, cdev_name_linked, cdev_id); in find_tzone_cdev()
242 cdev_name, trip_instance, in find_tzone_cdev()
342 char cdev_name[256]; in scan_cdevs() local
350 memset(cdev_name, 0, sizeof(cdev_name)); in scan_cdevs()
351 snprintf(cdev_name, 256, "%s/%s%d", THERMAL_SYSFS, CDEV, i); in scan_cdevs()
353 dir = opendir(cdev_name); in scan_cdevs()
355 syslog(LOG_INFO, "Cooling dev %s skipped\n", cdev_name); in scan_cdevs()
362 n = scandir(cdev_name, &namelist, 0, alphasort); in scan_cdevs()
364 syslog(LOG_ERR, "scandir failed in %s", cdev_name); in scan_cdevs()
366 sysfs_get_string(cdev_name, "type", ptdata.cdi[k].type); in scan_cdevs()
511 char cdev_name[256]; in update_thermal_data() local
514 snprintf(cdev_name, 256, "%s/%s%d", THERMAL_SYSFS, CDEV, in update_thermal_data()
516 probe_cdev(&ptdata.cdi[i], cdev_name); in update_thermal_data()