Searched refs:usb_dev (Results 1 - 25 of 78) sorted by path

1234

/linux-master/drivers/hid/
H A Dhid-ntrig.c144 struct usb_device *usb_dev = hid_to_usb_dev(hdev); local
150 ret = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0),
H A Dhid-roccat-common.c21 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, argument
31 len = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0),
43 int roccat_common2_send(struct usb_device *usb_dev, uint report_id, argument
53 len = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0),
72 static int roccat_common2_receive_control_status(struct usb_device *usb_dev) argument
79 retval = roccat_common2_receive(usb_dev,
97 dev_err(&usb_dev->dev,
107 int roccat_common2_send_with_status(struct usb_device *usb_dev, argument
122 roccat_common2_device_init_struct(struct usb_device *usb_dev, struct roccat_common2_device *dev) argument
136 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
159 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
[all...]
H A Dhid-roccat-common.h25 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id,
27 int roccat_common2_send(struct usb_device *usb_dev, uint report_id,
29 int roccat_common2_send_with_status(struct usb_device *usb_dev,
38 int roccat_common2_device_init_struct(struct usb_device *usb_dev,
H A Dhid-holtek-kbd.c122 struct usb_device *usb_dev = hid_to_usb_dev(hid); local
125 struct usb_interface *boot_interface = usb_ifnum_to_if(usb_dev, 0);
H A Dhid-roccat-arvo.c31 struct usb_device *usb_dev = local
37 retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_MODE_KEY,
51 struct usb_device *usb_dev = local
65 retval = roccat_common2_send(usb_dev, ARVO_COMMAND_MODE_KEY,
81 struct usb_device *usb_dev = local
87 retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_KEY_MASK,
101 struct usb_device *usb_dev = local
115 retval = roccat_common2_send(usb_dev, ARVO_COMMAND_KEY_MASK,
127 static int arvo_get_actual_profile(struct usb_device *usb_dev) argument
132 retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_ACTUAL_PROFIL
155 struct usb_device *usb_dev = local
191 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
210 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
274 arvo_init_arvo_device_struct(struct usb_device *usb_dev, struct arvo_device *arvo) argument
292 struct usb_device *usb_dev = interface_to_usbdev(intf); local
[all...]
H A Dhid-roccat-isku.c31 static int isku_receive(struct usb_device *usb_dev, uint command, argument
34 return roccat_common2_receive(usb_dev, command, buf, size);
37 static int isku_get_actual_profile(struct usb_device *usb_dev) argument
42 retval = isku_receive(usb_dev, ISKU_COMMAND_ACTUAL_PROFILE,
47 static int isku_set_actual_profile(struct usb_device *usb_dev, int new_profile) argument
54 return roccat_common2_send_with_status(usb_dev,
71 struct usb_device *usb_dev; local
78 usb_dev = interface_to_usbdev(to_usb_interface(dev));
89 retval = isku_set_actual_profile(usb_dev, profile);
121 struct usb_device *usb_dev local
143 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
254 isku_init_isku_device_struct(struct usb_device *usb_dev, struct isku_device *isku) argument
272 struct usb_device *usb_dev = interface_to_usbdev(intf); local
[all...]
H A Dhid-roccat-kone.c53 static int kone_receive(struct usb_device *usb_dev, uint usb_command, argument
63 len = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0),
73 static int kone_send(struct usb_device *usb_dev, uint usb_command, argument
83 len = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0),
108 static int kone_check_write(struct usb_device *usb_dev) argument
120 retval = kone_receive(usb_dev,
136 dev_err(&usb_dev->dev, "got retval %d when checking write\n", data);
145 static int kone_get_settings(struct usb_device *usb_dev, argument
157 kone_set_settings(struct usb_device *usb_dev, struct kone_settings const *settings) argument
175 kone_get_profile(struct usb_device *usb_dev, struct kone_profile *buf, int number) argument
201 kone_set_profile(struct usb_device *usb_dev, struct kone_profile const *profile, int number) argument
230 kone_get_weight(struct usb_device *usb_dev, int *result) argument
249 kone_get_firmware_version(struct usb_device *usb_dev, int *result) argument
292 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
358 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
421 struct usb_device *usb_dev; local
457 kone_tcu_command(struct usb_device *usb_dev, int number) argument
473 struct usb_device *usb_dev; local
563 struct usb_device *usb_dev; local
663 kone_init_kone_device_struct(struct usb_device *usb_dev, struct kone_device *kone) argument
700 struct usb_device *usb_dev = interface_to_usbdev(intf); local
[all...]
H A Dhid-roccat-koneplus.c35 static int koneplus_send_control(struct usb_device *usb_dev, uint value, argument
49 return roccat_common2_send_with_status(usb_dev,
56 static int koneplus_get_actual_profile(struct usb_device *usb_dev) argument
61 retval = roccat_common2_receive(usb_dev, KONEPLUS_COMMAND_ACTUAL_PROFILE,
67 static int koneplus_set_actual_profile(struct usb_device *usb_dev, argument
76 return roccat_common2_send_with_status(usb_dev,
87 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
97 retval = roccat_common2_receive(usb_dev, command, buf, real_size);
112 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
119 retval = roccat_common2_send_with_status(usb_dev, comman
190 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
208 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
252 struct usb_device *usb_dev; local
300 struct usb_device *usb_dev; local
362 koneplus_init_koneplus_device_struct(struct usb_device *usb_dev, struct koneplus_device *koneplus) argument
380 struct usb_device *usb_dev = interface_to_usbdev(intf); local
[all...]
H A Dhid-roccat-konepure.c81 struct usb_device *usb_dev = interface_to_usbdev(intf); local
98 retval = roccat_common2_device_init_struct(usb_dev, konepure);
H A Dhid-roccat-kovaplus.c43 static int kovaplus_send_control(struct usb_device *usb_dev, uint value, argument
58 retval = roccat_common2_send(usb_dev, ROCCAT_COMMON_COMMAND_CONTROL,
64 static int kovaplus_select_profile(struct usb_device *usb_dev, uint number, argument
67 return kovaplus_send_control(usb_dev, number, request);
70 static int kovaplus_get_profile_settings(struct usb_device *usb_dev, argument
75 retval = kovaplus_select_profile(usb_dev, number,
80 return roccat_common2_receive(usb_dev, KOVAPLUS_COMMAND_PROFILE_SETTINGS,
84 static int kovaplus_get_profile_buttons(struct usb_device *usb_dev, argument
89 retval = kovaplus_select_profile(usb_dev, number,
94 return roccat_common2_receive(usb_dev, KOVAPLUS_COMMAND_PROFILE_BUTTON
99 kovaplus_get_actual_profile(struct usb_device *usb_dev) argument
110 kovaplus_set_actual_profile(struct usb_device *usb_dev, int new_profile) argument
130 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
155 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
220 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
238 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
282 struct usb_device *usb_dev; local
356 struct usb_device *usb_dev; local
415 kovaplus_init_kovaplus_device_struct(struct usb_device *usb_dev, struct kovaplus_device *kovaplus) argument
449 struct usb_device *usb_dev = interface_to_usbdev(intf); local
[all...]
H A Dhid-roccat-lua.c32 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
42 retval = roccat_common2_receive(usb_dev, command, buf, real_size);
54 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
61 retval = roccat_common2_send(usb_dev, command, buf, real_size);
107 static int lua_init_lua_device_struct(struct usb_device *usb_dev, argument
118 struct usb_device *usb_dev = interface_to_usbdev(intf); local
129 retval = lua_init_lua_device_struct(usb_dev, lua);
H A Dhid-roccat-pyra.c38 static int pyra_send_control(struct usb_device *usb_dev, int value, argument
52 return roccat_common2_send(usb_dev, ROCCAT_COMMON_COMMAND_CONTROL,
56 static int pyra_get_profile_settings(struct usb_device *usb_dev, argument
60 retval = pyra_send_control(usb_dev, number,
64 return roccat_common2_receive(usb_dev, PYRA_COMMAND_PROFILE_SETTINGS,
68 static int pyra_get_settings(struct usb_device *usb_dev, argument
71 return roccat_common2_receive(usb_dev, PYRA_COMMAND_SETTINGS,
75 static int pyra_set_settings(struct usb_device *usb_dev, argument
78 return roccat_common2_send_with_status(usb_dev,
89 struct usb_device *usb_dev local
114 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
187 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
205 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
243 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
295 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); local
312 struct usb_device *usb_dev; local
372 pyra_init_pyra_device_struct(struct usb_device *usb_dev, struct pyra_device *pyra) argument
399 struct usb_device *usb_dev = interface_to_usbdev(intf); local
[all...]
H A Dhid-roccat-ryos.c89 struct usb_device *usb_dev = interface_to_usbdev(intf); local
106 retval = roccat_common2_device_init_struct(usb_dev, ryos);
/linux-master/drivers/media/usb/as102/
H A Das102_drv.c62 dev_dbg(&dev->bus_adap.usb_dev->dev,
101 dev_dbg(&dev->bus_adap.usb_dev->dev,
109 dev_dbg(&dev->bus_adap.usb_dev->dev,
122 dev_dbg(&dev->bus_adap.usb_dev->dev,
183 dev_dbg(&bus_adap->usb_dev->dev,
218 dev_dbg(&bus_adap->usb_dev->dev,
239 dev_dbg(&bus_adap->usb_dev->dev,
242 dev_dbg(&bus_adap->usb_dev->dev,
287 struct device *dev = &as102_dev->bus_adap.usb_dev->dev;
H A Das102_drv.h30 struct usb_device *usb_dev; member in struct:as10x_bus_adapter_t
H A Das102_fw.c161 struct usb_device *dev = bus_adap->usb_dev;
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw-internal.h149 struct usb_device *usb_dev; member in struct:pvr2_hdw
/linux-master/drivers/mfd/
H A Dviperboard.c62 vb->usb_dev = usb_get_dev(interface_to_usbdev(interface));
69 pipe = usb_rcvctrlpipe(vb->usb_dev, 0);
70 ret = usb_control_msg(vb->usb_dev, pipe, VPRBRD_USB_REQUEST_MAJOR,
76 ret = usb_control_msg(vb->usb_dev, pipe, VPRBRD_USB_REQUEST_MINOR,
87 vb->usb_dev->bus->busnum, vb->usb_dev->devnum);
100 usb_put_dev(vb->usb_dev);
113 usb_put_dev(vb->usb_dev);
/linux-master/drivers/mmc/host/
H A Dushc.c90 struct usb_device *usb_dev; member in struct:ushc_data
121 return usb_control_msg(ushc->usb_dev, usb_sndctrlpipe(ushc->usb_dev, 0),
131 ret = usb_control_msg(ushc->usb_dev, usb_rcvctrlpipe(ushc->usb_dev, 0),
141 dev_err(&ushc->usb_dev->dev, "controller version %d is not supported\n", version);
154 ret = usb_control_msg(ushc->usb_dev, usb_sndctrlpipe(ushc->usb_dev, 0),
294 pipe = usb_rcvbulkpipe(ushc->usb_dev, 6);
296 pipe = usb_sndbulkpipe(ushc->usb_dev,
420 struct usb_device *usb_dev = interface_to_usbdev(intf); local
[all...]
/linux-master/drivers/usb/atm/
H A Dspeedtch.c147 struct usb_device *usb_dev = usbatm->usb_dev; local
150 ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0),
163 struct usb_device *usb_dev = usbatm->usb_dev; local
170 ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0),
178 ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev,
236 struct usb_device *usb_dev = usbatm->usb_dev; local
410 struct usb_device *usb_dev = usbatm->usb_dev; local
462 struct usb_device *usb_dev = usbatm->usb_dev; local
649 struct usb_device *usb_dev = usbatm->usb_dev; local
746 speedtch_release_interfaces(struct usb_device *usb_dev, int num_interfaces) argument
765 struct usb_device *usb_dev = interface_to_usbdev(intf); local
910 struct usb_device *usb_dev = interface_to_usbdev(intf); local
[all...]
/linux-master/drivers/usb/host/
H A Dssb-hcd.c156 struct ssb_hcd_device *usb_dev; local
168 usb_dev = devm_kzalloc(dev->dev, sizeof(struct ssb_hcd_device),
170 if (!usb_dev)
177 usb_dev->enable_flags = ssb_hcd_init_chip(dev);
183 usb_dev->ohci_dev = ssb_hcd_create_pdev(dev, true, start, len);
184 if (IS_ERR(usb_dev->ohci_dev))
185 return PTR_ERR(usb_dev->ohci_dev);
189 usb_dev->ehci_dev = ssb_hcd_create_pdev(dev, false, start, len);
190 if (IS_ERR(usb_dev->ehci_dev)) {
191 err = PTR_ERR(usb_dev
206 struct ssb_hcd_device *usb_dev = ssb_get_drvdata(dev); local
234 struct ssb_hcd_device *usb_dev = ssb_get_drvdata(dev); local
[all...]
/linux-master/drivers/usb/image/
H A Dmicrotek.h34 struct usb_device *usb_dev; member in struct:mts_desc
/linux-master/include/linux/mfd/
H A Dviperboard.h99 struct usb_device *usb_dev; /* the usb device for this device */ member in struct:vprbrd
/linux-master/drivers/gpio/
H A Dgpio-viperboard.c107 ret = usb_control_msg(vb->usb_dev, usb_sndctrlpipe(vb->usb_dev, 0),
114 ret = usb_control_msg(vb->usb_dev, usb_rcvctrlpipe(vb->usb_dev, 0),
159 ret = usb_control_msg(vb->usb_dev,
160 usb_sndctrlpipe(vb->usb_dev, 0),
196 ret = usb_control_msg(vb->usb_dev, usb_sndctrlpipe(vb->usb_dev, 0),
237 ret = usb_control_msg(vb->usb_dev, usb_sndctrlpipe(vb->usb_dev,
[all...]
/linux-master/drivers/greybus/
H A Des2.c76 * @usb_dev: pointer to the USB device we are.
101 struct usb_device *usb_dev; member in struct:es2_ap_dev
149 struct usb_device *udev = es2->usb_dev;
181 struct usb_device *udev = es2->usb_dev;
240 dev_err(&es2->usb_dev->dev,
280 dev_err(&es2->usb_dev->dev,
333 dev_dbg(&es2->usb_dev->dev,
394 struct usb_device *udev = es2->usb_dev;
545 struct usb_device *udev = es2->usb_dev;
586 struct device *dev = &es2->usb_dev
[all...]

Completed in 510 milliseconds

1234