/openbmc/linux/drivers/net/wireless/legacy/ |
H A D | rndis_wlan.c | 1836 struct usbnet *usbdev = priv->usbdev; in rndis_change_virtual_intf() local 1858 struct usbnet *usbdev = priv->usbdev; in rndis_set_wiphy_params() local 1882 struct usbnet *usbdev = priv->usbdev; in rndis_set_tx_power() local 1910 struct usbnet *usbdev = priv->usbdev; in rndis_get_tx_power() local 2109 struct usbnet *usbdev = priv->usbdev; in rndis_get_scan_results() local 2130 struct usbnet *usbdev = priv->usbdev; in rndis_connect() local 2253 struct usbnet *usbdev = priv->usbdev; in rndis_disconnect() local 2267 struct usbnet *usbdev = priv->usbdev; in rndis_join_ibss() local 2365 struct usbnet *usbdev = priv->usbdev; in rndis_leave_ibss() local 2380 struct usbnet *usbdev = priv->usbdev; in rndis_add_key() local [all …]
|
/openbmc/linux/drivers/media/usb/go7007/ |
H A D | go7007-loader.c | 37 struct usb_device *usbdev; in go7007_loader_probe() local 44 usbdev = usb_get_dev(interface_to_usbdev(interface)); in go7007_loader_probe() 45 if (!usbdev) in go7007_loader_probe() 48 if (usbdev->descriptor.bNumConfigurations != 1) { in go7007_loader_probe() 53 vendor = le16_to_cpu(usbdev->descriptor.idVendor); in go7007_loader_probe() 54 product = le16_to_cpu(usbdev->descriptor.idProduct); in go7007_loader_probe() 70 if (request_firmware(&fw, fw1, &usbdev->dev)) { in go7007_loader_probe() 75 ret = cypress_load_firmware(usbdev, fw, CYPRESS_FX2); in go7007_loader_probe() 85 if (request_firmware(&fw, fw2, &usbdev->dev)) { in go7007_loader_probe() 90 ret = cypress_load_firmware(usbdev, fw, CYPRESS_FX2); in go7007_loader_probe() [all …]
|
H A D | go7007-usb.c | 56 struct usb_device *usbdev; member 686 r = usb_control_msg(usb->usbdev, in go7007_usb_ezusb_write_interrupt() 704 r = usb_control_msg(usb->usbdev, usb_sndctrlpipe(usb->usbdev, 0), 0x12, in go7007_usb_ezusb_write_interrupt() 709 r = usb_control_msg(usb->usbdev, usb_sndctrlpipe(usb->usbdev, 0), in go7007_usb_ezusb_write_interrupt() 735 r = usb_control_msg(usb->usbdev, usb_sndctrlpipe(usb->usbdev, 2), 0x00, in go7007_usb_onboard_write_interrupt() 1125 usb->usbdev = usbdev; in go7007_usb_probe() 1135 ep = usb->usbdev->ep_in[4]; in go7007_usb_probe() 1155 usb_rcvintpipe(usb->usbdev, 4), in go7007_usb_probe() 1271 if (!usb->usbdev->ep_in[6]) in go7007_usb_probe() 1276 if (!usb->usbdev->ep_in[1]) in go7007_usb_probe() [all …]
|
/openbmc/linux/drivers/usb/misc/ |
H A D | uss720.c | 134 usbdev = priv->usbdev; in submit_async_request() 135 if (!usbdev) in submit_async_request() 504 struct usb_device *usbdev = priv->usbdev; in parport_uss720_epp_write_data() local 508 if (!usbdev) in parport_uss720_epp_write_data() 565 struct usb_device *usbdev = priv->usbdev; in parport_uss720_ecp_write_data() local 569 if (!usbdev) in parport_uss720_ecp_write_data() 583 struct usb_device *usbdev = priv->usbdev; in parport_uss720_ecp_read_data() local 587 if (!usbdev) in parport_uss720_ecp_read_data() 616 struct usb_device *usbdev = priv->usbdev; in parport_uss720_write_compat() local 620 if (!usbdev) in parport_uss720_write_compat() [all …]
|
/openbmc/linux/sound/usb/line6/ |
H A D | driver.c | 118 retval = usb_bulk_msg(line6->usbdev, in line6_send_raw_message() 163 usb_fill_int_urb(urb, line6->usbdev, in line6_send_raw_message_async_part() 168 usb_fill_bulk_urb(urb, line6->usbdev, in line6_send_raw_message_async_part() 344 struct usb_device *usbdev = line6->usbdev; in line6_read_data() local 412 struct usb_device *usbdev = line6->usbdev; in line6_write_data() local 482 struct usb_device *usbdev = line6->usbdev; in line6_destruct() local 496 usb_put_dev(usbdev); in line6_destruct() 501 struct usb_device *usbdev = line6->usbdev; in line6_get_usb_properties() local 769 line6->usbdev = usbdev; in line6_probe() 783 usb_get_dev(usbdev); in line6_probe() [all …]
|
H A D | toneport.c | 62 static int toneport_send_cmd(struct usb_device *usbdev, int cmd1, int cmd2); 125 static int toneport_send_cmd(struct usb_device *usbdev, int cmd1, int cmd2) in toneport_send_cmd() argument 129 ret = usb_control_msg_send(usbdev, 0, 0x67, in toneport_send_cmd() 135 dev_err(&usbdev->dev, "send failed (error %d)\n", ret); in toneport_send_cmd() 234 toneport_send_cmd(toneport->line6.usbdev, in snd_toneport_source_put() 291 toneport_send_cmd(toneport->line6.usbdev, in toneport_update_led() 306 struct device *dev = &toneport->line6.usbdev->dev; in toneport_init_leds() 364 struct usb_device *usbdev = line6->usbdev; in toneport_setup() local 377 toneport_send_cmd(usbdev, 0x0301, 0x0000); in toneport_setup() 381 toneport_send_cmd(usbdev, in toneport_setup()
|
/openbmc/linux/drivers/media/radio/ |
H A D | dsbr100.c | 66 struct usb_device *usbdev; member 88 usb_rcvctrlpipe(radio->usbdev, 0), in dsbr100_setfreq() 101 dev_err(&radio->usbdev->dev, in dsbr100_setfreq() 111 usb_rcvctrlpipe(radio->usbdev, 0), in dsbr100_start() 118 dev_err(&radio->usbdev->dev, in dsbr100_start() 129 usb_rcvctrlpipe(radio->usbdev, 0), in dsbr100_stop() 136 dev_err(&radio->usbdev->dev, in dsbr100_stop() 148 usb_rcvctrlpipe(radio->usbdev, 0), in dsbr100_getstat() 155 dev_err(&radio->usbdev->dev, in dsbr100_getstat() 257 usb_control_msg(radio->usbdev, in usb_dsbr100_disconnect() [all …]
|
H A D | radio-shark2.c | 58 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 …]
|
H A D | radio-shark.c | 62 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 …]
|
H A D | radio-raremono.c | 105 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() 222 ret = usb_control_msg(radio->usbdev, usb_rcvctrlpipe(radio->usbdev, 0), in vidioc_g_tuner() 313 radio->usbdev = interface_to_usbdev(intf); in usb_raremono_probe() 326 retval = usb_control_msg(radio->usbdev, in usb_raremono_probe() 327 usb_rcvctrlpipe(radio->usbdev, 0), in usb_raremono_probe()
|
H A D | radio-ma901.c | 73 struct usb_device *usbdev; member 107 retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in ma901radio_set_freq() 130 retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in ma901radio_set_volume() 153 retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in ma901_set_stereo() 193 usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); in vidioc_querycap() 401 radio->usbdev = interface_to_usbdev(intf); in usb_ma901radio_probe()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-cp2615.c | 128 struct usb_device *usbdev = interface_to_usbdev(usbif); in cp2615_i2c_send() local 132 res = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, IOP_EP_OUT), in cp2615_i2c_send() 141 struct usb_device *usbdev = interface_to_usbdev(usbif); in cp2615_i2c_recv() local 150 res = usb_bulk_msg(usbdev, usb_rcvbulkpipe(usbdev, IOP_EP_IN), msg, in cp2615_i2c_recv() 176 struct usb_device *usbdev = interface_to_usbdev(usbif); in cp2615_check_iop() local 182 res = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, IOP_EP_OUT), in cp2615_check_iop() 187 res = usb_bulk_msg(usbdev, usb_rcvbulkpipe(usbdev, IOP_EP_IN), in cp2615_check_iop() 287 struct usb_device *usbdev = interface_to_usbdev(usbif); in cp2615_i2c_probe() local 289 ret = usb_set_interface(usbdev, IOP_IFN, IOP_ALTSETTING); in cp2615_i2c_probe() 301 strncpy(adap->name, usbdev->serial, sizeof(adap->name) - 1); in cp2615_i2c_probe()
|
/openbmc/linux/drivers/net/usb/ |
H A D | catc.c | 151 struct usb_device *usbdev; member 267 urb->dev = catc->usbdev; in catc_rx_done() 465 dir ? usb_rcvctrlpipe(catc->usbdev, 0) : usb_sndctrlpipe(catc->usbdev, 0), in catc_ctrl_msg() 473 struct usb_device *usbdev = catc->usbdev; in catc_ctrl_run() local 488 urb->dev = usbdev; in catc_ctrl_run() 797 catc->usbdev = usbdev; in catc_probe() 828 usb_fill_control_urb(catc->ctrl_urb, usbdev, usb_sndctrlpipe(usbdev, 0), in catc_probe() 831 usb_fill_bulk_urb(catc->tx_urb, usbdev, usb_sndbulkpipe(usbdev, 1), in catc_probe() 834 usb_fill_bulk_urb(catc->rx_urb, usbdev, usb_rcvbulkpipe(usbdev, 1), in catc_probe() 837 usb_fill_int_urb(catc->irq_urb, usbdev, usb_rcvintpipe(usbdev, 2), in catc_probe() [all …]
|
/openbmc/linux/drivers/staging/gdm724x/ |
H A D | gdm_mux.c | 275 struct usb_device *usbdev = mux_dev->usbdev; in gdm_mux_recv() local 281 if (!usbdev) { in gdm_mux_recv() 298 usbdev, in gdm_mux_recv() 321 usb_mark_last_busy(usbdev); in gdm_mux_recv() 346 struct usb_device *usbdev = mux_dev->usbdev; in gdm_mux_send() local 386 usbdev, in gdm_mux_send() 400 usb_mark_last_busy(usbdev); in gdm_mux_send() 409 struct usb_device *usbdev = mux_dev->usbdev; in gdm_mux_send_control() local 524 mux_dev->usbdev = usbdev; in gdm_mux_probe() 546 usb_get_dev(usbdev); in gdm_mux_probe() [all …]
|
H A D | gdm_usb.c | 60 struct usb_device *usbdev = udev->usbdev; in request_mac_address() local 72 ret = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 2), hci, 5, in request_mac_address() 463 struct usb_device *usbdev = udev->usbdev; in gdm_usb_rcv_complete() local 490 struct usb_device *usbdev = udev->usbdev; in gdm_usb_recv() local 497 if (!udev->usbdev) { in gdm_usb_recv() 515 usbdev, in gdm_usb_recv() 574 usbdev, in send_tx_packet() 642 struct usb_device *usbdev = udev->usbdev; in do_tx() local 717 if (!udev->usbdev) { in gdm_usb_sdu_send() 770 if (!udev->usbdev) { in gdm_usb_hci_send() [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-corsair.c | 159 ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), in k90_backlight_get() 207 struct usb_device *usbdev; in k90_backlight_work() local 214 usbdev = interface_to_usbdev(usbif); in k90_backlight_work() 216 ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), in k90_backlight_work() 232 struct usb_device *usbdev; in k90_record_led_work() local 240 usbdev = interface_to_usbdev(usbif); in k90_record_led_work() 247 ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), in k90_record_led_work() 274 ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), in k90_show_macro_mode() 324 ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), in k90_store_macro_mode() 351 ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), in k90_show_current_profile() [all …]
|
/openbmc/linux/drivers/media/rc/ |
H A D | streamzap.c | 226 struct usb_device *usbdev) in streamzap_init_rc_dev() argument 236 usb_make_path(usbdev, sz->phys, sizeof(sz->phys)); in streamzap_init_rc_dev() 241 usb_to_input_id(usbdev, &rdev->input_id); in streamzap_init_rc_dev() 272 struct usb_device *usbdev = interface_to_usbdev(intf); in streamzap_probe() local 309 pipe = usb_rcvintpipe(usbdev, endpoint->bEndpointAddress); in streamzap_probe() 310 maxp = usb_maxpacket(usbdev, pipe); in streamzap_probe() 331 sz->rdev = streamzap_init_rc_dev(sz, usbdev); in streamzap_probe() 346 usb_fill_int_urb(sz->urb_in, usbdev, pipe, sz->buf_in, in streamzap_probe() 361 usb_free_coherent(usbdev, maxp, sz->buf_in, sz->dma_in); in streamzap_probe() 381 struct usb_device *usbdev = interface_to_usbdev(interface); in streamzap_disconnect() local [all …]
|
/openbmc/linux/drivers/net/wireless/rsi/ |
H A D | rsi_91x_usb.c | 56 status = usb_bulk_msg(dev->usbdev, in rsi_usb_card_write() 190 status = usb_control_msg(usbdev, in rsi_usb_reg_read() 191 usb_rcvctrlpipe(usbdev, 0), in rsi_usb_reg_read() 240 status = usb_control_msg(usbdev, in rsi_usb_reg_write() 241 usb_sndctrlpipe(usbdev, 0), in rsi_usb_reg_write() 345 dev->usbdev, in rsi_rx_urb_submit() 346 usb_rcvbulkpipe(dev->usbdev, in rsi_rx_urb_submit() 380 usb_rcvctrlpipe(dev->usbdev, 0), in rsi_usb_read_register_multiple() 428 usb_sndctrlpipe(dev->usbdev, 0), in rsi_usb_write_register_multiple() 480 struct usb_device *usbdev = in rsi_usb_master_reg_read() local [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | sur40.c | 207 struct usb_device *usbdev; member 258 return usb_control_msg(dev->usbdev, usb_rcvctrlpipe(dev->usbdev, 0), in sur40_command() 270 result = usb_control_msg(dev->usbdev, usb_sndctrlpipe(dev->usbdev, 0), in sur40_poke() 277 result = usb_control_msg(dev->usbdev, usb_sndctrlpipe(dev->usbdev, 0), in sur40_poke() 284 result = usb_control_msg(dev->usbdev, usb_sndctrlpipe(dev->usbdev, 0), in sur40_poke() 304 result = usb_control_msg(dev->usbdev, usb_sndctrlpipe(dev->usbdev, 0), in sur40_set_preprocessor() 311 result = usb_control_msg(dev->usbdev, usb_sndctrlpipe(dev->usbdev, 0), in sur40_set_preprocessor() 469 result = usb_bulk_msg(sur40->usbdev, in sur40_poll() 554 result = usb_bulk_msg(sur40->usbdev, in sur40_process_video() 692 usb_to_input_id(usbdev, &input->id); in sur40_probe() [all …]
|
/openbmc/linux/drivers/media/radio/si4713/ |
H A D | radio-usb-si4713.c | 49 struct usb_device *usbdev; member 72 usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); in vidioc_querycap() 159 retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in si4713_send_startup_command() 167 retval = usb_control_msg(radio->usbdev, usb_rcvctrlpipe(radio->usbdev, 0), in si4713_send_startup_command() 305 retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in send_command() 319 retval = usb_control_msg(radio->usbdev, in si4713_i2c_read() 320 usb_rcvctrlpipe(radio->usbdev, 0), in si4713_i2c_read() 404 radio->i2c_adapter.dev.parent = &radio->usbdev->dev; in si4713_register_i2c_adapter() 435 radio->usbdev = interface_to_usbdev(intf); in usb_si4713_probe()
|
/openbmc/linux/drivers/media/usb/au0828/ |
H A D | au0828-core.c | 70 if (dev->usbdev) { in send_control_msg() 73 status = usb_control_msg(dev->usbdev, in send_control_msg() 74 usb_sndctrlpipe(dev->usbdev, 0), in send_control_msg() 97 if (dev->usbdev) { in recv_control_msg() 98 status = usb_control_msg(dev->usbdev, in recv_control_msg() 99 usb_rcvctrlpipe(dev->usbdev, 0), in recv_control_msg() 183 dev->usbdev = NULL; in au0828_usb_disconnect() 260 dev_err(&dev->usbdev->dev, in au0828_media_graph_notify() 658 le16_to_cpu(usbdev->descriptor.idVendor), in au0828_usb_probe() 659 le16_to_cpu(usbdev->descriptor.idProduct), in au0828_usb_probe() [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | devices.c | 392 struct usb_device *usbdev, struct usb_bus *bus, in usb_device_dump() argument 415 if (usbdev->parent && usbdev->parent->devnum != -1) in usb_device_dump() 416 parent_devnum = usbdev->parent->devnum; in usb_device_dump() 421 switch (usbdev->speed) { in usb_device_dump() 438 index, count, usbdev->devnum, in usb_device_dump() 439 speed, usbdev->maxchild); in usb_device_dump() 451 if (usbdev->speed == USB_SPEED_HIGH || in usb_device_dump() 452 usbdev->speed >= USB_SPEED_SUPER) in usb_device_dump() 470 usbdev); in usb_device_dump() 496 usb_hub_for_each_child(usbdev, chix, childdev) { in usb_device_dump()
|
/openbmc/linux/drivers/input/tablet/ |
H A D | pegasus_notetaker.c | 78 struct usb_device *usbdev; member 106 result = usb_control_msg(pegasus->usbdev, in pegasus_control_msg() 107 usb_sndctrlpipe(pegasus->usbdev, 0), in pegasus_control_msg() 117 dev_err(&pegasus->usbdev->dev, "control msg error: %d\n", in pegasus_control_msg() 170 dev_warn_once(&pegasus->usbdev->dev, in pegasus_parse_packet() 178 struct usb_device *dev = pegasus->usbdev; in pegasus_irq() 184 usb_mark_last_busy(pegasus->usbdev); in pegasus_irq() 213 dev_err(&pegasus->usbdev->dev, "pegasus_set_mode error: %d\n", in pegasus_init() 227 pegasus->irq->dev = pegasus->usbdev; in pegasus_open() 294 pegasus->usbdev = dev; in pegasus_probe()
|
/openbmc/linux/net/caif/ |
H A D | caif_usb.c | 134 struct usb_device *usbdev; in cfusbl_device_notify() local 146 usbdev = usbnet->udev; in cfusbl_device_notify() 149 le16_to_cpu(usbdev->descriptor.idVendor), in cfusbl_device_notify() 150 le16_to_cpu(usbdev->descriptor.idProduct)); in cfusbl_device_notify() 153 if (!(le16_to_cpu(usbdev->descriptor.idVendor) == STE_USB_VID && in cfusbl_device_notify() 154 le16_to_cpu(usbdev->descriptor.idProduct) == STE_USB_PID_CAIF)) in cfusbl_device_notify()
|
/openbmc/linux/drivers/hid/usbhid/ |
H A D | usbmouse.c | 41 struct usb_device *usbdev; member 82 dev_err(&mouse->usbdev->dev, in usb_mouse_irq() 84 mouse->usbdev->bus->bus_name, in usb_mouse_irq() 85 mouse->usbdev->devpath, status); in usb_mouse_irq() 92 mouse->irq->dev = mouse->usbdev; in usb_mouse_open() 141 mouse->usbdev = dev; in usb_mouse_probe()
|