Lines Matching +full:256 +full:k
89 ret = fscanf(fd, "%256s", str); in sysfs_get_string()
124 char filename[256]; in get_trip_point_data()
125 char temp_str[256]; in get_trip_point_data()
202 char cdev_name_linked[256]; in find_tzone_cdev()
284 char tz_name[256]; in scan_tzones()
285 int i, j, n, k = 0; in scan_tzones() local
292 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, i); in scan_tzones()
304 sysfs_get_string(tz_name, "type", ptdata.tzi[k].type); in scan_tzones()
305 ptdata.tzi[k].instance = i; in scan_tzones()
308 ptdata.tzi[k].nr_cdev = 0; in scan_tzones()
309 ptdata.tzi[k].nr_trip_pts = 0; in scan_tzones()
314 &ptdata.tzi[k], k)) in scan_tzones()
322 &ptdata.tzi[k], i, j)) in scan_tzones()
331 ptdata.tzi[k].nr_cdev); in scan_tzones()
332 k++; in scan_tzones()
342 char cdev_name[256]; in scan_cdevs()
343 int i, n, k = 0; in scan_cdevs() local
351 snprintf(cdev_name, 256, "%s/%s%d", THERMAL_SYSFS, CDEV, i); in scan_cdevs()
366 sysfs_get_string(cdev_name, "type", ptdata.cdi[k].type); in scan_cdevs()
367 ptdata.cdi[k].instance = i; in scan_cdevs()
368 if (strstr(ptdata.cdi[k].type, ctrl_cdev)) { in scan_cdevs()
369 ptdata.cdi[k].flag |= CDEV_FLAG_IN_CONTROL; in scan_cdevs()
377 k++; in scan_cdevs()
483 char tz_name[256]; in update_thermal_data()
501 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, in update_thermal_data()
511 char cdev_name[256]; in update_thermal_data()
514 snprintf(cdev_name, 256, "%s/%s%d", THERMAL_SYSFS, CDEV, in update_thermal_data()
534 char ctrl_cdev_path[256]; in set_ctrl_state()
552 snprintf(ctrl_cdev_path, 256, "%s/%s%d", THERMAL_SYSFS, in set_ctrl_state()
563 char ctrl_cdev_path[256]; in get_ctrl_state()
582 snprintf(ctrl_cdev_path, 256, "%s/%s%d", THERMAL_SYSFS, in get_ctrl_state()