/drivers/net/wireless/ |
D | rndis_wlan.c | 407 struct usbnet *usbdev; member 824 static int rndis_reset(struct usbnet *usbdev) in rndis_reset() argument 826 struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); in rndis_reset() 837 ret = rndis_command(usbdev, (void *)reset, CONTROL_BUFFER_SIZE); in rndis_reset() 948 static int set_infra_mode(struct usbnet *usbdev, int mode); 949 static void restore_keys(struct usbnet *usbdev); 950 static int rndis_check_bssid_list(struct usbnet *usbdev, u8 *match_bssid, 953 static int rndis_start_bssid_list_scan(struct usbnet *usbdev) in rndis_start_bssid_list_scan() argument 959 return rndis_set_oid(usbdev, RNDIS_OID_802_11_BSSID_LIST_SCAN, &tmp, in rndis_start_bssid_list_scan() 963 static int set_essid(struct usbnet *usbdev, struct ndis_80211_ssid *ssid) in set_essid() argument [all …]
|
/drivers/usb/misc/ |
D | uss720.c | 48 struct usb_device *usbdev; member 72 dev_dbg(&priv->usbdev->dev, "destroying priv datastructure\n"); in destroy_priv() 73 usb_put_dev(priv->usbdev); in destroy_priv() 74 priv->usbdev = NULL; in destroy_priv() 112 dev_dbg(&priv->usbdev->dev, "async_complete regs %7ph\n", in async_complete() 127 struct usb_device *usbdev; in submit_async_request() local 134 usbdev = priv->usbdev; in submit_async_request() 135 if (!usbdev) in submit_async_request() 160 …usb_fill_control_urb(rq->urb, usbdev, (requesttype & 0x80) ? usb_rcvctrlpipe(usbdev, 0) : usb_sndc… in submit_async_request() 172 dev_err(&usbdev->dev, "submit_async_request submit_urb failed with %d\n", ret); in submit_async_request() [all …]
|
/drivers/media/usb/go7007/ |
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 …]
|
D | go7007-usb.c | 56 struct usb_device *usbdev; member 629 return usb_control_msg(usb->usbdev, in go7007_usb_vendor_request() 630 usb_rcvctrlpipe(usb->usbdev, 0), request, in go7007_usb_vendor_request() 634 return usb_control_msg(usb->usbdev, in go7007_usb_vendor_request() 635 usb_sndctrlpipe(usb->usbdev, 0), request, in go7007_usb_vendor_request() 686 r = usb_control_msg(usb->usbdev, in go7007_usb_ezusb_write_interrupt() 687 usb_rcvctrlpipe(usb->usbdev, 0), 0x14, 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() [all …]
|
/drivers/media/rc/ |
D | streamzap.c | 70 struct usb_device *usbdev; member 285 le16_to_cpu(sz->usbdev->descriptor.idVendor), in streamzap_init_rc_dev() 286 le16_to_cpu(sz->usbdev->descriptor.idProduct)); in streamzap_init_rc_dev() 287 usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys)); in streamzap_init_rc_dev() 292 usb_to_input_id(sz->usbdev, &rdev->input_id); in streamzap_init_rc_dev() 322 struct usb_device *usbdev = interface_to_usbdev(intf); in streamzap_probe() local 334 sz->usbdev = usbdev; in streamzap_probe() 362 pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress); in streamzap_probe() 363 maxp = usb_maxpacket(usbdev, pipe, usb_pipeout(pipe)); in streamzap_probe() 373 sz->buf_in = usb_alloc_coherent(usbdev, maxp, GFP_ATOMIC, &sz->dma_in); in streamzap_probe() [all …]
|
D | ir_toy.c | 56 struct usb_device *usbdev; member 366 struct usb_device *usbdev = interface_to_usbdev(intf); in irtoy_probe() local 412 pipe = usb_rcvbulkpipe(usbdev, ep_in->bEndpointAddress); in irtoy_probe() 413 usb_fill_bulk_urb(urb, usbdev, pipe, irtoy->in, MAX_PACKET, in irtoy_probe() 421 pipe = usb_sndbulkpipe(usbdev, ep_out->bEndpointAddress); in irtoy_probe() 422 usb_fill_bulk_urb(urb, usbdev, pipe, irtoy->out, MAX_PACKET, in irtoy_probe() 426 irtoy->usbdev = usbdev; in irtoy_probe() 451 usb_make_path(usbdev, irtoy->phys, sizeof(irtoy->phys)); in irtoy_probe() 456 usb_to_input_id(usbdev, &rc->input_id); in irtoy_probe()
|
/drivers/net/usb/ |
D | catc.c | 151 struct usb_device *usbdev; member 267 urb->dev = catc->usbdev; in catc_rx_done() 330 catc->rx_urb->dev = catc->usbdev; in catc_irq_done() 332 dev_err(&catc->usbdev->dev, in catc_irq_done() 340 dev_err(&catc->usbdev->dev, in catc_irq_done() 342 catc->usbdev->bus->bus_name, in catc_irq_done() 343 catc->usbdev->devpath, res); in catc_irq_done() 359 catc->tx_urb->dev = catc->usbdev; in catc_tx_run() 362 dev_err(&catc->usbdev->dev, "submit(tx_urb), status %d\n", in catc_tx_run() 464 int retval = usb_control_msg(catc->usbdev, in catc_ctrl_msg() [all …]
|
D | cdc-phonet.c | 318 struct usb_device *usbdev = interface_to_usbdev(intf); in usbpn_probe() local 335 data_intf = usb_ifnum_to_if(usbdev, union_header->bSlaveInterface0); in usbpn_probe() 360 pnd->usb = usbdev; in usbpn_probe() 367 pnd->rx_pipe = usb_rcvbulkpipe(usbdev, in usbpn_probe() 369 pnd->tx_pipe = usb_sndbulkpipe(usbdev, in usbpn_probe() 372 pnd->rx_pipe = usb_rcvbulkpipe(usbdev, in usbpn_probe() 374 pnd->tx_pipe = usb_sndbulkpipe(usbdev, in usbpn_probe() 384 usb_set_interface(usbdev, union_header->bSlaveInterface0, in usbpn_probe()
|
/drivers/media/radio/ |
D | dsbr100.c | 66 struct usb_device *usbdev; member 87 retval = usb_control_msg(radio->usbdev, in dsbr100_setfreq() 88 usb_rcvctrlpipe(radio->usbdev, 0), in dsbr100_setfreq() 101 dev_err(&radio->usbdev->dev, in dsbr100_setfreq() 110 int retval = usb_control_msg(radio->usbdev, in dsbr100_start() 111 usb_rcvctrlpipe(radio->usbdev, 0), in dsbr100_start() 118 dev_err(&radio->usbdev->dev, in dsbr100_start() 128 int retval = usb_control_msg(radio->usbdev, in dsbr100_stop() 129 usb_rcvctrlpipe(radio->usbdev, 0), in dsbr100_stop() 136 dev_err(&radio->usbdev->dev, in dsbr100_stop() [all …]
|
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 …]
|
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 …]
|
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()
|
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()
|
D | radio-keene.c | 48 struct usb_device *usbdev; member 90 ret = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in keene_cmd_main() 119 ret = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), in keene_cmd_set() 170 usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); in vidioc_querycap() 364 radio->usbdev = interface_to_usbdev(intf); in usb_keene_probe()
|
/drivers/hid/ |
D | hid-corsair.c | 151 struct usb_device *usbdev = interface_to_usbdev(usbif); in k90_backlight_get() local 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() 266 struct usb_device *usbdev = interface_to_usbdev(usbif); in k90_show_macro_mode() local 274 ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), in k90_show_macro_mode() [all …]
|
/drivers/staging/gdm724x/ |
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() 299 usb_rcvbulkpipe(usbdev, 0x86), 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() 387 usb_sndbulkpipe(usbdev, 5), 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 [all …]
|
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 480 usb_mark_last_busy(usbdev); in gdm_usb_rcv_complete() 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() 516 usb_rcvbulkpipe(usbdev, 0x83), in gdm_usb_recv() 566 static int send_tx_packet(struct usb_device *usbdev, struct usb_tx *t, u32 len) in send_tx_packet() argument 574 usbdev, in send_tx_packet() [all …]
|
/drivers/net/wireless/rsi/ |
D | rsi_91x_usb.c | 56 status = usb_bulk_msg(dev->usbdev, in rsi_usb_card_write() 57 usb_sndbulkpipe(dev->usbdev, ep), in rsi_usb_card_write() 175 static int rsi_usb_reg_read(struct usb_device *usbdev, in rsi_usb_reg_read() argument 190 status = usb_control_msg(usbdev, in rsi_usb_reg_read() 191 usb_rcvctrlpipe(usbdev, 0), in rsi_usb_reg_read() 220 static int rsi_usb_reg_write(struct usb_device *usbdev, in rsi_usb_reg_write() argument 240 status = usb_control_msg(usbdev, in rsi_usb_reg_write() 241 usb_sndctrlpipe(usbdev, 0), in rsi_usb_reg_write() 343 dev->usbdev, in rsi_rx_urb_submit() 344 usb_rcvbulkpipe(dev->usbdev, in rsi_rx_urb_submit() [all …]
|
/drivers/input/touchscreen/ |
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() 470 usb_rcvbulkpipe(sur40->usbdev, sur40->bulk_in_epaddr), in sur40_poll() 554 result = usb_bulk_msg(sur40->usbdev, in sur40_process_video() [all …]
|
/drivers/media/usb/au0828/ |
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() 655 struct usb_device *usbdev = interface_to_usbdev(interface); in au0828_usb_probe() local 663 le16_to_cpu(usbdev->descriptor.idVendor), in au0828_usb_probe() [all …]
|
/drivers/media/radio/si4713/ |
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()
|
/drivers/usb/core/ |
D | devices.c | 439 struct usb_device *usbdev, struct usb_bus *bus, in usb_device_dump() argument 462 if (usbdev->parent && usbdev->parent->devnum != -1) in usb_device_dump() 463 parent_devnum = usbdev->parent->devnum; in usb_device_dump() 468 switch (usbdev->speed) { in usb_device_dump() 486 index, count, usbdev->devnum, in usb_device_dump() 487 speed, usbdev->maxchild); in usb_device_dump() 499 if (usbdev->speed == USB_SPEED_HIGH || in usb_device_dump() 500 usbdev->speed >= USB_SPEED_SUPER) in usb_device_dump() 518 usbdev); in usb_device_dump() 544 usb_hub_for_each_child(usbdev, chix, childdev) { in usb_device_dump()
|
/drivers/input/tablet/ |
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()
|
/drivers/hid/usbhid/ |
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()
|
/drivers/media/radio/si470x/ |
D | radio-si470x-usb.c | 203 retval = usb_control_msg(radio->usbdev, in si470x_get_report() 204 usb_rcvctrlpipe(radio->usbdev, 0), in si470x_get_report() 226 retval = usb_control_msg(radio->usbdev, in si470x_set_report() 227 usb_sndctrlpipe(radio->usbdev, 0), in si470x_set_report() 464 if (radio->int_in_running && radio->usbdev) { in si470x_int_in_callback() 515 usb_make_path(radio->usbdev, capability->bus_info, in si470x_vidioc_querycap() 526 usb_fill_int_urb(radio->int_in_urb, radio->usbdev, in si470x_start_usb() 527 usb_rcvintpipe(radio->usbdev, in si470x_start_usb() 583 radio->usbdev = interface_to_usbdev(intf); in si470x_usb_driver_probe() 635 retval = usb_control_msg(radio->usbdev, in si470x_usb_driver_probe() [all …]
|