Lines Matching refs:usb_dev
33 struct usb_device *usb_dev = in arvo_sysfs_show_mode_key() local
39 retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_MODE_KEY, in arvo_sysfs_show_mode_key()
53 struct usb_device *usb_dev = in arvo_sysfs_set_mode_key() local
67 retval = roccat_common2_send(usb_dev, ARVO_COMMAND_MODE_KEY, in arvo_sysfs_set_mode_key()
83 struct usb_device *usb_dev = in arvo_sysfs_show_key_mask() local
89 retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_KEY_MASK, in arvo_sysfs_show_key_mask()
103 struct usb_device *usb_dev = in arvo_sysfs_set_key_mask() local
117 retval = roccat_common2_send(usb_dev, ARVO_COMMAND_KEY_MASK, in arvo_sysfs_set_key_mask()
129 static int arvo_get_actual_profile(struct usb_device *usb_dev) in arvo_get_actual_profile() argument
134 retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_ACTUAL_PROFILE, in arvo_get_actual_profile()
157 struct usb_device *usb_dev = in arvo_sysfs_set_actual_profile() local
174 retval = roccat_common2_send(usb_dev, ARVO_COMMAND_ACTUAL_PROFILE, in arvo_sysfs_set_actual_profile()
193 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in arvo_sysfs_write() local
200 retval = roccat_common2_send(usb_dev, command, buf, real_size); in arvo_sysfs_write()
212 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in arvo_sysfs_read() local
222 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in arvo_sysfs_read()
271 static int arvo_init_arvo_device_struct(struct usb_device *usb_dev, in arvo_init_arvo_device_struct() argument
278 retval = arvo_get_actual_profile(usb_dev); in arvo_init_arvo_device_struct()
289 struct usb_device *usb_dev = interface_to_usbdev(intf); in arvo_init_specials() local
306 retval = arvo_init_arvo_device_struct(usb_dev, arvo); in arvo_init_specials()