Lines Matching refs:usb_dev

37 static int koneplus_send_control(struct usb_device *usb_dev, uint value,
51 return roccat_common2_send_with_status(usb_dev,
58 static int koneplus_get_actual_profile(struct usb_device *usb_dev)
63 retval = roccat_common2_receive(usb_dev, KONEPLUS_COMMAND_ACTUAL_PROFILE,
69 static int koneplus_set_actual_profile(struct usb_device *usb_dev,
78 return roccat_common2_send_with_status(usb_dev,
89 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev));
99 retval = roccat_common2_receive(usb_dev, command, buf, real_size);
114 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev));
121 retval = roccat_common2_send_with_status(usb_dev, command,
192 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev));
195 retval = koneplus_send_control(usb_dev, *(uint *)(attr->private),
210 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev));
213 retval = koneplus_send_control(usb_dev, *(uint *)(attr->private),
254 struct usb_device *usb_dev;
261 usb_dev = interface_to_usbdev(to_usb_interface(dev));
272 retval = koneplus_set_actual_profile(usb_dev, profile);
302 struct usb_device *usb_dev;
307 usb_dev = interface_to_usbdev(to_usb_interface(dev));
310 roccat_common2_receive(usb_dev, KONEPLUS_COMMAND_INFO,
359 static int koneplus_init_koneplus_device_struct(struct usb_device *usb_dev,
366 retval = koneplus_get_actual_profile(usb_dev);
377 struct usb_device *usb_dev = interface_to_usbdev(intf);
391 retval = koneplus_init_koneplus_device_struct(usb_dev, koneplus);