Home
last modified time | relevance | path

Searched refs:usb_dev (Results 1 – 25 of 59) sorted by relevance

123

/linux/drivers/usb/atm/
H A Dspeedtch.c149 struct usb_device *usb_dev = usbatm->usb_dev; in speedtch_set_swbuff()
152 ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), in speedtch_set_swbuff()
165 struct usb_device *usb_dev = usbatm->usb_dev; in speedtch_test_sequence()
172 ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), in speedtch_test_sequence()
180 ret = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, in speedtch_test_sequence()
148 struct usb_device *usb_dev = usbatm->usb_dev; speedtch_set_swbuff() local
164 struct usb_device *usb_dev = usbatm->usb_dev; speedtch_test_sequence() local
237 struct usb_device *usb_dev = usbatm->usb_dev; speedtch_upload_firmware() local
411 struct usb_device *usb_dev = usbatm->usb_dev; speedtch_read_status() local
463 struct usb_device *usb_dev = usbatm->usb_dev; speedtch_start_synchro() local
652 struct usb_device *usb_dev = usbatm->usb_dev; speedtch_atm_start() local
749 speedtch_release_interfaces(struct usb_device * usb_dev,int num_interfaces) speedtch_release_interfaces() argument
768 struct usb_device *usb_dev = interface_to_usbdev(intf); speedtch_bind() local
913 struct usb_device *usb_dev = interface_to_usbdev(intf); speedtch_unbind() local
[all...]
H A Dcxacru.c937 static int cxacru_fw(struct usb_device *usb_dev, enum cxacru_fw_request fw, in cxacru_fw() argument
967 ret = usb_bulk_msg(usb_dev, usb_sndbulkpipe(usb_dev, CXACRU_EP_CMD), in cxacru_fw()
970 dev_dbg(&usb_dev->dev, "sending fw %#x failed\n", fw); in cxacru_fw()
976 dev_dbg(&usb_dev->dev, "sent fw %#x\n", fw); in cxacru_fw()
1012 struct usb_device *usb_dev = usbatm->usb_dev; in cxacru_heavy_init() local
1013 __le16 signature[] = { usb_dev->descriptor.idVendor, in cxacru_heavy_init()
1014 usb_dev->descriptor.idProduct }; in cxacru_heavy_init()
1035 ret = cxacru_fw(usb_dev, FW_WRITE_ME in cxacru_heavy_init()
1126 struct usb_device *usb_dev = interface_to_usbdev(intf); cxacru_bind() local
1349 struct usb_device *usb_dev = interface_to_usbdev(intf); cxacru_usb_probe() local
[all...]
H A Dueagle-atm.c39 #define uea_dbg(usb_dev, format, args...) \ argument
42 dev_dbg(&(usb_dev)->dev, \
47 #define uea_vdbg(usb_dev, format, args...) \ argument
50 dev_dbg(&(usb_dev)->dev, \
54 #define uea_err(usb_dev, format, args...) \ argument
55 dev_err(&(usb_dev)->dev , "[UEAGLE-ATM] " format , ##args)
57 #define uea_warn(usb_dev, format, args...) \ argument
58 dev_warn(&(usb_dev)->dev , "[Ueagle-atm] " format, ##args)
60 #define uea_info(usb_dev, format, args...) \ argument
61 dev_info(&(usb_dev)->dev , "[ueagle-atm] " format, ##args)
[all …]
/linux/drivers/hid/
H A Dhid-roccat-common.c21 int roccat_common2_receive(struct usb_device *usb_dev, uint report_id, in roccat_common2_receive() argument
31 len = usb_control_msg(usb_dev, usb_rcvctrlpipe(usb_dev, 0), in roccat_common2_receive()
43 int roccat_common2_send(struct usb_device *usb_dev, uint report_id, in roccat_common2_send() argument
53 len = usb_control_msg(usb_dev, usb_sndctrlpipe(usb_dev, 0), in roccat_common2_send()
72 static int roccat_common2_receive_control_status(struct usb_device *usb_dev) in roccat_common2_receive_control_status() argument
79 retval = roccat_common2_receive(usb_dev, in roccat_common2_receive_control_status()
97 dev_err(&usb_dev->dev, in roccat_common2_receive_control_status()
107 int roccat_common2_send_with_status(struct usb_device *usb_dev, in roccat_common2_send_with_status() argument
112 retval = roccat_common2_send(usb_dev, command, buf, size); in roccat_common2_send_with_status()
118 return roccat_common2_receive_control_status(usb_dev); in roccat_common2_send_with_status()
[all …]
H A Dhid-roccat-kovaplus.c43 static int kovaplus_send_control(struct usb_device *usb_dev, uint value, in kovaplus_send_control() argument
58 retval = roccat_common2_send(usb_dev, ROCCAT_COMMON_COMMAND_CONTROL, in kovaplus_send_control()
64 static int kovaplus_select_profile(struct usb_device *usb_dev, uint number, in kovaplus_select_profile() argument
67 return kovaplus_send_control(usb_dev, number, request); in kovaplus_select_profile()
70 static int kovaplus_get_profile_settings(struct usb_device *usb_dev, in kovaplus_get_profile_settings() argument
75 retval = kovaplus_select_profile(usb_dev, number, in kovaplus_get_profile_settings()
80 return roccat_common2_receive(usb_dev, KOVAPLUS_COMMAND_PROFILE_SETTINGS, in kovaplus_get_profile_settings()
84 static int kovaplus_get_profile_buttons(struct usb_device *usb_dev, in kovaplus_get_profile_buttons() argument
89 retval = kovaplus_select_profile(usb_dev, number, in kovaplus_get_profile_buttons()
94 return roccat_common2_receive(usb_dev, KOVAPLUS_COMMAND_PROFILE_BUTTON in kovaplus_get_profile_buttons()
99 kovaplus_get_actual_profile(struct usb_device * usb_dev) kovaplus_get_actual_profile() argument
110 kovaplus_set_actual_profile(struct usb_device * usb_dev,int new_profile) kovaplus_set_actual_profile() argument
130 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); kovaplus_sysfs_read() local
155 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); kovaplus_sysfs_write() local
220 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); kovaplus_sysfs_read_profilex_settings() local
238 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); kovaplus_sysfs_read_profilex_buttons() local
282 struct usb_device *usb_dev; kovaplus_sysfs_set_actual_profile() local
356 struct usb_device *usb_dev; kovaplus_sysfs_show_firmware_version() local
415 kovaplus_init_kovaplus_device_struct(struct usb_device * usb_dev,struct kovaplus_device * kovaplus) kovaplus_init_kovaplus_device_struct() argument
449 struct usb_device *usb_dev = interface_to_usbdev(intf); kovaplus_init_specials() local
[all...]
H A Dhid-roccat-pyra.c38 static int pyra_send_control(struct usb_device *usb_dev, int value, in pyra_send_control() argument
52 return roccat_common2_send(usb_dev, ROCCAT_COMMON_COMMAND_CONTROL, in pyra_send_control()
56 static int pyra_get_profile_settings(struct usb_device *usb_dev, in pyra_get_profile_settings() argument
60 retval = pyra_send_control(usb_dev, number, in pyra_get_profile_settings()
64 return roccat_common2_receive(usb_dev, PYRA_COMMAND_PROFILE_SETTINGS, in pyra_get_profile_settings()
68 static int pyra_get_settings(struct usb_device *usb_dev, in pyra_get_settings() argument
71 return roccat_common2_receive(usb_dev, PYRA_COMMAND_SETTINGS, in pyra_get_settings()
75 static int pyra_set_settings(struct usb_device *usb_dev, in pyra_set_settings() argument
78 return roccat_common2_send_with_status(usb_dev, in pyra_set_settings()
89 struct usb_device *usb_dev in pyra_sysfs_read() local
114 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); pyra_sysfs_write() local
187 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); pyra_sysfs_read_profilex_settings() local
205 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); pyra_sysfs_read_profilex_buttons() local
243 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); pyra_sysfs_write_settings() local
295 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); pyra_sysfs_show_actual_profile() local
312 struct usb_device *usb_dev; pyra_sysfs_show_firmware_version() local
372 pyra_init_pyra_device_struct(struct usb_device * usb_dev,struct pyra_device * pyra) pyra_init_pyra_device_struct() argument
399 struct usb_device *usb_dev = interface_to_usbdev(intf); pyra_init_specials() local
[all...]
H A Dhid-roccat-koneplus.c35 static int koneplus_send_control(struct usb_device *usb_dev, uint value, in koneplus_send_control() argument
49 return roccat_common2_send_with_status(usb_dev, in koneplus_send_control()
56 static int koneplus_get_actual_profile(struct usb_device *usb_dev) in koneplus_get_actual_profile() argument
61 retval = roccat_common2_receive(usb_dev, KONEPLUS_COMMAND_ACTUAL_PROFILE, in koneplus_get_actual_profile()
67 static int koneplus_set_actual_profile(struct usb_device *usb_dev, in koneplus_set_actual_profile() argument
76 return roccat_common2_send_with_status(usb_dev, in koneplus_set_actual_profile()
87 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_read() local
97 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in koneplus_sysfs_read()
112 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in koneplus_sysfs_write() local
119 retval = roccat_common2_send_with_status(usb_dev, comman in koneplus_sysfs_write()
190 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); koneplus_sysfs_read_profilex_settings() local
208 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); koneplus_sysfs_read_profilex_buttons() local
252 struct usb_device *usb_dev; koneplus_sysfs_set_actual_profile() local
300 struct usb_device *usb_dev; koneplus_sysfs_show_firmware_version() local
362 koneplus_init_koneplus_device_struct(struct usb_device * usb_dev,struct koneplus_device * koneplus) koneplus_init_koneplus_device_struct() argument
380 struct usb_device *usb_dev = interface_to_usbdev(intf); koneplus_init_specials() local
[all...]
H A Dhid-roccat-arvo.c31 struct usb_device *usb_dev = in arvo_sysfs_show_mode_key() local
37 retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_MODE_KEY, in arvo_sysfs_show_mode_key()
51 struct usb_device *usb_dev = in arvo_sysfs_set_mode_key() local
65 retval = roccat_common2_send(usb_dev, ARVO_COMMAND_MODE_KEY, in arvo_sysfs_set_mode_key()
81 struct usb_device *usb_dev = in arvo_sysfs_show_key_mask() local
87 retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_KEY_MASK, in arvo_sysfs_show_key_mask()
101 struct usb_device *usb_dev = in arvo_sysfs_set_key_mask() local
115 retval = roccat_common2_send(usb_dev, ARVO_COMMAND_KEY_MASK, in arvo_sysfs_set_key_mask()
127 static int arvo_get_actual_profile(struct usb_device *usb_dev) in arvo_get_actual_profile() argument
132 retval = roccat_common2_receive(usb_dev, ARVO_COMMAND_ACTUAL_PROFILE, in arvo_get_actual_profile()
[all …]
H A Dhid-roccat-isku.c31 static int isku_receive(struct usb_device *usb_dev, uint command, in isku_receive() argument
34 return roccat_common2_receive(usb_dev, command, buf, size); in isku_receive()
37 static int isku_get_actual_profile(struct usb_device *usb_dev) in isku_get_actual_profile() argument
42 retval = isku_receive(usb_dev, ISKU_COMMAND_ACTUAL_PROFILE, in isku_get_actual_profile()
47 static int isku_set_actual_profile(struct usb_device *usb_dev, int new_profile) in isku_set_actual_profile() argument
54 return roccat_common2_send_with_status(usb_dev, in isku_set_actual_profile()
71 struct usb_device *usb_dev; in isku_sysfs_set_actual_profile() local
78 usb_dev = interface_to_usbdev(to_usb_interface(dev)); in isku_sysfs_set_actual_profile()
89 retval = isku_set_actual_profile(usb_dev, profile); in isku_sysfs_set_actual_profile()
121 struct usb_device *usb_dev in isku_sysfs_read() local
143 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); isku_sysfs_write() local
254 isku_init_isku_device_struct(struct usb_device * usb_dev,struct isku_device * isku) isku_init_isku_device_struct() argument
272 struct usb_device *usb_dev = interface_to_usbdev(intf); isku_init_specials() local
[all...]
H A Dhid-roccat-lua.c32 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in lua_sysfs_read() local
42 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in lua_sysfs_read()
54 struct usb_device *usb_dev = interface_to_usbdev(to_usb_interface(dev)); in lua_sysfs_write() local
61 retval = roccat_common2_send(usb_dev, command, buf, real_size); in lua_sysfs_write()
107 static int lua_init_lua_device_struct(struct usb_device *usb_dev, in lua_init_lua_device_struct() argument
118 struct usb_device *usb_dev = interface_to_usbdev(intf); in lua_init_specials() local
129 retval = lua_init_lua_device_struct(usb_dev, lua); in lua_init_specials()
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-thrustmaster.c119 struct usb_device *usb_dev; member
256 tm_wheel->usb_dev, in thrustmaster_model_handler()
257 usb_sndctrlpipe(tm_wheel->usb_dev, 0), in thrustmaster_model_handler()
345 tm_wheel->usb_dev = interface_to_usbdev(to_usb_interface(hdev->dev.parent)); in thrustmaster_probe()
352 tm_wheel->usb_dev, in thrustmaster_probe()
353 usb_rcvctrlpipe(tm_wheel->usb_dev, 0), in thrustmaster_probe()
/linux/drivers/usb/core/
H A Dledtrig-usbport.c42 struct usb_device *usb_dev) in usbport_trig_usb_dev_observed() argument
46 if (!usb_dev->parent) in usbport_trig_usb_dev_observed()
50 if (usb_dev->parent == port->hub && in usbport_trig_usb_dev_observed()
51 usb_dev->portnum == port->portnum) in usbport_trig_usb_dev_observed()
58 static int usbport_trig_usb_dev_check(struct usb_device *usb_dev, void *data) in usbport_trig_usb_dev_check() argument
62 if (usbport_trig_usb_dev_observed(usbport_data, usb_dev)) in usbport_trig_usb_dev_check()
131 struct usb_device *usb_dev, int port1) in usbport_trig_port_observed() argument
147 port_np = usb_of_get_device_node(usb_dev, port1); in usbport_trig_port_observed()
185 struct usb_device *usb_dev, in usbport_trig_add_port() argument
200 port->hub = usb_dev; in usbport_trig_add_port()
[all …]
H A Dfile.c150 intf->usb_dev = device_create(&usbmisc_class, &intf->dev, in usb_register_dev()
153 if (IS_ERR(intf->usb_dev)) { in usb_register_dev()
156 retval = PTR_ERR(intf->usb_dev); in usb_register_dev()
190 intf->usb_dev = NULL; in usb_deregister_dev()
H A Dmessage.c101 static int usb_internal_control_msg(struct usb_device *usb_dev, in usb_internal_control_msg() argument
114 usb_fill_control_urb(urb, usb_dev, pipe, (unsigned char *)cmd, data, in usb_internal_control_msg()
312 * @usb_dev: pointer to the usb device to send the message to
335 int usb_interrupt_msg(struct usb_device *usb_dev, unsigned int pipe, in usb_interrupt_msg() argument
338 return usb_bulk_msg(usb_dev, pipe, data, len, actual_length, timeout); in usb_interrupt_msg()
344 * @usb_dev: pointer to the usb device to send the message to
373 int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, in usb_bulk_msg() argument
379 ep = usb_pipe_endpoint(usb_dev, pipe); in usb_bulk_msg()
390 usb_fill_int_urb(urb, usb_dev, pipe, data, len, in usb_bulk_msg()
394 usb_fill_bulk_urb(urb, usb_dev, pip in usb_bulk_msg()
422 usb_bulk_msg_killable(struct usb_device * usb_dev,unsigned int pipe,void * data,int len,int * actual_length,int timeout) usb_bulk_msg_killable() argument
1889 const struct usb_device *usb_dev; usb_if_uevent() local
[all...]
/linux/drivers/usb/host/
H A Dssb-hcd.c156 struct ssb_hcd_device *usb_dev; in ssb_hcd_probe() local
168 usb_dev = devm_kzalloc_obj(dev->dev, struct ssb_hcd_device); in ssb_hcd_probe()
169 if (!usb_dev) in ssb_hcd_probe()
176 usb_dev->enable_flags = ssb_hcd_init_chip(dev); in ssb_hcd_probe()
182 usb_dev->ohci_dev = ssb_hcd_create_pdev(dev, true, start, len); in ssb_hcd_probe()
183 if (IS_ERR(usb_dev->ohci_dev)) in ssb_hcd_probe()
184 return PTR_ERR(usb_dev->ohci_dev); in ssb_hcd_probe()
188 usb_dev->ehci_dev = ssb_hcd_create_pdev(dev, false, start, len); in ssb_hcd_probe()
189 if (IS_ERR(usb_dev->ehci_dev)) { in ssb_hcd_probe()
190 err = PTR_ERR(usb_dev in ssb_hcd_probe()
206 struct ssb_hcd_device *usb_dev = ssb_get_drvdata(dev); ssb_hcd_remove() local
234 struct ssb_hcd_device *usb_dev = ssb_get_drvdata(dev); ssb_hcd_resume() local
[all...]
/linux/sound/usb/caiaq/
H A Ddevice.c209 struct usb_device *usb_dev = cdev->chip.dev; in snd_usb_caiaq_send_command()
211 if (!usb_dev) in snd_usb_caiaq_send_command()
223 return usb_bulk_msg(usb_dev, usb_sndbulkpipe(usb_dev, 1), in snd_usb_caiaq_send_command_bank()
234 struct usb_device *usb_dev = cdev->chip.dev; in snd_usb_caiaq_send_command_bank()
236 if (!usb_dev) in snd_usb_caiaq_send_command_bank()
250 return usb_bulk_msg(usb_dev, usb_sndbulkpipe(usb_dev, 1), in snd_usb_caiaq_set_audio_params()
429 static int create_card(struct usb_device *usb_dev, in create_card()
452 cdev->chip.dev = usb_get_dev(usb_dev); in init_card()
207 struct usb_device *usb_dev = cdev->chip.dev; snd_usb_caiaq_send_command() local
230 struct usb_device *usb_dev = cdev->chip.dev; snd_usb_caiaq_send_command_bank() local
417 create_card(struct usb_device * usb_dev,struct usb_interface * intf,struct snd_card ** cardp) create_card() argument
454 struct usb_device *usb_dev = cdev->chip.dev; init_card() local
554 struct usb_device *usb_dev = interface_to_usbdev(intf); snd_probe() local
[all...]
/linux/drivers/mmc/host/
H A Dushc.c90 struct usb_device *usb_dev; member
121 return usb_control_msg(ushc->usb_dev, usb_sndctrlpipe(ushc->usb_dev, 0), in ushc_hw_reset()
131 ret = usb_control_msg(ushc->usb_dev, usb_rcvctrlpipe(ushc->usb_dev, 0), in ushc_hw_get_caps()
141 dev_err(&ushc->usb_dev->dev, "controller version %d is not supported\n", version); in ushc_hw_get_caps()
154 ret = usb_control_msg(ushc->usb_dev, usb_sndctrlpipe(ushc->usb_dev, 0), in ushc_hw_set_host_ctrl()
294 pipe = usb_rcvbulkpipe(ushc->usb_dev, 6); in ushc_request()
296 pipe = usb_sndbulkpipe(ushc->usb_dev, in ushc_request()
418 struct usb_device *usb_dev = interface_to_usbdev(intf); ushc_probe() local
[all...]
/linux/drivers/mfd/
H A Dviperboard.c62 vb->usb_dev = interface_to_usbdev(interface); in vprbrd_probe()
69 pipe = usb_rcvctrlpipe(vb->usb_dev, 0); in vprbrd_probe()
70 ret = usb_control_msg(vb->usb_dev, pipe, VPRBRD_USB_REQUEST_MAJOR, in vprbrd_probe()
76 ret = usb_control_msg(vb->usb_dev, pipe, VPRBRD_USB_REQUEST_MINOR, in vprbrd_probe()
87 vb->usb_dev->bus->busnum, vb->usb_dev->devnum); in vprbrd_probe()
/linux/drivers/media/usb/as102/
H A Das102_drv.c62 dev_dbg(&dev->bus_adap.usb_dev->dev, in as102_stop_stream()
101 dev_dbg(&dev->bus_adap.usb_dev->dev, in as10x_pid_filter()
109 dev_dbg(&dev->bus_adap.usb_dev->dev, in as10x_pid_filter()
122 dev_dbg(&dev->bus_adap.usb_dev->dev, in as10x_pid_filter()
183 dev_dbg(&bus_adap->usb_dev->dev, in as102_set_tune()
218 dev_dbg(&bus_adap->usb_dev->dev, in as102_get_status()
239 dev_dbg(&bus_adap->usb_dev->dev, in as102_get_stats()
242 dev_dbg(&bus_adap->usb_dev->dev, in as102_get_stats()
287 struct device *dev = &as102_dev->bus_adap.usb_dev->dev; in as102_dvb_register()
/linux/drivers/most/
H A Dmost_usb.c183 static inline int start_sync_ep(struct usb_device *usb_dev, u16 ep) in start_sync_ep() argument
185 return drci_wr_reg(usb_dev, DRCI_REG_BASE + DRCI_COMMAND + ep * 16, 1); in start_sync_ep()
856 struct usb_device *usb_dev = dci_obj->usb_device; in value_store() local
869 err = drci_wr_reg(usb_dev, dci_obj->reg_addr, val); in value_store()
871 err = start_sync_ep(usb_dev, val); in value_store()
873 err = drci_wr_reg(usb_dev, reg_addr, val); in value_store()
954 struct usb_device *usb_dev = interface_to_usbdev(interface); in hdm_probe() local
955 struct device *dev = &usb_dev->dev; in hdm_probe()
977 mdev->usb_device = usb_dev; in hdm_probe()
995 usb_dev->bus->busnum, in hdm_probe()
[all …]
/linux/drivers/iio/adc/
H A Dviperboard_adc.c68 ret = usb_control_msg(vb->usb_dev, in vprbrd_iio_read_raw()
69 usb_sndctrlpipe(vb->usb_dev, 0), VPRBRD_USB_REQUEST_ADC, in vprbrd_iio_read_raw()
79 ret = usb_control_msg(vb->usb_dev, in vprbrd_iio_read_raw()
80 usb_rcvctrlpipe(vb->usb_dev, 0), VPRBRD_USB_REQUEST_ADC, in vprbrd_iio_read_raw()
/linux/drivers/greybus/
H A Des2.c101 struct usb_device *usb_dev; member
149 struct usb_device *udev = es2->usb_dev; in output_sync()
181 struct usb_device *udev = es2->usb_dev; in output_async()
240 dev_err(&es2->usb_dev->dev, in es2_cport_in_enable()
280 dev_err(&es2->usb_dev->dev, in es2_arpc_in_enable()
333 dev_dbg(&es2->usb_dev->dev, in next_free_urb()
394 struct usb_device *udev = es2->usb_dev; in message_send()
545 struct usb_device *udev = es2->usb_dev; in cport_enable()
586 struct device *dev = &es2->usb_dev->dev; in es2_cport_connected()
605 struct device *dev = &es2->usb_dev->dev; in es2_cport_flush()
[all …]
/linux/drivers/usb/misc/
H A Dusb-ljca.c110 * @usb_dev: the usb device for this ljca adapter
131 struct usb_device *usb_dev; member
343 ret = usb_bulk_msg(adap->usb_dev, adap->tx_pipe, header, in ljca_send()
759 struct usb_device *usb_dev = interface_to_usbdev(interface); in ljca_probe() local
782 adap->usb_dev = usb_dev; in ljca_probe()
794 adap->rx_pipe = usb_rcvbulkpipe(usb_dev, usb_endpoint_num(ep_in)); in ljca_probe()
795 adap->tx_pipe = usb_sndbulkpipe(usb_dev, usb_endpoint_num(ep_out)); in ljca_probe()
811 usb_fill_bulk_urb(adap->rx_urb, usb_dev, adap->rx_pipe, in ljca_probe()
833 pm_runtime_set_autosuspend_delay(&usb_dev in ljca_probe()
[all...]
/linux/drivers/usb/class/
H A Dcdc-acm.c1219 struct usb_device *usb_dev = interface_to_usbdev(intf); in acm_probe()
1247 data_interface = usb_ifnum_to_if(usb_dev, 1); in acm_probe()
1248 control_interface = usb_ifnum_to_if(usb_dev, 0); in acm_probe()
1254 data_interface = usb_ifnum_to_if(usb_dev, 2); in acm_probe()
1255 control_interface = usb_ifnum_to_if(usb_dev, 1); in acm_probe()
1297 data_interface = usb_ifnum_to_if(usb_dev, data_intf_num); in acm_probe()
1307 control_interface = usb_ifnum_to_if(usb_dev, union_header->bMasterInterface0); in acm_probe()
1308 data_interface = usb_ifnum_to_if(usb_dev, data_intf_num); in acm_probe()
1411 acm->dev = usb_dev; in acm_probe()
1428 acm->in = usb_rcvintpipe(usb_dev, eprea in acm_probe()
1212 struct usb_device *usb_dev = interface_to_usbdev(intf); acm_probe() local
[all...]

123