Lines Matching defs:usb_dev
35 static int koneplus_send_control(struct usb_device *usb_dev, uint value,
49 return roccat_common2_send_with_status(usb_dev,
56 static int koneplus_get_actual_profile(struct usb_device *usb_dev)
61 retval = roccat_common2_receive(usb_dev, KONEPLUS_COMMAND_ACTUAL_PROFILE,
67 static int koneplus_set_actual_profile(struct usb_device *usb_dev,
76 return roccat_common2_send_with_status(usb_dev,
87 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev));
97 retval = roccat_common2_receive(usb_dev, command, buf, real_size);
112 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev));
119 retval = roccat_common2_send_with_status(usb_dev, command,
190 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev));
193 retval = koneplus_send_control(usb_dev, *(uint *)(attr->private),
208 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev));
211 retval = koneplus_send_control(usb_dev, *(uint *)(attr->private),
252 struct usb_device *usb_dev;
259 usb_dev = interface_to_usbdev(to_usb_interface(dev));
270 retval = koneplus_set_actual_profile(usb_dev, profile);
300 struct usb_device *usb_dev;
305 usb_dev = interface_to_usbdev(to_usb_interface(dev));
308 roccat_common2_receive(usb_dev, KONEPLUS_COMMAND_INFO,
362 static int koneplus_init_koneplus_device_struct(struct usb_device *usb_dev,
369 retval = koneplus_get_actual_profile(usb_dev);
380 struct usb_device *usb_dev = interface_to_usbdev(intf);
394 retval = koneplus_init_koneplus_device_struct(usb_dev, koneplus);