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)
102 ret = kstrtoul(buf, 10, &state);
121 struct device_attribute *attr, char *buf)
133 return sprintf(buf, "%u\n", state);
138 struct device_attribute *attr, const char *buf, size_t size)
152 ret = kstrtoul(buf, 10, &flash_timeout);
167 struct device_attribute *attr, char *buf)
172 return sprintf(buf, "%u\n", fled_cdev->timeout.val);
177 struct device_attribute *attr, char *buf)
182 return sprintf(buf, "%u\n", fled_cdev->timeout.max);
187 struct device_attribute *attr, char *buf)
192 char *pbuf = buf;
199 *buf = '\0';
210 return strlen(strcat(buf, "\n"));