Lines Matching defs:buf
32 void *buf, uint size)
34 return roccat_common2_receive(usb_dev, command, buf, size);
39 struct isku_actual_profile buf;
43 &buf, sizeof(struct isku_actual_profile));
44 return retval ? retval : buf.actual_profile;
49 struct isku_actual_profile buf;
51 buf.command = ISKU_COMMAND_ACTUAL_PROFILE;
52 buf.size = sizeof(struct isku_actual_profile);
53 buf.actual_profile = new_profile;
55 ISKU_COMMAND_ACTUAL_PROFILE, &buf,
60 struct device_attribute *attr, char *buf)
64 return snprintf(buf, PAGE_SIZE, "%d\n", isku->actual_profile);
68 struct device_attribute *attr, char const *buf, size_t size)
80 retval = kstrtoul(buf, 10, &profile);
116 char *buf, loff_t off, size_t count,
131 retval = isku_receive(usb_dev, command, buf, count);
138 void const *buf, loff_t off, size_t count,
151 (void *)buf, count);
159 struct bin_attribute *attr, char *buf, \
162 return isku_sysfs_write(fp, kobj, buf, off, count, \
168 struct bin_attribute *attr, char *buf, \
171 return isku_sysfs_read(fp, kobj, buf, off, count, \