Lines Matching defs:buf
27 struct device_attribute *attr, char *buf)
43 return sysfs_emit(buf, "%d\n", temp_buf.state);
47 struct device_attribute *attr, char const *buf, size_t size)
57 retval = kstrtoul(buf, 10, &state);
77 struct device_attribute *attr, char *buf)
93 return sysfs_emit(buf, "%d\n", temp_buf.key_mask);
97 struct device_attribute *attr, char const *buf, size_t size)
107 retval = kstrtoul(buf, 10, &key_mask);
142 struct device_attribute *attr, char *buf)
147 return sysfs_emit(buf, "%d\n", arvo->actual_profile);
151 struct device_attribute *attr, char const *buf, size_t size)
161 retval = kstrtoul(buf, 10, &profile);
186 struct kobject *kobj, void const *buf,
198 retval = roccat_common2_send(usb_dev, command, buf, real_size);
205 struct kobject *kobj, void *buf, loff_t off,
220 retval = roccat_common2_receive(usb_dev, command, buf, real_size);
227 struct kobject *kobj, struct bin_attribute *attr, char *buf,
230 return arvo_sysfs_write(fp, kobj, buf, off, count,
237 struct kobject *kobj, struct bin_attribute *attr, char *buf,
240 return arvo_sysfs_read(fp, kobj, buf, off, count,