Lines Matching defs:buf
67 char *buf)
80 return sprintf(buf, "%lu\n", value);
84 const char *buf, size_t count)
101 rc = kstrtoul(buf, 0, &value);
116 char *buf)
129 return sprintf(buf, "%lu\n", value);
133 const char *buf, size_t count)
150 rc = kstrtoul(buf, 0, &value);
165 char *buf)
178 return sprintf(buf, "%lu\n", value);
182 const char *buf, size_t count)
199 rc = kstrtoul(buf, 0, &value);
214 struct device_attribute *attr, char *buf)
227 return sprintf(buf, "%lu\n", value);
231 struct device_attribute *attr, char *buf)
244 return sprintf(buf, "%lu\n", value);
248 struct device_attribute *attr, char *buf)
261 return sprintf(buf, "%lu\n", value);
265 struct device_attribute *attr, char *buf)
272 return sprintf(buf, "%s\n",
279 struct device_attribute *attr, const char *buf, size_t count)
297 if (strncmp("auto", buf, strlen("auto")) == 0) {
304 } else if (strncmp("manual", buf, strlen("manual")) == 0) {
334 char *buf)
341 return sprintf(buf, "%u\n", hdev->high_pll);
345 const char *buf, size_t count)
356 rc = kstrtoul(buf, 0, &value);