Lines Matching defs:buf
42 struct device_attribute *a, char *buf)
44 return sysfs_emit(buf, "%d\n", 100);
51 struct device_attribute *a, char *buf)
57 return sysfs_emit(buf, "%d\n",
63 const char *buf, size_t count)
70 if (kstrtol(buf, 10, &value))
84 struct device_attribute *a, char *buf)
90 return sysfs_emit(buf, "%d\n",
96 const char *buf, size_t count)
103 if (kstrtol(buf, 10, &value))
117 struct device_attribute *a, char *buf)
128 return sprintf(buf, "%i\n", ret);
133 struct device_attribute *a, char *buf)
144 return sprintf(buf, "%i\n", ret);
149 const char *buf, size_t count)
157 if (kstrtol(buf, 10, &value))
172 const char *buf, size_t count)
180 if (kstrtol(buf, 10, &value))
603 int channel, const char **buf)
606 *buf = input_label;