Lines Matching defs:buf
26 struct device_attribute *attr, const char *buf, size_t size)
39 struct device_attribute *attr, char *buf)
43 return sprintf(buf, "%u\n", oneshot_data->invert);
47 struct device_attribute *attr, const char *buf, size_t size)
54 ret = kstrtoul(buf, 0, &state);
69 struct device_attribute *attr, char *buf)
73 return sprintf(buf, "%lu\n", led_cdev->blink_delay_on);
77 struct device_attribute *attr, const char *buf, size_t size)
83 ret = kstrtoul(buf, 0, &state);
93 struct device_attribute *attr, char *buf)
97 return sprintf(buf, "%lu\n", led_cdev->blink_delay_off);
101 struct device_attribute *attr, const char *buf, size_t size)
107 ret = kstrtoul(buf, 0, &state);