Lines Matching refs:cdev_name
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()
360 n = scandir(cdev_name, &namelist, 0, alphasort); in scan_cdevs()
362 syslog(LOG_ERR, "scandir failed in %s", cdev_name); in scan_cdevs()
364 sysfs_get_string(cdev_name, "type", ptdata.cdi[k].type); in scan_cdevs()
509 char cdev_name[256]; in update_thermal_data() local
512 snprintf(cdev_name, 256, "%s/%s%d", THERMAL_SYSFS, CDEV, in update_thermal_data()
514 probe_cdev(&ptdata.cdi[i], cdev_name); in update_thermal_data()