Lines Matching refs:buf
108 char buf[80]; in sysfs_write() local
113 strerror_r(errno, buf, sizeof(buf)); in sysfs_write()
114 ALOGE("Error opening %s: %s\n", path, buf); in sysfs_write()
120 strerror_r(errno, buf, sizeof(buf)); in sysfs_write()
121 ALOGE("Error writing to %s: %s\n", path, buf); in sysfs_write()
190 char buf[80]; in interactive_boostpulse() local
198 strerror_r(errno, buf, sizeof(buf)); in interactive_boostpulse()
200 buf); in interactive_boostpulse()
208 strerror_r(errno, buf, sizeof(buf)); in interactive_boostpulse()
210 INTERACTIVE_BOOSTPULSE_PATH, buf); in interactive_boostpulse()
257 char buf[80]; in schedtune_sysfs_boost() local
265 strerror_r(errno, buf, sizeof(buf)); in schedtune_sysfs_boost()
266 ALOGE("Error writing to %s: %s\n", SCHEDTUNE_BOOST_PATH, buf); in schedtune_sysfs_boost()
319 char buf[50]; in schedtune_power_init() local
327 strerror_r(errno, buf, sizeof(buf)); in schedtune_power_init()
328 ALOGE("Error opening %s: %s\n", SCHEDTUNE_BOOST_PATH, buf); in schedtune_power_init()
374 char buf[128]; in hikey_cpufreq_init() local
378 sprintf(buf,"%s%d", CPUFREQ_CLUST_MAX_FREQ_PATH_PROP, i); in hikey_cpufreq_init()
379 property_get(buf, hikey_cpufreq_clusters[i].path, ""); in hikey_cpufreq_init()
390 sprintf(buf,"%s%d", CPUFREQ_CLUST_LOW_POWER_MAX_FREQ_PROP, i); in hikey_cpufreq_init()
391 property_get(buf, hikey_cpufreq_clusters[i].low_power_max, ""); in hikey_cpufreq_init()