Home
last modified time | relevance | path

Searched refs:usbdev (Results 1 – 20 of 20) sorted by relevance

/linux-4.19.296/drivers/media/rc/
Dstreamzap.c79 struct usb_device *usbdev; member
297 le16_to_cpu(sz->usbdev->descriptor.idVendor), in streamzap_init_rc_dev()
298 le16_to_cpu(sz->usbdev->descriptor.idProduct)); in streamzap_init_rc_dev()
299 usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys)); in streamzap_init_rc_dev()
304 usb_to_input_id(sz->usbdev, &rdev->input_id); in streamzap_init_rc_dev()
334 struct usb_device *usbdev = interface_to_usbdev(intf); in streamzap_probe() local
346 sz->usbdev = usbdev; in streamzap_probe()
374 pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress); in streamzap_probe()
375 maxp = usb_maxpacket(usbdev, pipe, usb_pipeout(pipe)); in streamzap_probe()
385 sz->buf_in = usb_alloc_coherent(usbdev, maxp, GFP_ATOMIC, &sz->dma_in); in streamzap_probe()
[all …]
Dmceusb.c466 struct usb_device *usbdev; member
823 usb_fill_int_urb(urb, ir->usbdev, ir->pipe_out, in mce_write()
827 usb_fill_bulk_urb(urb, ir->usbdev, ir->pipe_out, in mce_write()
1368 ret = usb_control_msg(ir->usbdev, usb_rcvctrlpipe(ir->usbdev, 0), in mceusb_gen1_init()
1376 ret = usb_control_msg(ir->usbdev, usb_sndctrlpipe(ir->usbdev, 0), in mceusb_gen1_init()
1383 ret = usb_control_msg(ir->usbdev, usb_sndctrlpipe(ir->usbdev, 0), in mceusb_gen1_init()
1389 ret = usb_control_msg(ir->usbdev, usb_sndctrlpipe(ir->usbdev, 0), in mceusb_gen1_init()
1470 status = usb_clear_halt(ir->usbdev, ir->pipe_in); in mceusb_deferred_kevent()
1487 status = usb_clear_halt(ir->usbdev, ir->pipe_out); in mceusb_deferred_kevent()
1496 struct usb_device *udev = ir->usbdev; in mceusb_init_rc_dev()
[all …]
Dimon.c2369 struct usb_device *usbdev = NULL; in imon_probe() local
2379 usbdev = usb_get_dev(interface_to_usbdev(interface)); in imon_probe()
2382 vendor = le16_to_cpu(usbdev->descriptor.idVendor); in imon_probe()
2383 product = le16_to_cpu(usbdev->descriptor.idProduct); in imon_probe()
2391 first_if = usb_ifnum_to_if(usbdev, 0); in imon_probe()
2446 usbdev->bus->busnum, usbdev->devnum); in imon_probe()
2449 usb_put_dev(usbdev); in imon_probe()
2455 usb_put_dev(usbdev); in imon_probe()
/linux-4.19.296/drivers/media/radio/
Ddsbr100.c75 struct usb_device *usbdev; member
96 retval = usb_control_msg(radio->usbdev, in dsbr100_setfreq()
97 usb_rcvctrlpipe(radio->usbdev, 0), in dsbr100_setfreq()
110 dev_err(&radio->usbdev->dev, in dsbr100_setfreq()
119 int retval = usb_control_msg(radio->usbdev, in dsbr100_start()
120 usb_rcvctrlpipe(radio->usbdev, 0), in dsbr100_start()
127 dev_err(&radio->usbdev->dev, in dsbr100_start()
137 int retval = usb_control_msg(radio->usbdev, in dsbr100_stop()
138 usb_rcvctrlpipe(radio->usbdev, 0), in dsbr100_stop()
145 dev_err(&radio->usbdev->dev, in dsbr100_stop()
[all …]
Dradio-shark2.c58 struct usb_device *usbdev; member
88 res = usb_interrupt_msg(shark->usbdev, in shark_write_reg()
89 usb_sndintpipe(shark->usbdev, SHARK_OUT_EP), in shark_write_reg()
108 res = usb_interrupt_msg(shark->usbdev, in shark_read_reg()
109 usb_sndintpipe(shark->usbdev, SHARK_OUT_EP), in shark_read_reg()
117 res = usb_interrupt_msg(shark->usbdev, in shark_read_reg()
118 usb_rcvintpipe(shark->usbdev, SHARK_IN_EP), in shark_read_reg()
156 res = usb_interrupt_msg(shark->usbdev, in shark_led_work()
157 usb_sndintpipe(shark->usbdev, in shark_led_work()
317 shark->usbdev = interface_to_usbdev(intf); in usb_shark_probe()
[all …]
Dradio-shark.c62 struct usb_device *usbdev; member
94 res = usb_interrupt_msg(shark->usbdev, in shark_write_val()
95 usb_sndintpipe(shark->usbdev, SHARK_OUT_EP), in shark_write_val()
112 res = usb_interrupt_msg(shark->usbdev, in shark_read_val()
113 usb_sndintpipe(shark->usbdev, SHARK_OUT_EP), in shark_read_val()
121 res = usb_interrupt_msg(shark->usbdev, in shark_read_val()
122 usb_rcvintpipe(shark->usbdev, SHARK_IN_EP), in shark_read_val()
172 res = usb_interrupt_msg(shark->usbdev, in shark_led_work()
173 usb_sndintpipe(shark->usbdev, 0x05), in shark_led_work()
351 shark->usbdev = interface_to_usbdev(intf); in usb_shark_probe()
[all …]
Dradio-raremono.c105 struct usb_device *usbdev; member
143 ret = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in raremono_cmd_main()
186 usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); in vidioc_querycap()
224 ret = usb_control_msg(radio->usbdev, usb_rcvctrlpipe(radio->usbdev, 0), in vidioc_g_tuner()
315 radio->usbdev = interface_to_usbdev(intf); in usb_raremono_probe()
328 retval = usb_control_msg(radio->usbdev, in usb_raremono_probe()
329 usb_rcvctrlpipe(radio->usbdev, 0), in usb_raremono_probe()
Dradio-ma901.c82 struct usb_device *usbdev; member
116 retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in ma901radio_set_freq()
139 retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in ma901radio_set_volume()
162 retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in ma901_set_stereo()
202 usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); in vidioc_querycap()
411 radio->usbdev = interface_to_usbdev(intf); in usb_ma901radio_probe()
Dradio-keene.c57 struct usb_device *usbdev; member
99 ret = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in keene_cmd_main()
128 ret = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in keene_cmd_set()
179 usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); in vidioc_querycap()
374 radio->usbdev = interface_to_usbdev(intf); in usb_keene_probe()
Dradio-mr800.c126 struct usb_device *usbdev; member
159 retval = usb_bulk_msg(radio->usbdev, usb_sndintpipe(radio->usbdev, 2), in amradio_send_cmd()
174 retval = usb_bulk_msg(radio->usbdev, usb_sndintpipe(radio->usbdev, 2), in amradio_send_cmd()
178 retval = usb_bulk_msg(radio->usbdev, usb_rcvbulkpipe(radio->usbdev, 0x81), in amradio_send_cmd()
271 usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); in vidioc_querycap()
558 radio->usbdev = interface_to_usbdev(intf); in usb_amradio_probe()
/linux-4.19.296/drivers/hid/
Dhid-corsair.c154 struct usb_device *usbdev = interface_to_usbdev(usbif); in k90_backlight_get() local
162 ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), in k90_backlight_get()
210 struct usb_device *usbdev; in k90_backlight_work() local
217 usbdev = interface_to_usbdev(usbif); in k90_backlight_work()
219 ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), in k90_backlight_work()
235 struct usb_device *usbdev; in k90_record_led_work() local
243 usbdev = interface_to_usbdev(usbif); in k90_record_led_work()
250 ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), in k90_record_led_work()
269 struct usb_device *usbdev = interface_to_usbdev(usbif); in k90_show_macro_mode() local
277 ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), in k90_show_macro_mode()
[all …]
Dhid-elo.c30 struct usb_device *usbdev; member
139 struct usb_device *dev = priv->usbdev; in elo_work()
241 priv->usbdev = interface_to_usbdev(to_usb_interface(hdev->dev.parent)); in elo_probe()
257 if (elo_broken_firmware(priv->usbdev)) { in elo_probe()
Dwacom.h164 struct usb_device *usbdev; member
Dhid-logitech-dj.c372 struct usb_device *usbdev = interface_to_usbdev(intf); in logi_dj_recv_add_djhid_device() local
405 dj_hiddev->vendor = le16_to_cpu(usbdev->descriptor.idVendor); in logi_dj_recv_add_djhid_device()
416 usb_make_path(usbdev, dj_hiddev->phys, sizeof(dj_hiddev->phys)); in logi_dj_recv_add_djhid_device()
Dwacom_sys.c2416 struct usb_device *usbdev = wacom->usbdev; in wacom_wireless_work() local
2430 if (!usbdev) in wacom_wireless_work()
2434 hdev1 = usb_get_intfdata(usbdev->config->interface[1]); in wacom_wireless_work()
2440 hdev2 = usb_get_intfdata(usbdev->config->interface[2]); in wacom_wireless_work()
2769 wacom->usbdev = dev; in wacom_probe()
/linux-4.19.296/drivers/media/radio/si4713/
Dradio-usb-si4713.c49 struct usb_device *usbdev; member
72 usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); in vidioc_querycap()
162 retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in si4713_send_startup_command()
170 retval = usb_control_msg(radio->usbdev, usb_rcvctrlpipe(radio->usbdev, 0), in si4713_send_startup_command()
308 retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in send_command()
322 retval = usb_control_msg(radio->usbdev, in si4713_i2c_read()
323 usb_rcvctrlpipe(radio->usbdev, 0), in si4713_i2c_read()
407 radio->i2c_adapter.dev.parent = &radio->usbdev->dev; in si4713_register_i2c_adapter()
438 radio->usbdev = interface_to_usbdev(intf); in usb_si4713_probe()
/linux-4.19.296/drivers/hid/usbhid/
Dusbmouse.c53 struct usb_device *usbdev; member
94 dev_err(&mouse->usbdev->dev, in usb_mouse_irq()
96 mouse->usbdev->bus->bus_name, in usb_mouse_irq()
97 mouse->usbdev->devpath, status); in usb_mouse_irq()
104 mouse->irq->dev = mouse->usbdev; in usb_mouse_open()
153 mouse->usbdev = dev; in usb_mouse_probe()
Dusbkbd.c94 struct usb_device *usbdev; member
161 kbd->usbdev->bus->bus_name, in usb_kbd_irq()
162 kbd->usbdev->devpath, i); in usb_kbd_irq()
191 kbd->led->dev = kbd->usbdev; in usb_kbd_event()
221 kbd->led->dev = kbd->usbdev; in usb_kbd_led()
234 kbd->irq->dev = kbd->usbdev; in usb_kbd_open()
304 kbd->usbdev = dev; in usb_kbd_probe()
/linux-4.19.296/drivers/media/radio/si470x/
Dradio-si470x-usb.c212 retval = usb_control_msg(radio->usbdev, in si470x_get_report()
213 usb_rcvctrlpipe(radio->usbdev, 0), in si470x_get_report()
235 retval = usb_control_msg(radio->usbdev, in si470x_set_report()
236 usb_sndctrlpipe(radio->usbdev, 0), in si470x_set_report()
473 if (radio->int_in_running && radio->usbdev) { in si470x_int_in_callback()
524 usb_make_path(radio->usbdev, capability->bus_info, in si470x_vidioc_querycap()
538 usb_fill_int_urb(radio->int_in_urb, radio->usbdev, in si470x_start_usb()
539 usb_rcvintpipe(radio->usbdev, in si470x_start_usb()
595 radio->usbdev = interface_to_usbdev(intf); in si470x_usb_driver_probe()
647 retval = usb_control_msg(radio->usbdev, in si470x_usb_driver_probe()
[all …]
Dradio-si470x.h175 struct usb_device *usbdev; member