Lines Matching defs:buf
146 char *buf)
158 return sysfs_emit(buf, "%d\n", repeat);
162 const char *buf, size_t count)
168 err = kstrtos32(buf, 10, &res);
199 char *buf, bool hw_pattern)
210 count += scnprintf(buf + count, PAGE_SIZE - count,
216 buf[count - 1] = '\n';
224 const char *buf, size_t count)
230 ccount = sscanf(buf + offset, "%u %u %n",
248 const u32 *buf, size_t count)
253 data->patterns[data->npatterns].brightness = buf[i];
254 data->patterns[data->npatterns].delta_t = buf[i + 1];
262 const char *buf, const u32 *buf_int,
278 if (buf)
279 err = pattern_trig_store_patterns_string(data, buf, count);
295 char *buf)
300 return pattern_trig_show_patterns(data, buf, false);
304 const char *buf, size_t count)
308 return pattern_trig_store_patterns(led_cdev, buf, NULL, count, false);
314 struct device_attribute *attr, char *buf)
319 return pattern_trig_show_patterns(data, buf, true);
324 const char *buf, size_t count)
328 return pattern_trig_store_patterns(led_cdev, buf, NULL, count, true);