Lines Matching refs:buf

41 			      struct device_attribute *attr, char *buf)  in show_ec_reboot()  argument
45 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_reboot()
47 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_reboot()
54 const char *buf, size_t count) in store_ec_reboot() argument
80 while (buf[offset] && isspace(buf[offset])) in store_ec_reboot()
82 if (!buf[offset]) in store_ec_reboot()
86 if (!strncasecmp(words[i].str, buf+offset, in store_ec_reboot()
99 while (buf[offset] && !isspace(buf[offset])) in store_ec_reboot()
120 struct device_attribute *attr, char *buf) in show_ec_version() argument
138 return scnprintf(buf, PAGE_SIZE, in show_ec_version()
145 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
147 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
149 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
159 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
162 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
166 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
175 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
178 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
186 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
188 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
190 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
199 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
202 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
207 count += scnprintf(buf + count, PAGE_SIZE - count, in show_ec_version()
216 struct device_attribute *attr, char *buf) in show_ec_flashinfo() argument
230 return scnprintf(buf, PAGE_SIZE, in show_ec_flashinfo()
235 return scnprintf(buf, PAGE_SIZE, in show_ec_flashinfo()