Lines Matching defs:buf
38 struct device_attribute *attr, const char *buf, size_t size)
52 ret = kstrtoul(buf, 10, &state);
67 struct device_attribute *attr, char *buf)
75 return sprintf(buf, "%u\n", fled_cdev->brightness.val);
80 struct device_attribute *attr, char *buf)
85 return sprintf(buf, "%u\n", fled_cdev->brightness.max);
90 struct device_attribute *attr, const char *buf, size_t size)
104 ret = kstrtoul(buf, 10, &state);
123 struct device_attribute *attr, char *buf)
135 return sprintf(buf, "%u\n", state);
140 struct device_attribute *attr, const char *buf, size_t size)
154 ret = kstrtoul(buf, 10, &flash_timeout);
169 struct device_attribute *attr, char *buf)
174 return sprintf(buf, "%u\n", fled_cdev->timeout.val);
179 struct device_attribute *attr, char *buf)
184 return sprintf(buf, "%u\n", fled_cdev->timeout.max);
189 struct device_attribute *attr, char *buf)
194 char *pbuf = buf;
201 *buf = '\0';
212 return sprintf(buf, "%s\n", buf);