Lines Matching defs:buf
58 struct koneplus_actual_profile buf;
62 &buf, KONEPLUS_SIZE_ACTUAL_PROFILE);
64 return retval ? retval : buf.actual_profile;
70 struct koneplus_actual_profile buf;
72 buf.command = KONEPLUS_COMMAND_ACTUAL_PROFILE;
73 buf.size = KONEPLUS_SIZE_ACTUAL_PROFILE;
74 buf.actual_profile = new_profile;
78 &buf, KONEPLUS_SIZE_ACTUAL_PROFILE);
82 char *buf, loff_t off, size_t count,
97 retval = roccat_common2_receive(usb_dev, command, buf, real_size);
107 void const *buf, loff_t off, size_t count,
120 buf, real_size);
131 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
134 return koneplus_sysfs_write(fp, kobj, buf, off, count, \
140 struct kobject *kobj, struct bin_attribute *attr, char *buf, \
143 return koneplus_sysfs_read(fp, kobj, buf, off, count, \
186 struct kobject *kobj, struct bin_attribute *attr, char *buf,
198 return koneplus_sysfs_read(fp, kobj, buf, off, count,
204 struct kobject *kobj, struct bin_attribute *attr, char *buf,
216 return koneplus_sysfs_read(fp, kobj, buf, off, count,
241 struct device_attribute *attr, char *buf)
245 return snprintf(buf, PAGE_SIZE, "%d\n", koneplus->actual_profile);
249 struct device_attribute *attr, char const *buf, size_t size)
261 retval = kstrtoul(buf, 10, &profile);
297 struct device_attribute *attr, char *buf)
312 return snprintf(buf, PAGE_SIZE, "%d\n", info.firmware_version);