14 #include <linux/hid.h>
15 #include <linux/slab.h>
16 #include <linux/module.h>
21 return 0x300 | report_id;
37 roccat_common2_feature_report(report_id),
38 0, buf, size, USB_CTRL_SET_TIMEOUT);
42 return ((len < 0) ? len : ((len != size) ? -
EIO : 0));
59 roccat_common2_feature_report(report_id),
60 0, buf, size, USB_CTRL_SET_TIMEOUT);
63 return ((len < 0) ? len : ((len != size) ? -
EIO : 0));
74 static int roccat_common2_receive_control_status(
struct usb_device *usb_dev)
88 switch (control.
value) {
101 "roccat_common2_receive_control_status: "
102 "unknown response value 0x%x\n",
121 return roccat_common2_receive_control_status(usb_dev);