usbdev 30 drivers/gpu/drm/udl/udl_main.c struct usb_device *usbdev) usbdev 44 drivers/gpu/drm/udl/udl_main.c total_len = usb_get_descriptor(usbdev, 0x5f, /* vendor specific */ usbdev 151 drivers/hid/hid-corsair.c struct usb_device *usbdev = interface_to_usbdev(usbif); usbdev 159 drivers/hid/hid-corsair.c ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), usbdev 207 drivers/hid/hid-corsair.c struct usb_device *usbdev; usbdev 214 drivers/hid/hid-corsair.c usbdev = interface_to_usbdev(usbif); usbdev 216 drivers/hid/hid-corsair.c ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), usbdev 232 drivers/hid/hid-corsair.c struct usb_device *usbdev; usbdev 240 drivers/hid/hid-corsair.c usbdev = interface_to_usbdev(usbif); usbdev 247 drivers/hid/hid-corsair.c ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), usbdev 266 drivers/hid/hid-corsair.c struct usb_device *usbdev = interface_to_usbdev(usbif); usbdev 274 drivers/hid/hid-corsair.c ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), usbdev 314 drivers/hid/hid-corsair.c struct usb_device *usbdev = interface_to_usbdev(usbif); usbdev 324 drivers/hid/hid-corsair.c ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), usbdev 343 drivers/hid/hid-corsair.c struct usb_device *usbdev = interface_to_usbdev(usbif); usbdev 351 drivers/hid/hid-corsair.c ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), usbdev 383 drivers/hid/hid-corsair.c struct usb_device *usbdev = interface_to_usbdev(usbif); usbdev 391 drivers/hid/hid-corsair.c ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), usbdev 29 drivers/hid/hid-elo.c struct usb_device *usbdev; usbdev 138 drivers/hid/hid-elo.c struct usb_device *dev = priv->usbdev; usbdev 237 drivers/hid/hid-elo.c priv->usbdev = interface_to_usbdev(to_usb_interface(hdev->dev.parent)); usbdev 253 drivers/hid/hid-elo.c if (elo_broken_firmware(priv->usbdev)) { usbdev 82 drivers/hid/usbhid/usbkbd.c struct usb_device *usbdev; usbdev 149 drivers/hid/usbhid/usbkbd.c kbd->usbdev->bus->bus_name, usbdev 150 drivers/hid/usbhid/usbkbd.c kbd->usbdev->devpath, i); usbdev 179 drivers/hid/usbhid/usbkbd.c kbd->led->dev = kbd->usbdev; usbdev 209 drivers/hid/usbhid/usbkbd.c kbd->led->dev = kbd->usbdev; usbdev 222 drivers/hid/usbhid/usbkbd.c kbd->irq->dev = kbd->usbdev; usbdev 292 drivers/hid/usbhid/usbkbd.c kbd->usbdev = dev; usbdev 41 drivers/hid/usbhid/usbmouse.c struct usb_device *usbdev; usbdev 82 drivers/hid/usbhid/usbmouse.c dev_err(&mouse->usbdev->dev, usbdev 84 drivers/hid/usbhid/usbmouse.c mouse->usbdev->bus->bus_name, usbdev 85 drivers/hid/usbhid/usbmouse.c mouse->usbdev->devpath, status); usbdev 92 drivers/hid/usbhid/usbmouse.c mouse->irq->dev = mouse->usbdev; usbdev 141 drivers/hid/usbhid/usbmouse.c mouse->usbdev = dev; usbdev 159 drivers/hid/wacom.h struct usb_device *usbdev; usbdev 2405 drivers/hid/wacom_sys.c struct usb_device *usbdev = wacom->usbdev; usbdev 2420 drivers/hid/wacom_sys.c hdev1 = usb_get_intfdata(usbdev->config->interface[1]); usbdev 2426 drivers/hid/wacom_sys.c hdev2 = usb_get_intfdata(usbdev->config->interface[2]); usbdev 2734 drivers/hid/wacom_sys.c wacom->usbdev = dev; usbdev 15 drivers/input/joystick/iforce/iforce-usb.c struct usb_device *usbdev; usbdev 44 drivers/input/joystick/iforce/iforce-usb.c iforce_usb->out->dev = iforce_usb->usbdev; usbdev 90 drivers/input/joystick/iforce/iforce-usb.c status = usb_control_msg(iforce_usb->usbdev, usbdev 91 drivers/input/joystick/iforce/iforce-usb.c usb_rcvctrlpipe(iforce_usb->usbdev, 0), usbdev 225 drivers/input/joystick/iforce/iforce-usb.c iforce_usb->usbdev = dev; usbdev 1670 drivers/input/tablet/aiptek.c struct usb_device *usbdev = interface_to_usbdev(intf); usbdev 1701 drivers/input/tablet/aiptek.c aiptek->data = usb_alloc_coherent(usbdev, AIPTEK_PACKET_LENGTH, usbdev 1752 drivers/input/tablet/aiptek.c usb_make_path(usbdev, aiptek->features.usbPath, usbdev 1762 drivers/input/tablet/aiptek.c usb_to_input_id(usbdev, &inputdev->id); usbdev 1818 drivers/input/tablet/aiptek.c usbdev, usbdev 1819 drivers/input/tablet/aiptek.c usb_rcvintpipe(usbdev, usbdev 1883 drivers/input/tablet/aiptek.c fail2: usb_free_coherent(usbdev, AIPTEK_PACKET_LENGTH, aiptek->data, usbdev 54 drivers/input/tablet/hanwang.c struct usb_device *usbdev; usbdev 111 drivers/input/tablet/hanwang.c struct usb_device *dev = hanwang->usbdev; usbdev 255 drivers/input/tablet/hanwang.c struct usb_device *dev = hanwang->usbdev; usbdev 286 drivers/input/tablet/hanwang.c hanwang->irq->dev = hanwang->usbdev; usbdev 353 drivers/input/tablet/hanwang.c hanwang->usbdev = dev; usbdev 78 drivers/input/tablet/pegasus_notetaker.c struct usb_device *usbdev; usbdev 106 drivers/input/tablet/pegasus_notetaker.c result = usb_control_msg(pegasus->usbdev, usbdev 107 drivers/input/tablet/pegasus_notetaker.c usb_sndctrlpipe(pegasus->usbdev, 0), usbdev 117 drivers/input/tablet/pegasus_notetaker.c dev_err(&pegasus->usbdev->dev, "control msg error: %d\n", usbdev 170 drivers/input/tablet/pegasus_notetaker.c dev_warn_once(&pegasus->usbdev->dev, usbdev 178 drivers/input/tablet/pegasus_notetaker.c struct usb_device *dev = pegasus->usbdev; usbdev 184 drivers/input/tablet/pegasus_notetaker.c usb_mark_last_busy(pegasus->usbdev); usbdev 213 drivers/input/tablet/pegasus_notetaker.c dev_err(&pegasus->usbdev->dev, "pegasus_set_mode error: %d\n", usbdev 227 drivers/input/tablet/pegasus_notetaker.c pegasus->irq->dev = pegasus->usbdev; usbdev 294 drivers/input/tablet/pegasus_notetaker.c pegasus->usbdev = dev; usbdev 207 drivers/input/touchscreen/sur40.c struct usb_device *usbdev; usbdev 258 drivers/input/touchscreen/sur40.c return usb_control_msg(dev->usbdev, usb_rcvctrlpipe(dev->usbdev, 0), usbdev 270 drivers/input/touchscreen/sur40.c result = usb_control_msg(dev->usbdev, usb_sndctrlpipe(dev->usbdev, 0), usbdev 277 drivers/input/touchscreen/sur40.c result = usb_control_msg(dev->usbdev, usb_sndctrlpipe(dev->usbdev, 0), usbdev 284 drivers/input/touchscreen/sur40.c result = usb_control_msg(dev->usbdev, usb_sndctrlpipe(dev->usbdev, 0), usbdev 304 drivers/input/touchscreen/sur40.c result = usb_control_msg(dev->usbdev, usb_sndctrlpipe(dev->usbdev, 0), usbdev 311 drivers/input/touchscreen/sur40.c result = usb_control_msg(dev->usbdev, usb_sndctrlpipe(dev->usbdev, 0), usbdev 468 drivers/input/touchscreen/sur40.c result = usb_bulk_msg(sur40->usbdev, usbdev 469 drivers/input/touchscreen/sur40.c usb_rcvbulkpipe(sur40->usbdev, sur40->bulk_in_epaddr), usbdev 553 drivers/input/touchscreen/sur40.c result = usb_bulk_msg(sur40->usbdev, usbdev 554 drivers/input/touchscreen/sur40.c usb_rcvbulkpipe(sur40->usbdev, VIDEO_ENDPOINT), usbdev 583 drivers/input/touchscreen/sur40.c result = usb_sg_init(&sgr, sur40->usbdev, usbdev 584 drivers/input/touchscreen/sur40.c usb_rcvbulkpipe(sur40->usbdev, VIDEO_ENDPOINT), 0, usbdev 648 drivers/input/touchscreen/sur40.c struct usb_device *usbdev = interface_to_usbdev(interface); usbdev 695 drivers/input/touchscreen/sur40.c usb_to_input_id(usbdev, &poll_dev->input->id); usbdev 696 drivers/input/touchscreen/sur40.c usb_make_path(usbdev, sur40->phys, sizeof(sur40->phys)); usbdev 701 drivers/input/touchscreen/sur40.c sur40->usbdev = usbdev; usbdev 860 drivers/input/touchscreen/sur40.c dev_err(&sur40->usbdev->dev, "buffer too small (%lu < %lu)\n", usbdev 931 drivers/input/touchscreen/sur40.c usb_make_path(sur40->usbdev, cap->bus_info, sizeof(cap->bus_info)); usbdev 66 drivers/media/radio/dsbr100.c struct usb_device *usbdev; usbdev 87 drivers/media/radio/dsbr100.c retval = usb_control_msg(radio->usbdev, usbdev 88 drivers/media/radio/dsbr100.c usb_rcvctrlpipe(radio->usbdev, 0), usbdev 101 drivers/media/radio/dsbr100.c dev_err(&radio->usbdev->dev, usbdev 110 drivers/media/radio/dsbr100.c int retval = usb_control_msg(radio->usbdev, usbdev 111 drivers/media/radio/dsbr100.c usb_rcvctrlpipe(radio->usbdev, 0), usbdev 118 drivers/media/radio/dsbr100.c dev_err(&radio->usbdev->dev, usbdev 128 drivers/media/radio/dsbr100.c int retval = usb_control_msg(radio->usbdev, usbdev 129 drivers/media/radio/dsbr100.c usb_rcvctrlpipe(radio->usbdev, 0), usbdev 136 drivers/media/radio/dsbr100.c dev_err(&radio->usbdev->dev, usbdev 147 drivers/media/radio/dsbr100.c int retval = usb_control_msg(radio->usbdev, usbdev 148 drivers/media/radio/dsbr100.c usb_rcvctrlpipe(radio->usbdev, 0), usbdev 155 drivers/media/radio/dsbr100.c dev_err(&radio->usbdev->dev, usbdev 170 drivers/media/radio/dsbr100.c usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); usbdev 257 drivers/media/radio/dsbr100.c usb_control_msg(radio->usbdev, usbdev 258 drivers/media/radio/dsbr100.c usb_rcvctrlpipe(radio->usbdev, 0), usbdev 381 drivers/media/radio/dsbr100.c radio->usbdev = interface_to_usbdev(intf); usbdev 48 drivers/media/radio/radio-keene.c struct usb_device *usbdev; usbdev 90 drivers/media/radio/radio-keene.c ret = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), usbdev 119 drivers/media/radio/radio-keene.c ret = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), usbdev 170 drivers/media/radio/radio-keene.c usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); usbdev 364 drivers/media/radio/radio-keene.c radio->usbdev = interface_to_usbdev(intf); usbdev 73 drivers/media/radio/radio-ma901.c struct usb_device *usbdev; usbdev 107 drivers/media/radio/radio-ma901.c retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), usbdev 130 drivers/media/radio/radio-ma901.c retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), usbdev 153 drivers/media/radio/radio-ma901.c retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), usbdev 193 drivers/media/radio/radio-ma901.c usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); usbdev 401 drivers/media/radio/radio-ma901.c radio->usbdev = interface_to_usbdev(intf); usbdev 117 drivers/media/radio/radio-mr800.c struct usb_device *usbdev; usbdev 150 drivers/media/radio/radio-mr800.c retval = usb_bulk_msg(radio->usbdev, usb_sndintpipe(radio->usbdev, 2), usbdev 165 drivers/media/radio/radio-mr800.c retval = usb_bulk_msg(radio->usbdev, usb_sndintpipe(radio->usbdev, 2), usbdev 169 drivers/media/radio/radio-mr800.c retval = usb_bulk_msg(radio->usbdev, usb_rcvbulkpipe(radio->usbdev, 0x81), usbdev 262 drivers/media/radio/radio-mr800.c usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); usbdev 548 drivers/media/radio/radio-mr800.c radio->usbdev = interface_to_usbdev(intf); usbdev 105 drivers/media/radio/radio-raremono.c struct usb_device *usbdev; usbdev 143 drivers/media/radio/radio-raremono.c ret = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), usbdev 186 drivers/media/radio/radio-raremono.c usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); usbdev 222 drivers/media/radio/radio-raremono.c ret = usb_control_msg(radio->usbdev, usb_rcvctrlpipe(radio->usbdev, 0), usbdev 313 drivers/media/radio/radio-raremono.c radio->usbdev = interface_to_usbdev(intf); usbdev 326 drivers/media/radio/radio-raremono.c retval = usb_control_msg(radio->usbdev, usbdev 327 drivers/media/radio/radio-raremono.c usb_rcvctrlpipe(radio->usbdev, 0), usbdev 62 drivers/media/radio/radio-shark.c struct usb_device *usbdev; usbdev 94 drivers/media/radio/radio-shark.c res = usb_interrupt_msg(shark->usbdev, usbdev 95 drivers/media/radio/radio-shark.c usb_sndintpipe(shark->usbdev, SHARK_OUT_EP), usbdev 112 drivers/media/radio/radio-shark.c res = usb_interrupt_msg(shark->usbdev, usbdev 113 drivers/media/radio/radio-shark.c usb_sndintpipe(shark->usbdev, SHARK_OUT_EP), usbdev 121 drivers/media/radio/radio-shark.c res = usb_interrupt_msg(shark->usbdev, usbdev 122 drivers/media/radio/radio-shark.c usb_rcvintpipe(shark->usbdev, SHARK_IN_EP), usbdev 172 drivers/media/radio/radio-shark.c res = usb_interrupt_msg(shark->usbdev, usbdev 173 drivers/media/radio/radio-shark.c usb_sndintpipe(shark->usbdev, 0x05), usbdev 341 drivers/media/radio/radio-shark.c shark->usbdev = interface_to_usbdev(intf); usbdev 350 drivers/media/radio/radio-shark.c usb_make_path(shark->usbdev, shark->tea.bus_info, usbdev 58 drivers/media/radio/radio-shark2.c struct usb_device *usbdev; usbdev 88 drivers/media/radio/radio-shark2.c res = usb_interrupt_msg(shark->usbdev, usbdev 89 drivers/media/radio/radio-shark2.c usb_sndintpipe(shark->usbdev, SHARK_OUT_EP), usbdev 108 drivers/media/radio/radio-shark2.c res = usb_interrupt_msg(shark->usbdev, usbdev 109 drivers/media/radio/radio-shark2.c usb_sndintpipe(shark->usbdev, SHARK_OUT_EP), usbdev 117 drivers/media/radio/radio-shark2.c res = usb_interrupt_msg(shark->usbdev, usbdev 118 drivers/media/radio/radio-shark2.c usb_rcvintpipe(shark->usbdev, SHARK_IN_EP), usbdev 156 drivers/media/radio/radio-shark2.c res = usb_interrupt_msg(shark->usbdev, usbdev 157 drivers/media/radio/radio-shark2.c usb_sndintpipe(shark->usbdev, usbdev 307 drivers/media/radio/radio-shark2.c shark->usbdev = interface_to_usbdev(intf); usbdev 315 drivers/media/radio/radio-shark2.c usb_make_path(shark->usbdev, shark->tea.bus_info, usbdev 203 drivers/media/radio/si470x/radio-si470x-usb.c retval = usb_control_msg(radio->usbdev, usbdev 204 drivers/media/radio/si470x/radio-si470x-usb.c usb_rcvctrlpipe(radio->usbdev, 0), usbdev 226 drivers/media/radio/si470x/radio-si470x-usb.c retval = usb_control_msg(radio->usbdev, usbdev 227 drivers/media/radio/si470x/radio-si470x-usb.c usb_sndctrlpipe(radio->usbdev, 0), usbdev 464 drivers/media/radio/si470x/radio-si470x-usb.c if (radio->int_in_running && radio->usbdev) { usbdev 515 drivers/media/radio/si470x/radio-si470x-usb.c usb_make_path(radio->usbdev, capability->bus_info, usbdev 526 drivers/media/radio/si470x/radio-si470x-usb.c usb_fill_int_urb(radio->int_in_urb, radio->usbdev, usbdev 527 drivers/media/radio/si470x/radio-si470x-usb.c usb_rcvintpipe(radio->usbdev, usbdev 583 drivers/media/radio/si470x/radio-si470x-usb.c radio->usbdev = interface_to_usbdev(intf); usbdev 635 drivers/media/radio/si470x/radio-si470x-usb.c retval = usb_control_msg(radio->usbdev, usbdev 636 drivers/media/radio/si470x/radio-si470x-usb.c usb_rcvctrlpipe(radio->usbdev, 0), usbdev 166 drivers/media/radio/si470x/radio-si470x.h struct usb_device *usbdev; usbdev 49 drivers/media/radio/si4713/radio-usb-si4713.c struct usb_device *usbdev; usbdev 72 drivers/media/radio/si4713/radio-usb-si4713.c usb_make_path(radio->usbdev, v->bus_info, sizeof(v->bus_info)); usbdev 159 drivers/media/radio/si4713/radio-usb-si4713.c retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), usbdev 167 drivers/media/radio/si4713/radio-usb-si4713.c retval = usb_control_msg(radio->usbdev, usb_rcvctrlpipe(radio->usbdev, 0), usbdev 305 drivers/media/radio/si4713/radio-usb-si4713.c retval = usb_control_msg(radio->usbdev, usb_sndctrlpipe(radio->usbdev, 0), usbdev 319 drivers/media/radio/si4713/radio-usb-si4713.c retval = usb_control_msg(radio->usbdev, usbdev 320 drivers/media/radio/si4713/radio-usb-si4713.c usb_rcvctrlpipe(radio->usbdev, 0), usbdev 404 drivers/media/radio/si4713/radio-usb-si4713.c radio->i2c_adapter.dev.parent = &radio->usbdev->dev; usbdev 435 drivers/media/radio/si4713/radio-usb-si4713.c radio->usbdev = interface_to_usbdev(intf); usbdev 2360 drivers/media/rc/imon.c struct usb_device *usbdev = NULL; usbdev 2370 drivers/media/rc/imon.c usbdev = usb_get_dev(interface_to_usbdev(interface)); usbdev 2373 drivers/media/rc/imon.c vendor = le16_to_cpu(usbdev->descriptor.idVendor); usbdev 2374 drivers/media/rc/imon.c product = le16_to_cpu(usbdev->descriptor.idProduct); usbdev 2382 drivers/media/rc/imon.c first_if = usb_ifnum_to_if(usbdev, 0); usbdev 2437 drivers/media/rc/imon.c usbdev->bus->busnum, usbdev->devnum); usbdev 2440 drivers/media/rc/imon.c usb_put_dev(usbdev); usbdev 2446 drivers/media/rc/imon.c usb_put_dev(usbdev); usbdev 464 drivers/media/rc/mceusb.c struct usb_device *usbdev; usbdev 832 drivers/media/rc/mceusb.c usb_fill_int_urb(urb, ir->usbdev, ir->pipe_out, usbdev 836 drivers/media/rc/mceusb.c usb_fill_bulk_urb(urb, ir->usbdev, ir->pipe_out, usbdev 1423 drivers/media/rc/mceusb.c ret = usb_control_msg(ir->usbdev, usb_rcvctrlpipe(ir->usbdev, 0), usbdev 1431 drivers/media/rc/mceusb.c ret = usb_control_msg(ir->usbdev, usb_sndctrlpipe(ir->usbdev, 0), usbdev 1438 drivers/media/rc/mceusb.c ret = usb_control_msg(ir->usbdev, usb_sndctrlpipe(ir->usbdev, 0), usbdev 1444 drivers/media/rc/mceusb.c ret = usb_control_msg(ir->usbdev, usb_sndctrlpipe(ir->usbdev, 0), usbdev 1533 drivers/media/rc/mceusb.c status = usb_clear_halt(ir->usbdev, ir->pipe_in); usbdev 1559 drivers/media/rc/mceusb.c status = usb_clear_halt(ir->usbdev, ir->pipe_out); usbdev 1582 drivers/media/rc/mceusb.c struct usb_device *udev = ir->usbdev; usbdev 1597 drivers/media/rc/mceusb.c le16_to_cpu(ir->usbdev->descriptor.idVendor), usbdev 1598 drivers/media/rc/mceusb.c le16_to_cpu(ir->usbdev->descriptor.idProduct)); usbdev 1600 drivers/media/rc/mceusb.c usb_make_path(ir->usbdev, ir->phys, sizeof(ir->phys)); usbdev 1604 drivers/media/rc/mceusb.c usb_to_input_id(ir->usbdev, &rc->input_id); usbdev 1738 drivers/media/rc/mceusb.c ir->usbdev = usb_get_dev(dev); usbdev 1750 drivers/media/rc/mceusb.c ir->pipe_out = usb_sndintpipe(ir->usbdev, usbdev 1753 drivers/media/rc/mceusb.c ir->pipe_out = usb_sndbulkpipe(ir->usbdev, usbdev 1826 drivers/media/rc/mceusb.c usb_put_dev(ir->usbdev); usbdev 1852 drivers/media/rc/mceusb.c ir->usbdev = NULL; usbdev 70 drivers/media/rc/streamzap.c struct usb_device *usbdev; usbdev 288 drivers/media/rc/streamzap.c le16_to_cpu(sz->usbdev->descriptor.idVendor), usbdev 289 drivers/media/rc/streamzap.c le16_to_cpu(sz->usbdev->descriptor.idProduct)); usbdev 290 drivers/media/rc/streamzap.c usb_make_path(sz->usbdev, sz->phys, sizeof(sz->phys)); usbdev 295 drivers/media/rc/streamzap.c usb_to_input_id(sz->usbdev, &rdev->input_id); usbdev 325 drivers/media/rc/streamzap.c struct usb_device *usbdev = interface_to_usbdev(intf); usbdev 337 drivers/media/rc/streamzap.c sz->usbdev = usbdev; usbdev 365 drivers/media/rc/streamzap.c pipe = usb_rcvintpipe(usbdev, sz->endpoint->bEndpointAddress); usbdev 366 drivers/media/rc/streamzap.c maxp = usb_maxpacket(usbdev, pipe, usb_pipeout(pipe)); usbdev 376 drivers/media/rc/streamzap.c sz->buf_in = usb_alloc_coherent(usbdev, maxp, GFP_ATOMIC, &sz->dma_in); usbdev 387 drivers/media/rc/streamzap.c if (usbdev->descriptor.iManufacturer usbdev 388 drivers/media/rc/streamzap.c && usb_string(usbdev, usbdev->descriptor.iManufacturer, usbdev 392 drivers/media/rc/streamzap.c if (usbdev->descriptor.iProduct usbdev 393 drivers/media/rc/streamzap.c && usb_string(usbdev, usbdev->descriptor.iProduct, usbdev 418 drivers/media/rc/streamzap.c usb_fill_int_urb(sz->urb_in, usbdev, pipe, sz->buf_in, usbdev 430 drivers/media/rc/streamzap.c usbdev->bus->busnum, usbdev->devnum); usbdev 437 drivers/media/rc/streamzap.c usb_free_coherent(usbdev, maxp, sz->buf_in, sz->dma_in); usbdev 457 drivers/media/rc/streamzap.c struct usb_device *usbdev = interface_to_usbdev(interface); usbdev 464 drivers/media/rc/streamzap.c sz->usbdev = NULL; usbdev 468 drivers/media/rc/streamzap.c usb_free_coherent(usbdev, sz->buf_in_len, sz->buf_in, sz->dma_in); usbdev 70 drivers/media/usb/au0828/au0828-core.c if (dev->usbdev) { usbdev 73 drivers/media/usb/au0828/au0828-core.c status = usb_control_msg(dev->usbdev, usbdev 74 drivers/media/usb/au0828/au0828-core.c usb_sndctrlpipe(dev->usbdev, 0), usbdev 97 drivers/media/usb/au0828/au0828-core.c if (dev->usbdev) { usbdev 98 drivers/media/usb/au0828/au0828-core.c status = usb_control_msg(dev->usbdev, usbdev 99 drivers/media/usb/au0828/au0828-core.c usb_rcvctrlpipe(dev->usbdev, 0), usbdev 183 drivers/media/usb/au0828/au0828-core.c dev->usbdev = NULL; usbdev 260 drivers/media/usb/au0828/au0828-core.c dev_err(&dev->usbdev->dev, usbdev 655 drivers/media/usb/au0828/au0828-core.c struct usb_device *usbdev = interface_to_usbdev(interface); usbdev 663 drivers/media/usb/au0828/au0828-core.c le16_to_cpu(usbdev->descriptor.idVendor), usbdev 664 drivers/media/usb/au0828/au0828-core.c le16_to_cpu(usbdev->descriptor.idProduct), usbdev 672 drivers/media/usb/au0828/au0828-core.c if (usbdev->speed != USB_SPEED_HIGH && disable_usb_speed_check == 0) { usbdev 688 drivers/media/usb/au0828/au0828-core.c dev->usbdev = usbdev; usbdev 693 drivers/media/usb/au0828/au0828-core.c retval = au0828_media_device_init(dev, usbdev); usbdev 751 drivers/media/usb/au0828/au0828-core.c retval = au0828_media_device_register(dev, usbdev); usbdev 225 drivers/media/usb/au0828/au0828-dvb.c dev->usbdev, usbdev 226 drivers/media/usb/au0828/au0828-dvb.c usb_rcvbulkpipe(dev->usbdev, usbdev 422 drivers/media/usb/au0828/au0828-dvb.c &dev->usbdev->dev, adapter_nr); usbdev 369 drivers/media/usb/au0828/au0828-i2c.c dev->i2c_adap.dev.parent = &dev->usbdev->dev; usbdev 321 drivers/media/usb/au0828/au0828-input.c usb_make_path(dev->usbdev, ir->phys, sizeof(ir->phys)); usbdev 328 drivers/media/usb/au0828/au0828-input.c rc->input_id.vendor = le16_to_cpu(dev->usbdev->descriptor.idVendor); usbdev 329 drivers/media/usb/au0828/au0828-input.c rc->input_id.product = le16_to_cpu(dev->usbdev->descriptor.idProduct); usbdev 330 drivers/media/usb/au0828/au0828-input.c rc->dev.parent = &dev->usbdev->dev; usbdev 171 drivers/media/usb/au0828/au0828-video.c usb_free_coherent(dev->usbdev, usbdev 239 drivers/media/usb/au0828/au0828-video.c dev->isoc_ctl.transfer_buffer[i] = usb_alloc_coherent(dev->usbdev, usbdev 250 drivers/media/usb/au0828/au0828-video.c pipe = usb_rcvisocpipe(dev->usbdev, usbdev 253 drivers/media/usb/au0828/au0828-video.c usb_fill_int_urb(urb, dev->usbdev, pipe, usbdev 755 drivers/media/usb/au0828/au0828-video.c iface = usb_ifnum_to_if(d->usbdev, 0); usbdev 759 drivers/media/usb/au0828/au0828-video.c ret = usb_set_interface(d->usbdev, 0, 5); usbdev 1097 drivers/media/usb/au0828/au0828-video.c ret = usb_set_interface(dev->usbdev, 0, 0); usbdev 1191 drivers/media/usb/au0828/au0828-video.c usb_make_path(dev->usbdev, cap->bus_info, sizeof(cap->bus_info)); usbdev 1918 drivers/media/usb/au0828/au0828-video.c retval = usb_set_interface(dev->usbdev, usbdev 175 drivers/media/usb/au0828/au0828.h struct usb_device *usbdev; usbdev 1955 drivers/media/usb/cx231xx/cx231xx-417.c struct usb_device *usbdev, usbdev 37 drivers/media/usb/go7007/go7007-loader.c struct usb_device *usbdev; usbdev 44 drivers/media/usb/go7007/go7007-loader.c usbdev = usb_get_dev(interface_to_usbdev(interface)); usbdev 45 drivers/media/usb/go7007/go7007-loader.c if (!usbdev) usbdev 48 drivers/media/usb/go7007/go7007-loader.c if (usbdev->descriptor.bNumConfigurations != 1) { usbdev 53 drivers/media/usb/go7007/go7007-loader.c vendor = le16_to_cpu(usbdev->descriptor.idVendor); usbdev 54 drivers/media/usb/go7007/go7007-loader.c product = le16_to_cpu(usbdev->descriptor.idProduct); usbdev 70 drivers/media/usb/go7007/go7007-loader.c if (request_firmware(&fw, fw1, &usbdev->dev)) { usbdev 75 drivers/media/usb/go7007/go7007-loader.c ret = cypress_load_firmware(usbdev, fw, CYPRESS_FX2); usbdev 85 drivers/media/usb/go7007/go7007-loader.c if (request_firmware(&fw, fw2, &usbdev->dev)) { usbdev 90 drivers/media/usb/go7007/go7007-loader.c ret = cypress_load_firmware(usbdev, fw, CYPRESS_FX2); usbdev 99 drivers/media/usb/go7007/go7007-loader.c usb_put_dev(usbdev); usbdev 56 drivers/media/usb/go7007/go7007-usb.c struct usb_device *usbdev; usbdev 629 drivers/media/usb/go7007/go7007-usb.c return usb_control_msg(usb->usbdev, usbdev 630 drivers/media/usb/go7007/go7007-usb.c usb_rcvctrlpipe(usb->usbdev, 0), request, usbdev 634 drivers/media/usb/go7007/go7007-usb.c return usb_control_msg(usb->usbdev, usbdev 635 drivers/media/usb/go7007/go7007-usb.c usb_sndctrlpipe(usb->usbdev, 0), request, usbdev 686 drivers/media/usb/go7007/go7007-usb.c r = usb_control_msg(usb->usbdev, usbdev 687 drivers/media/usb/go7007/go7007-usb.c usb_rcvctrlpipe(usb->usbdev, 0), 0x14, usbdev 704 drivers/media/usb/go7007/go7007-usb.c r = usb_control_msg(usb->usbdev, usb_sndctrlpipe(usb->usbdev, 0), 0x12, usbdev 709 drivers/media/usb/go7007/go7007-usb.c r = usb_control_msg(usb->usbdev, usb_sndctrlpipe(usb->usbdev, 0), usbdev 735 drivers/media/usb/go7007/go7007-usb.c r = usb_control_msg(usb->usbdev, usb_sndctrlpipe(usb->usbdev, 2), 0x00, usbdev 888 drivers/media/usb/go7007/go7007-usb.c pipe = usb_sndbulkpipe(usb->usbdev, 2); usbdev 890 drivers/media/usb/go7007/go7007-usb.c pipe = usb_sndbulkpipe(usb->usbdev, 3); usbdev 892 drivers/media/usb/go7007/go7007-usb.c return usb_bulk_msg(usb->usbdev, pipe, data, len, usbdev 1046 drivers/media/usb/go7007/go7007-usb.c struct usb_device *usbdev = interface_to_usbdev(intf); usbdev 1124 drivers/media/usb/go7007/go7007-usb.c usb->usbdev = usbdev; usbdev 1125 drivers/media/usb/go7007/go7007-usb.c usb_make_path(usbdev, go->bus_info, sizeof(go->bus_info)); usbdev 1144 drivers/media/usb/go7007/go7007-usb.c usb_fill_bulk_urb(usb->intr_urb, usb->usbdev, usbdev 1145 drivers/media/usb/go7007/go7007-usb.c usb_rcvbulkpipe(usb->usbdev, 4), usbdev 1149 drivers/media/usb/go7007/go7007-usb.c usb_fill_int_urb(usb->intr_urb, usb->usbdev, usbdev 1150 drivers/media/usb/go7007/go7007-usb.c usb_rcvintpipe(usb->usbdev, 4), usbdev 1259 drivers/media/usb/go7007/go7007-usb.c usbdev->speed != USB_SPEED_HIGH) usbdev 1265 drivers/media/usb/go7007/go7007-usb.c video_pipe = usb_rcvbulkpipe(usb->usbdev, 6); usbdev 1268 drivers/media/usb/go7007/go7007-usb.c video_pipe = usb_rcvbulkpipe(usb->usbdev, 1); usbdev 1278 drivers/media/usb/go7007/go7007-usb.c usb_fill_bulk_urb(usb->video_urbs[i], usb->usbdev, video_pipe, usbdev 1294 drivers/media/usb/go7007/go7007-usb.c usb_fill_bulk_urb(usb->audio_urbs[i], usb->usbdev, usbdev 1295 drivers/media/usb/go7007/go7007-usb.c usb_rcvbulkpipe(usb->usbdev, 8), usbdev 43 drivers/media/usb/go7007/s2250-board.c struct usb_device *usbdev; usbdev 138 drivers/media/usb/go7007/s2250-board.c return usb_control_msg(usb->usbdev, usbdev 139 drivers/media/usb/go7007/s2250-board.c usb_rcvctrlpipe(usb->usbdev, 0), request, usbdev 143 drivers/media/usb/go7007/s2250-board.c return usb_control_msg(usb->usbdev, usbdev 144 drivers/media/usb/go7007/s2250-board.c usb_sndctrlpipe(usb->usbdev, 0), request, usbdev 1175 drivers/media/usb/tm6000/tm6000-cards.c struct usb_device *usbdev; usbdev 1181 drivers/media/usb/tm6000/tm6000-cards.c usbdev = usb_get_dev(interface_to_usbdev(interface)); usbdev 1184 drivers/media/usb/tm6000/tm6000-cards.c rc = usb_set_interface(usbdev, 0, 1); usbdev 1213 drivers/media/usb/tm6000/tm6000-cards.c dev->udev = usbdev; usbdev 1216 drivers/media/usb/tm6000/tm6000-cards.c switch (usbdev->speed) { usbdev 1252 drivers/media/usb/tm6000/tm6000-cards.c get_max_endpoint(usbdev, usbdev 1257 drivers/media/usb/tm6000/tm6000-cards.c get_max_endpoint(usbdev, usbdev 1265 drivers/media/usb/tm6000/tm6000-cards.c get_max_endpoint(usbdev, usbdev 1270 drivers/media/usb/tm6000/tm6000-cards.c get_max_endpoint(usbdev, usbdev 1278 drivers/media/usb/tm6000/tm6000-cards.c get_max_endpoint(usbdev, usbdev 1283 drivers/media/usb/tm6000/tm6000-cards.c get_max_endpoint(usbdev, usbdev 1325 drivers/media/usb/tm6000/tm6000-cards.c usb_put_dev(usbdev); usbdev 797 drivers/net/can/usb/mcba_usb.c struct usb_device *usbdev = interface_to_usbdev(intf); usbdev 807 drivers/net/can/usb/mcba_usb.c priv->udev = usbdev; usbdev 904 drivers/net/can/usb/usb_8dev.c struct usb_device *usbdev = interface_to_usbdev(intf); usbdev 907 drivers/net/can/usb/usb_8dev.c if (usb_string(usbdev, usbdev->descriptor.iProduct, buf, usbdev 909 drivers/net/can/usb/usb_8dev.c dev_info(&usbdev->dev, "ignoring: not an USB2CAN converter\n"); usbdev 921 drivers/net/can/usb/usb_8dev.c priv->udev = usbdev; usbdev 151 drivers/net/usb/catc.c struct usb_device *usbdev; usbdev 267 drivers/net/usb/catc.c urb->dev = catc->usbdev; usbdev 330 drivers/net/usb/catc.c catc->rx_urb->dev = catc->usbdev; usbdev 332 drivers/net/usb/catc.c dev_err(&catc->usbdev->dev, usbdev 340 drivers/net/usb/catc.c dev_err(&catc->usbdev->dev, usbdev 342 drivers/net/usb/catc.c catc->usbdev->bus->bus_name, usbdev 343 drivers/net/usb/catc.c catc->usbdev->devpath, res); usbdev 359 drivers/net/usb/catc.c catc->tx_urb->dev = catc->usbdev; usbdev 362 drivers/net/usb/catc.c dev_err(&catc->usbdev->dev, "submit(tx_urb), status %d\n", usbdev 464 drivers/net/usb/catc.c int retval = usb_control_msg(catc->usbdev, usbdev 465 drivers/net/usb/catc.c dir ? usb_rcvctrlpipe(catc->usbdev, 0) : usb_sndctrlpipe(catc->usbdev, 0), usbdev 473 drivers/net/usb/catc.c struct usb_device *usbdev = catc->usbdev; usbdev 484 drivers/net/usb/catc.c urb->pipe = q->dir ? usb_rcvctrlpipe(usbdev, 0) : usb_sndctrlpipe(usbdev, 0); usbdev 488 drivers/net/usb/catc.c urb->dev = usbdev; usbdev 494 drivers/net/usb/catc.c dev_err(&catc->usbdev->dev, "submit(ctrl_urb) status %d\n", usbdev 555 drivers/net/usb/catc.c dev_err(&catc->usbdev->dev, "ctrl queue full\n"); usbdev 677 drivers/net/usb/catc.c usb_make_path(catc->usbdev, info->bus_info, sizeof(info->bus_info)); usbdev 719 drivers/net/usb/catc.c catc->irq_urb->dev = catc->usbdev; usbdev 721 drivers/net/usb/catc.c dev_err(&catc->usbdev->dev, "submit(irq_urb) status %d\n", usbdev 769 drivers/net/usb/catc.c struct usb_device *usbdev = interface_to_usbdev(intf); usbdev 775 drivers/net/usb/catc.c if (usb_set_interface(usbdev, usbdev 791 drivers/net/usb/catc.c catc->usbdev = usbdev; usbdev 811 drivers/net/usb/catc.c if (le16_to_cpu(usbdev->descriptor.idVendor) == 0x0423 && usbdev 812 drivers/net/usb/catc.c le16_to_cpu(usbdev->descriptor.idProduct) == 0xa && usbdev 813 drivers/net/usb/catc.c le16_to_cpu(catc->usbdev->descriptor.bcdDevice) == 0x0130) { usbdev 822 drivers/net/usb/catc.c usb_fill_control_urb(catc->ctrl_urb, usbdev, usb_sndctrlpipe(usbdev, 0), usbdev 825 drivers/net/usb/catc.c usb_fill_bulk_urb(catc->tx_urb, usbdev, usb_sndbulkpipe(usbdev, 1), usbdev 828 drivers/net/usb/catc.c usb_fill_bulk_urb(catc->rx_urb, usbdev, usb_rcvbulkpipe(usbdev, 1), usbdev 831 drivers/net/usb/catc.c usb_fill_int_urb(catc->irq_urb, usbdev, usb_rcvintpipe(usbdev, 2), usbdev 912 drivers/net/usb/catc.c usbdev->bus->bus_name, usbdev->devpath, netdev->dev_addr); usbdev 318 drivers/net/usb/cdc-phonet.c struct usb_device *usbdev = interface_to_usbdev(intf); usbdev 335 drivers/net/usb/cdc-phonet.c data_intf = usb_ifnum_to_if(usbdev, union_header->bSlaveInterface0); usbdev 360 drivers/net/usb/cdc-phonet.c pnd->usb = usbdev; usbdev 367 drivers/net/usb/cdc-phonet.c pnd->rx_pipe = usb_rcvbulkpipe(usbdev, usbdev 369 drivers/net/usb/cdc-phonet.c pnd->tx_pipe = usb_sndbulkpipe(usbdev, usbdev 372 drivers/net/usb/cdc-phonet.c pnd->rx_pipe = usb_rcvbulkpipe(usbdev, usbdev 374 drivers/net/usb/cdc-phonet.c pnd->tx_pipe = usb_sndbulkpipe(usbdev, usbdev 384 drivers/net/usb/cdc-phonet.c usb_set_interface(usbdev, union_header->bSlaveInterface0, usbdev 2791 drivers/net/usb/hso.c struct usb_device *usbdev = interface_to_usbdev(interface); usbdev 2798 drivers/net/usb/hso.c if (usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), usbdev 621 drivers/net/wireless/ath/ath9k/htc_drv_init.c ah->hw_version.usbdev = drv_info; usbdev 1011 drivers/net/wireless/ath/ath9k/htc_drv_init.c priv->ah->hw_version.usbdev); usbdev 1831 drivers/net/wireless/ath/ath9k/htc_drv_main.c else if (priv->ah->hw_version.usbdev == AR9280_USB) usbdev 1834 drivers/net/wireless/ath/ath9k/htc_drv_main.c else if (priv->ah->hw_version.usbdev == AR9287_USB) usbdev 532 drivers/net/wireless/ath/ath9k/hw.h enum ath_usb_dev usbdev; usbdev 1011 drivers/net/wireless/ath/ath9k/reg.h (((_ah)->hw_version.usbdev == AR9280_USB) || \ usbdev 1012 drivers/net/wireless/ath/ath9k/reg.h ((_ah)->hw_version.usbdev == AR9287_USB)) usbdev 150 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c struct usb_device *usbdev; usbdev 262 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c devinfo->usbdev, usbdev 296 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c devinfo->usbdev, usbdev 531 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c usb_fill_bulk_urb(req->urb, devinfo->usbdev, devinfo->rx_pipe, usbdev 607 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c usb_fill_bulk_urb(req->urb, devinfo->usbdev, devinfo->tx_pipe, usbdev 647 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c devinfo->ctl_in_pipe = usb_rcvctrlpipe(devinfo->usbdev, 0); usbdev 648 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c devinfo->ctl_out_pipe = usb_sndctrlpipe(devinfo->usbdev, 0); usbdev 733 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c devinfo->usbdev, usbdev 734 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c usb_rcvctrlpipe(devinfo->usbdev, 0), usbdev 835 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c usb_fill_bulk_urb(devinfo->bulk_urb, devinfo->usbdev, usbdev 1326 drivers/net/wireless/broadcom/brcm80211/brcmfmac/usb.c devinfo->usbdev = usb; usbdev 413 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev; usbdev 837 drivers/net/wireless/rndis_wlan.c static int rndis_reset(struct usbnet *usbdev) usbdev 839 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 850 drivers/net/wireless/rndis_wlan.c ret = rndis_command(usbdev, (void *)reset, CONTROL_BUFFER_SIZE); usbdev 961 drivers/net/wireless/rndis_wlan.c static int set_infra_mode(struct usbnet *usbdev, int mode); usbdev 962 drivers/net/wireless/rndis_wlan.c static void restore_keys(struct usbnet *usbdev); usbdev 963 drivers/net/wireless/rndis_wlan.c static int rndis_check_bssid_list(struct usbnet *usbdev, u8 *match_bssid, usbdev 966 drivers/net/wireless/rndis_wlan.c static int rndis_start_bssid_list_scan(struct usbnet *usbdev) usbdev 972 drivers/net/wireless/rndis_wlan.c return rndis_set_oid(usbdev, RNDIS_OID_802_11_BSSID_LIST_SCAN, &tmp, usbdev 976 drivers/net/wireless/rndis_wlan.c static int set_essid(struct usbnet *usbdev, struct ndis_80211_ssid *ssid) usbdev 978 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 981 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, RNDIS_OID_802_11_SSID, usbdev 984 drivers/net/wireless/rndis_wlan.c netdev_warn(usbdev->net, "setting SSID failed (%08X)\n", ret); usbdev 989 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): radio_on = true\n", __func__); usbdev 995 drivers/net/wireless/rndis_wlan.c static int set_bssid(struct usbnet *usbdev, const u8 *bssid) usbdev 999 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, RNDIS_OID_802_11_BSSID, usbdev 1002 drivers/net/wireless/rndis_wlan.c netdev_warn(usbdev->net, "setting BSSID[%pM] failed (%08X)\n", usbdev 1010 drivers/net/wireless/rndis_wlan.c static int clear_bssid(struct usbnet *usbdev) usbdev 1016 drivers/net/wireless/rndis_wlan.c return set_bssid(usbdev, broadcast_mac); usbdev 1019 drivers/net/wireless/rndis_wlan.c static int get_bssid(struct usbnet *usbdev, u8 bssid[ETH_ALEN]) usbdev 1024 drivers/net/wireless/rndis_wlan.c ret = rndis_query_oid(usbdev, RNDIS_OID_802_11_BSSID, usbdev 1033 drivers/net/wireless/rndis_wlan.c static int get_association_info(struct usbnet *usbdev, usbdev 1036 drivers/net/wireless/rndis_wlan.c return rndis_query_oid(usbdev, usbdev 1041 drivers/net/wireless/rndis_wlan.c static bool is_associated(struct usbnet *usbdev) usbdev 1043 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1050 drivers/net/wireless/rndis_wlan.c ret = get_bssid(usbdev, bssid); usbdev 1055 drivers/net/wireless/rndis_wlan.c static int disassociate(struct usbnet *usbdev, bool reset_ssid) usbdev 1057 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1062 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, usbdev 1067 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): radio_on = false\n", usbdev 1081 drivers/net/wireless/rndis_wlan.c set_infra_mode(usbdev, NDIS_80211_INFRA_INFRA); usbdev 1089 drivers/net/wireless/rndis_wlan.c ret = set_essid(usbdev, &ssid); usbdev 1094 drivers/net/wireless/rndis_wlan.c static int set_auth_mode(struct usbnet *usbdev, u32 wpa_version, usbdev 1097 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1101 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): wpa_version=0x%x authalg=0x%x keymgmt=0x%x\n", usbdev 1126 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, usbdev 1130 drivers/net/wireless/rndis_wlan.c netdev_warn(usbdev->net, "setting auth mode failed (%08X)\n", usbdev 1140 drivers/net/wireless/rndis_wlan.c static int set_priv_filter(struct usbnet *usbdev) usbdev 1142 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1145 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): wpa_version=0x%x\n", usbdev 1154 drivers/net/wireless/rndis_wlan.c return rndis_set_oid(usbdev, usbdev 1159 drivers/net/wireless/rndis_wlan.c static int set_encr_mode(struct usbnet *usbdev, int pairwise, int groupwise) usbdev 1164 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): cipher_pair=0x%x cipher_group=0x%x\n", usbdev 1181 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, usbdev 1185 drivers/net/wireless/rndis_wlan.c netdev_warn(usbdev->net, "setting encr mode failed (%08X)\n", usbdev 1193 drivers/net/wireless/rndis_wlan.c static int set_infra_mode(struct usbnet *usbdev, int mode) usbdev 1195 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1199 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): infra_mode=0x%x\n", usbdev 1203 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, usbdev 1207 drivers/net/wireless/rndis_wlan.c netdev_warn(usbdev->net, "setting infra mode failed (%08X)\n", usbdev 1215 drivers/net/wireless/rndis_wlan.c restore_keys(usbdev); usbdev 1221 drivers/net/wireless/rndis_wlan.c static int set_rts_threshold(struct usbnet *usbdev, u32 rts_threshold) usbdev 1225 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): %i\n", __func__, rts_threshold); usbdev 1231 drivers/net/wireless/rndis_wlan.c return rndis_set_oid(usbdev, usbdev 1236 drivers/net/wireless/rndis_wlan.c static int set_frag_threshold(struct usbnet *usbdev, u32 frag_threshold) usbdev 1240 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): %i\n", __func__, frag_threshold); usbdev 1246 drivers/net/wireless/rndis_wlan.c return rndis_set_oid(usbdev, usbdev 1251 drivers/net/wireless/rndis_wlan.c static void set_default_iw_params(struct usbnet *usbdev) usbdev 1253 drivers/net/wireless/rndis_wlan.c set_infra_mode(usbdev, NDIS_80211_INFRA_INFRA); usbdev 1254 drivers/net/wireless/rndis_wlan.c set_auth_mode(usbdev, 0, NL80211_AUTHTYPE_OPEN_SYSTEM, usbdev 1256 drivers/net/wireless/rndis_wlan.c set_priv_filter(usbdev); usbdev 1257 drivers/net/wireless/rndis_wlan.c set_encr_mode(usbdev, RNDIS_WLAN_ALG_NONE, RNDIS_WLAN_ALG_NONE); usbdev 1260 drivers/net/wireless/rndis_wlan.c static int deauthenticate(struct usbnet *usbdev) usbdev 1264 drivers/net/wireless/rndis_wlan.c ret = disassociate(usbdev, true); usbdev 1265 drivers/net/wireless/rndis_wlan.c set_default_iw_params(usbdev); usbdev 1269 drivers/net/wireless/rndis_wlan.c static int set_channel(struct usbnet *usbdev, int channel) usbdev 1275 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(%d)\n", __func__, channel); usbdev 1278 drivers/net/wireless/rndis_wlan.c if (is_associated(usbdev)) usbdev 1285 drivers/net/wireless/rndis_wlan.c ret = rndis_query_oid(usbdev, usbdev 1289 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): querying configuration failed\n", usbdev 1295 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, usbdev 1299 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): %d -> %d\n", __func__, channel, ret); usbdev 1304 drivers/net/wireless/rndis_wlan.c static struct ieee80211_channel *get_current_channel(struct usbnet *usbdev, usbdev 1307 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1314 drivers/net/wireless/rndis_wlan.c ret = rndis_query_oid(usbdev, usbdev 1317 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): RNDIS_OID_802_11_CONFIGURATION -> %d\n", usbdev 1333 drivers/net/wireless/rndis_wlan.c static int add_wep_key(struct usbnet *usbdev, const u8 *key, int key_len, usbdev 1336 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1341 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(idx: %d, len: %d)\n", usbdev 1363 drivers/net/wireless/rndis_wlan.c ret = set_encr_mode(usbdev, RNDIS_WLAN_ALG_WEP, usbdev 1366 drivers/net/wireless/rndis_wlan.c netdev_warn(usbdev->net, "encryption couldn't be enabled (%08X)\n", usbdev 1370 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, usbdev 1374 drivers/net/wireless/rndis_wlan.c netdev_warn(usbdev->net, "adding encryption key %d failed (%08X)\n", usbdev 1387 drivers/net/wireless/rndis_wlan.c static int add_wpa_key(struct usbnet *usbdev, const u8 *key, int key_len, usbdev 1391 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1397 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): index out of range (%i)\n", usbdev 1402 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): key length out of range (%i)\n", usbdev 1408 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): recv seq flag without buffer\n", usbdev 1413 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): too big recv seq buffer\n", __func__); usbdev 1421 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): pairwise but bssid invalid (%pM)\n", usbdev 1426 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(%i): flags:%i%i%i\n", usbdev 1459 drivers/net/wireless/rndis_wlan.c get_bssid(usbdev, ndis_key.bssid); usbdev 1462 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, usbdev 1465 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): RNDIS_OID_802_11_ADD_KEY -> %08X\n", usbdev 1485 drivers/net/wireless/rndis_wlan.c static int restore_key(struct usbnet *usbdev, u8 key_idx) usbdev 1487 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1495 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): %i:%i\n", __func__, key_idx, key.len); usbdev 1500 drivers/net/wireless/rndis_wlan.c return add_wep_key(usbdev, key.material, key.len, key_idx); usbdev 1503 drivers/net/wireless/rndis_wlan.c static void restore_keys(struct usbnet *usbdev) usbdev 1508 drivers/net/wireless/rndis_wlan.c restore_key(usbdev, i); usbdev 1517 drivers/net/wireless/rndis_wlan.c static int remove_key(struct usbnet *usbdev, u8 index, const u8 *bssid) usbdev 1519 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1533 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): %i:%s:%i\n", usbdev 1553 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, usbdev 1560 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, usbdev 1564 drivers/net/wireless/rndis_wlan.c netdev_warn(usbdev->net, usbdev 1573 drivers/net/wireless/rndis_wlan.c set_encr_mode(usbdev, RNDIS_WLAN_ALG_NONE, RNDIS_WLAN_ALG_NONE); usbdev 1578 drivers/net/wireless/rndis_wlan.c static void set_multicast_list(struct usbnet *usbdev) usbdev 1580 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1590 drivers/net/wireless/rndis_wlan.c if (usbdev->net->flags & IFF_PROMISC) { usbdev 1593 drivers/net/wireless/rndis_wlan.c } else if (usbdev->net->flags & IFF_ALLMULTI) { usbdev 1604 drivers/net/wireless/rndis_wlan.c netif_addr_lock_bh(usbdev->net); usbdev 1605 drivers/net/wireless/rndis_wlan.c mc_count = netdev_mc_count(usbdev->net); usbdev 1613 drivers/net/wireless/rndis_wlan.c netif_addr_unlock_bh(usbdev->net); usbdev 1617 drivers/net/wireless/rndis_wlan.c netdev_for_each_mc_addr(ha, usbdev->net) usbdev 1621 drivers/net/wireless/rndis_wlan.c netif_addr_unlock_bh(usbdev->net); usbdev 1627 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, usbdev 1636 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "RNDIS_OID_802_3_MULTICAST_LIST(%d, max: %d) -> %d\n", usbdev 1641 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, RNDIS_OID_GEN_CURRENT_PACKET_FILTER, &filter, usbdev 1644 drivers/net/wireless/rndis_wlan.c netdev_warn(usbdev->net, "couldn't set packet filter: %08x\n", usbdev 1648 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "RNDIS_OID_GEN_CURRENT_PACKET_FILTER(%08x) -> %d\n", usbdev 1653 drivers/net/wireless/rndis_wlan.c static void debug_print_pmkids(struct usbnet *usbdev, usbdev 1657 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1666 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): %d PMKIDs (data len: %d, entry len: " usbdev 1675 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): bssid: %pM, " usbdev 1683 drivers/net/wireless/rndis_wlan.c static void debug_print_pmkids(struct usbnet *usbdev, usbdev 1691 drivers/net/wireless/rndis_wlan.c static struct ndis_80211_pmkid *get_device_pmkids(struct usbnet *usbdev) usbdev 1693 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1707 drivers/net/wireless/rndis_wlan.c ret = rndis_query_oid(usbdev, RNDIS_OID_802_11_PMKID, usbdev 1710 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): RNDIS_OID_802_11_PMKID(%d, %d)" usbdev 1720 drivers/net/wireless/rndis_wlan.c debug_print_pmkids(usbdev, pmkids, __func__); usbdev 1725 drivers/net/wireless/rndis_wlan.c static int set_device_pmkids(struct usbnet *usbdev, usbdev 1734 drivers/net/wireless/rndis_wlan.c debug_print_pmkids(usbdev, pmkids, __func__); usbdev 1736 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, RNDIS_OID_802_11_PMKID, pmkids, usbdev 1739 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): RNDIS_OID_802_11_PMKID(%d, %d) -> %d" usbdev 1747 drivers/net/wireless/rndis_wlan.c static struct ndis_80211_pmkid *remove_pmkid(struct usbnet *usbdev, usbdev 1767 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): bssid not found (%pM)\n", usbdev 1786 drivers/net/wireless/rndis_wlan.c static struct ndis_80211_pmkid *update_pmkid(struct usbnet *usbdev, usbdev 1814 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): out of space\n", __func__); usbdev 1850 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 1866 drivers/net/wireless/rndis_wlan.c return set_infra_mode(usbdev, mode); usbdev 1872 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 1876 drivers/net/wireless/rndis_wlan.c err = set_frag_threshold(usbdev, wiphy->frag_threshold); usbdev 1882 drivers/net/wireless/rndis_wlan.c err = set_rts_threshold(usbdev, wiphy->rts_threshold); usbdev 1896 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 1898 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): type:0x%x mbm:%i\n", usbdev 1911 drivers/net/wireless/rndis_wlan.c disassociate(usbdev, true); /* turn on radio */ usbdev 1924 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 1928 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): dbm:%i\n", __func__, *dbm); usbdev 1938 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = netdev_priv(dev); usbdev 1939 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1943 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "cfg80211.scan\n"); usbdev 1948 drivers/net/wireless/rndis_wlan.c rndis_check_bssid_list(usbdev, NULL, NULL); usbdev 1955 drivers/net/wireless/rndis_wlan.c ret = rndis_start_bssid_list_scan(usbdev); usbdev 1967 drivers/net/wireless/rndis_wlan.c static bool rndis_bss_info_update(struct usbnet *usbdev, usbdev 1970 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 1981 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, " found bssid: '%.32s' [%pM], len: %d\n", usbdev 2053 drivers/net/wireless/rndis_wlan.c static int rndis_check_bssid_list(struct usbnet *usbdev, u8 *match_bssid, usbdev 2061 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s()\n", __func__); usbdev 2075 drivers/net/wireless/rndis_wlan.c ret = rndis_query_oid(usbdev, RNDIS_OID_802_11_BSSID_LIST, usbdev 2091 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): buflen: %d\n", __func__, len); usbdev 2100 drivers/net/wireless/rndis_wlan.c if (rndis_bss_info_update(usbdev, bssid) && match_bssid && usbdev 2110 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): num_items from device: %d, really found:" usbdev 2122 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2126 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "get_scan_results\n"); usbdev 2131 drivers/net/wireless/rndis_wlan.c ret = rndis_check_bssid_list(usbdev, NULL, NULL); usbdev 2143 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2161 drivers/net/wireless/rndis_wlan.c netdev_err(usbdev->net, "Unsupported pairwise cipher\n"); usbdev 2171 drivers/net/wireless/rndis_wlan.c netdev_err(usbdev->net, "Invalid keymgmt\n"); usbdev 2175 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "cfg80211.connect('%.32s':[%pM]:%d:[%d,0x%x:0x%x]:[0x%x:0x%x]:0x%x)\n", usbdev 2180 drivers/net/wireless/rndis_wlan.c if (is_associated(usbdev)) usbdev 2181 drivers/net/wireless/rndis_wlan.c disassociate(usbdev, false); usbdev 2183 drivers/net/wireless/rndis_wlan.c ret = set_infra_mode(usbdev, NDIS_80211_INFRA_INFRA); usbdev 2185 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "connect: set_infra_mode failed, %d\n", usbdev 2190 drivers/net/wireless/rndis_wlan.c ret = set_auth_mode(usbdev, sme->crypto.wpa_versions, sme->auth_type, usbdev 2193 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "connect: set_auth_mode failed, %d\n", usbdev 2198 drivers/net/wireless/rndis_wlan.c set_priv_filter(usbdev); usbdev 2200 drivers/net/wireless/rndis_wlan.c ret = set_encr_mode(usbdev, pairwise, groupwise); usbdev 2202 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "connect: set_encr_mode failed, %d\n", usbdev 2208 drivers/net/wireless/rndis_wlan.c ret = set_channel(usbdev, chan); usbdev 2210 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "connect: set_channel failed, %d\n", usbdev 2218 drivers/net/wireless/rndis_wlan.c ret = add_wep_key(usbdev, sme->key, sme->key_len, sme->key_idx); usbdev 2220 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "connect: add_wep_key failed, %d (%d, %d)\n", usbdev 2228 drivers/net/wireless/rndis_wlan.c ret = set_bssid(usbdev, sme->bssid); usbdev 2230 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "connect: set_bssid failed, %d\n", usbdev 2235 drivers/net/wireless/rndis_wlan.c clear_bssid(usbdev); usbdev 2248 drivers/net/wireless/rndis_wlan.c usbnet_pause_rx(usbdev); usbdev 2249 drivers/net/wireless/rndis_wlan.c usbnet_purge_paused_rxq(usbdev); usbdev 2251 drivers/net/wireless/rndis_wlan.c ret = set_essid(usbdev, &ssid); usbdev 2253 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "connect: set_essid failed, %d\n", ret); usbdev 2257 drivers/net/wireless/rndis_wlan.c disassociate(usbdev, true); usbdev 2266 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2268 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "cfg80211.disconnect(%d)\n", reason_code); usbdev 2273 drivers/net/wireless/rndis_wlan.c return deauthenticate(usbdev); usbdev 2280 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2302 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "cfg80211.join_ibss('%.32s':[%pM]:%d:%d)\n", usbdev 2305 drivers/net/wireless/rndis_wlan.c if (is_associated(usbdev)) usbdev 2306 drivers/net/wireless/rndis_wlan.c disassociate(usbdev, false); usbdev 2308 drivers/net/wireless/rndis_wlan.c ret = set_infra_mode(usbdev, NDIS_80211_INFRA_ADHOC); usbdev 2310 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "join_ibss: set_infra_mode failed, %d\n", usbdev 2315 drivers/net/wireless/rndis_wlan.c ret = set_auth_mode(usbdev, 0, auth_type, RNDIS_WLAN_KEY_MGMT_NONE); usbdev 2317 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "join_ibss: set_auth_mode failed, %d\n", usbdev 2322 drivers/net/wireless/rndis_wlan.c set_priv_filter(usbdev); usbdev 2324 drivers/net/wireless/rndis_wlan.c ret = set_encr_mode(usbdev, alg, RNDIS_WLAN_ALG_NONE); usbdev 2326 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "join_ibss: set_encr_mode failed, %d\n", usbdev 2332 drivers/net/wireless/rndis_wlan.c ret = set_channel(usbdev, chan); usbdev 2334 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "join_ibss: set_channel failed, %d\n", usbdev 2342 drivers/net/wireless/rndis_wlan.c ret = set_bssid(usbdev, params->bssid); usbdev 2344 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "join_ibss: set_bssid failed, %d\n", usbdev 2349 drivers/net/wireless/rndis_wlan.c clear_bssid(usbdev); usbdev 2360 drivers/net/wireless/rndis_wlan.c usbnet_purge_paused_rxq(usbdev); usbdev 2361 drivers/net/wireless/rndis_wlan.c usbnet_resume_rx(usbdev); usbdev 2363 drivers/net/wireless/rndis_wlan.c ret = set_essid(usbdev, &ssid); usbdev 2365 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "join_ibss: set_essid failed, %d\n", usbdev 2370 drivers/net/wireless/rndis_wlan.c disassociate(usbdev, true); usbdev 2378 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2380 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "cfg80211.leave_ibss()\n"); usbdev 2385 drivers/net/wireless/rndis_wlan.c return deauthenticate(usbdev); usbdev 2393 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2396 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(%i, %pM, %08x)\n", usbdev 2402 drivers/net/wireless/rndis_wlan.c return add_wep_key(usbdev, params->key, params->key_len, usbdev 2414 drivers/net/wireless/rndis_wlan.c return add_wpa_key(usbdev, params->key, params->key_len, usbdev 2418 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): unsupported cipher %08x\n", usbdev 2428 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2430 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(%i, %pM)\n", __func__, key_index, mac_addr); usbdev 2432 drivers/net/wireless/rndis_wlan.c return remove_key(usbdev, key_index, mac_addr); usbdev 2439 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2442 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(%i)\n", __func__, key_index); usbdev 2454 drivers/net/wireless/rndis_wlan.c return add_wep_key(usbdev, key.material, key.len, key_index); usbdev 2457 drivers/net/wireless/rndis_wlan.c static void rndis_fill_station_info(struct usbnet *usbdev, usbdev 2466 drivers/net/wireless/rndis_wlan.c ret = rndis_query_oid(usbdev, RNDIS_OID_GEN_LINK_SPEED, &linkspeed, &len); usbdev 2473 drivers/net/wireless/rndis_wlan.c ret = rndis_query_oid(usbdev, RNDIS_OID_802_11_RSSI, usbdev 2485 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2490 drivers/net/wireless/rndis_wlan.c rndis_fill_station_info(usbdev, sinfo); usbdev 2499 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2506 drivers/net/wireless/rndis_wlan.c rndis_fill_station_info(usbdev, sinfo); usbdev 2515 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2519 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(%pM, %08X:%08X:%08X:%08X)\n", __func__, usbdev 2524 drivers/net/wireless/rndis_wlan.c pmkids = get_device_pmkids(usbdev); usbdev 2530 drivers/net/wireless/rndis_wlan.c pmkids = update_pmkid(usbdev, pmkids, pmksa, wiphy->max_num_pmkids); usbdev 2536 drivers/net/wireless/rndis_wlan.c return set_device_pmkids(usbdev, pmkids); usbdev 2543 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2547 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(%pM, %08X:%08X:%08X:%08X)\n", __func__, usbdev 2552 drivers/net/wireless/rndis_wlan.c pmkids = get_device_pmkids(usbdev); usbdev 2558 drivers/net/wireless/rndis_wlan.c pmkids = remove_pmkid(usbdev, pmkids, pmksa, wiphy->max_num_pmkids); usbdev 2564 drivers/net/wireless/rndis_wlan.c return set_device_pmkids(usbdev, pmkids); usbdev 2570 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2573 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s()\n", __func__); usbdev 2580 drivers/net/wireless/rndis_wlan.c return rndis_set_oid(usbdev, RNDIS_OID_802_11_PMKID, usbdev 2588 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2596 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): %s, %d\n", __func__, usbdev 2611 drivers/net/wireless/rndis_wlan.c ret = rndis_set_oid(usbdev, RNDIS_OID_802_11_POWER_MODE, usbdev 2614 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): RNDIS_OID_802_11_POWER_MODE -> %d\n", usbdev 2633 drivers/net/wireless/rndis_wlan.c static void rndis_wlan_craft_connected_bss(struct usbnet *usbdev, u8 *bssid, usbdev 2636 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 2651 drivers/net/wireless/rndis_wlan.c ret = rndis_query_oid(usbdev, RNDIS_OID_802_11_RSSI, usbdev 2655 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): RNDIS_OID_802_11_RSSI -> %d, " usbdev 2669 drivers/net/wireless/rndis_wlan.c channel = get_current_channel(usbdev, &beacon_period); usbdev 2671 drivers/net/wireless/rndis_wlan.c netdev_warn(usbdev->net, "%s(): could not get channel.\n", usbdev 2679 drivers/net/wireless/rndis_wlan.c ret = rndis_query_oid(usbdev, RNDIS_OID_802_11_SSID, usbdev 2681 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): RNDIS_OID_802_11_SSID -> %d, len: %d, ssid: " usbdev 2697 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s(): channel:%d(freq), bssid:[%pM], tsf:%d, " usbdev 2713 drivers/net/wireless/rndis_wlan.c static void rndis_wlan_do_link_up_work(struct usbnet *usbdev) usbdev 2715 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 2746 drivers/net/wireless/rndis_wlan.c ret = get_association_info(usbdev, info, CONTROL_BUFFER_SIZE); usbdev 2790 drivers/net/wireless/rndis_wlan.c ret = get_bssid(usbdev, bssid); usbdev 2794 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "link up work: [%pM]%s\n", usbdev 2809 drivers/net/wireless/rndis_wlan.c rndis_check_bssid_list(usbdev, bssid, &match_bss); usbdev 2815 drivers/net/wireless/rndis_wlan.c rndis_wlan_craft_connected_bss(usbdev, bssid, info); usbdev 2820 drivers/net/wireless/rndis_wlan.c cfg80211_connect_result(usbdev->net, bssid, req_ie, usbdev 2825 drivers/net/wireless/rndis_wlan.c .channel = get_current_channel(usbdev, NULL), usbdev 2833 drivers/net/wireless/rndis_wlan.c cfg80211_roamed(usbdev->net, &roam_info, GFP_KERNEL); usbdev 2836 drivers/net/wireless/rndis_wlan.c cfg80211_ibss_joined(usbdev->net, bssid, usbdev 2837 drivers/net/wireless/rndis_wlan.c get_current_channel(usbdev, NULL), usbdev 2845 drivers/net/wireless/rndis_wlan.c usbnet_resume_rx(usbdev); usbdev 2846 drivers/net/wireless/rndis_wlan.c netif_carrier_on(usbdev->net); usbdev 2849 drivers/net/wireless/rndis_wlan.c static void rndis_wlan_do_link_down_work(struct usbnet *usbdev) usbdev 2851 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 2857 drivers/net/wireless/rndis_wlan.c deauthenticate(usbdev); usbdev 2859 drivers/net/wireless/rndis_wlan.c cfg80211_disconnected(usbdev->net, 0, NULL, 0, true, GFP_KERNEL); usbdev 2862 drivers/net/wireless/rndis_wlan.c netif_carrier_off(usbdev->net); usbdev 2869 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 2872 drivers/net/wireless/rndis_wlan.c rndis_wlan_do_link_up_work(usbdev); usbdev 2875 drivers/net/wireless/rndis_wlan.c rndis_wlan_do_link_down_work(usbdev); usbdev 2878 drivers/net/wireless/rndis_wlan.c set_multicast_list(usbdev); usbdev 2883 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = netdev_priv(dev); usbdev 2884 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 2893 drivers/net/wireless/rndis_wlan.c static void rndis_wlan_auth_indication(struct usbnet *usbdev, usbdev 2907 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "authentication indication: too short message (%i)\n", usbdev 2937 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "authentication indication: %s (0x%08x)\n", usbdev 2944 drivers/net/wireless/rndis_wlan.c cfg80211_michael_mic_failure(usbdev->net, usbdev 2954 drivers/net/wireless/rndis_wlan.c cfg80211_michael_mic_failure(usbdev->net, usbdev 2965 drivers/net/wireless/rndis_wlan.c static void rndis_wlan_pmkid_cand_list_indication(struct usbnet *usbdev, usbdev 2974 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "pmkid candidate list indication: too short message (%i)\n", usbdev 2985 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "pmkid candidate list indication: list larger than buffer (%i < %i)\n", usbdev 2992 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "pmkid candidate list indication: version %i, candidates %i\n", usbdev 3004 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "cand[%i]: flags: 0x%08x, preauth: %d, bssid: %pM\n", usbdev 3007 drivers/net/wireless/rndis_wlan.c cfg80211_pmksa_candidate_notify(usbdev->net, i, cand->bssid, usbdev 3012 drivers/net/wireless/rndis_wlan.c static void rndis_wlan_media_specific_indication(struct usbnet *usbdev, usbdev 3023 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "media specific indication, ignore too short message (%i < 8)\n", usbdev 3029 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "media specific indication, too large to fit to buffer (%i > %i)\n", usbdev 3038 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "radio state indication: %i\n", usbdev 3043 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "media stream mode indication: %i\n", usbdev 3048 drivers/net/wireless/rndis_wlan.c rndis_wlan_auth_indication(usbdev, indication, len); usbdev 3052 drivers/net/wireless/rndis_wlan.c rndis_wlan_pmkid_cand_list_indication(usbdev, indication, len); usbdev 3056 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "media specific indication: unknown status type 0x%08x\n", usbdev 3061 drivers/net/wireless/rndis_wlan.c static void rndis_wlan_indication(struct usbnet *usbdev, void *ind, int buflen) usbdev 3063 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 3074 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "ignored RNDIS_OID_802_11_ADD_KEY triggered 'media connect'\n"); usbdev 3078 drivers/net/wireless/rndis_wlan.c usbnet_pause_rx(usbdev); usbdev 3080 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "media connect\n"); usbdev 3088 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "media disconnect\n"); usbdev 3096 drivers/net/wireless/rndis_wlan.c rndis_wlan_media_specific_indication(usbdev, msg, buflen); usbdev 3100 drivers/net/wireless/rndis_wlan.c netdev_info(usbdev->net, "indication: 0x%08x\n", usbdev 3106 drivers/net/wireless/rndis_wlan.c static int rndis_wlan_get_caps(struct usbnet *usbdev, struct wiphy *wiphy) usbdev 3115 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 3119 drivers/net/wireless/rndis_wlan.c retval = rndis_query_oid(usbdev, usbdev 3145 drivers/net/wireless/rndis_wlan.c retval = rndis_query_oid(usbdev, usbdev 3149 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "RNDIS_OID_802_11_CAPABILITY -> len %d, " usbdev 3162 drivers/net/wireless/rndis_wlan.c static void rndis_do_cqm(struct usbnet *usbdev, s32 rssi) usbdev 3164 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 3185 drivers/net/wireless/rndis_wlan.c cfg80211_cqm_rssi_notify(usbdev->net, event, rssi, GFP_KERNEL); usbdev 3194 drivers/net/wireless/rndis_wlan.c struct usbnet *usbdev = priv->usbdev; usbdev 3204 drivers/net/wireless/rndis_wlan.c if (!is_associated(usbdev)) { usbdev 3211 drivers/net/wireless/rndis_wlan.c rndis_check_bssid_list(usbdev, NULL, NULL); usbdev 3214 drivers/net/wireless/rndis_wlan.c rndis_start_bssid_list_scan(usbdev); usbdev 3221 drivers/net/wireless/rndis_wlan.c ret = rndis_query_oid(usbdev, RNDIS_OID_802_11_RSSI, usbdev 3225 drivers/net/wireless/rndis_wlan.c rndis_do_cqm(usbdev, le32_to_cpu(rssi)); usbdev 3228 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "dev-poller: RNDIS_OID_802_11_RSSI -> %d, rssi:%d, qual: %d\n", usbdev 3250 drivers/net/wireless/rndis_wlan.c rndis_set_oid(usbdev, usbdev 3259 drivers/net/wireless/rndis_wlan.c rndis_query_oid(usbdev, usbdev 3281 drivers/net/wireless/rndis_wlan.c static void rndis_copy_module_params(struct usbnet *usbdev, int device_type) usbdev 3283 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 3329 drivers/net/wireless/rndis_wlan.c static int unknown_early_init(struct usbnet *usbdev) usbdev 3334 drivers/net/wireless/rndis_wlan.c rndis_copy_module_params(usbdev, RNDIS_UNKNOWN); usbdev 3342 drivers/net/wireless/rndis_wlan.c static int bcm4320a_early_init(struct usbnet *usbdev) usbdev 3347 drivers/net/wireless/rndis_wlan.c rndis_copy_module_params(usbdev, RNDIS_BCM4320A); usbdev 3356 drivers/net/wireless/rndis_wlan.c static int bcm4320b_early_init(struct usbnet *usbdev) usbdev 3358 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 3361 drivers/net/wireless/rndis_wlan.c rndis_copy_module_params(usbdev, RNDIS_BCM4320B); usbdev 3367 drivers/net/wireless/rndis_wlan.c rndis_set_config_parameter_str(usbdev, "Country", priv->param_country); usbdev 3368 drivers/net/wireless/rndis_wlan.c rndis_set_config_parameter_str(usbdev, "FrameBursting", usbdev 3370 drivers/net/wireless/rndis_wlan.c rndis_set_config_parameter_str(usbdev, "Afterburner", usbdev 3373 drivers/net/wireless/rndis_wlan.c rndis_set_config_parameter_str(usbdev, "PowerSaveMode", buf); usbdev 3375 drivers/net/wireless/rndis_wlan.c rndis_set_config_parameter_str(usbdev, "PwrOut", buf); usbdev 3377 drivers/net/wireless/rndis_wlan.c rndis_set_config_parameter_str(usbdev, "RoamTrigger", buf); usbdev 3379 drivers/net/wireless/rndis_wlan.c rndis_set_config_parameter_str(usbdev, "RoamDelta", buf); usbdev 3396 drivers/net/wireless/rndis_wlan.c static int rndis_wlan_bind(struct usbnet *usbdev, struct usb_interface *intf) usbdev 3412 drivers/net/wireless/rndis_wlan.c usbdev->net->ieee80211_ptr = &priv->wdev; usbdev 3419 drivers/net/wireless/rndis_wlan.c usbdev->driver_priv = priv; usbdev 3420 drivers/net/wireless/rndis_wlan.c priv->usbdev = usbdev; usbdev 3435 drivers/net/wireless/rndis_wlan.c retval = generic_rndis_bind(usbdev, intf, FLAG_RNDIS_PHYM_WIRELESS); usbdev 3446 drivers/net/wireless/rndis_wlan.c usbdev->net->netdev_ops = &rndis_wlan_netdev_ops; usbdev 3449 drivers/net/wireless/rndis_wlan.c retval = rndis_set_oid(usbdev, usbdev 3454 drivers/net/wireless/rndis_wlan.c retval = rndis_query_oid(usbdev, usbdev 3461 drivers/net/wireless/rndis_wlan.c usbdev->net->flags |= IFF_MULTICAST; usbdev 3463 drivers/net/wireless/rndis_wlan.c usbdev->net->flags &= ~IFF_MULTICAST; usbdev 3466 drivers/net/wireless/rndis_wlan.c memcpy(wiphy->perm_addr, usbdev->net->dev_addr, ETH_ALEN); usbdev 3473 drivers/net/wireless/rndis_wlan.c rndis_wlan_get_caps(usbdev, wiphy); usbdev 3489 drivers/net/wireless/rndis_wlan.c set_wiphy_dev(wiphy, &usbdev->udev->dev); usbdev 3496 drivers/net/wireless/rndis_wlan.c set_default_iw_params(usbdev); usbdev 3506 drivers/net/wireless/rndis_wlan.c disassociate(usbdev, false); usbdev 3507 drivers/net/wireless/rndis_wlan.c netif_carrier_off(usbdev->net); usbdev 3522 drivers/net/wireless/rndis_wlan.c static void rndis_wlan_unbind(struct usbnet *usbdev, struct usb_interface *intf) usbdev 3524 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 3527 drivers/net/wireless/rndis_wlan.c disassociate(usbdev, false); usbdev 3535 drivers/net/wireless/rndis_wlan.c rndis_unbind(usbdev, intf); usbdev 3541 drivers/net/wireless/rndis_wlan.c static int rndis_wlan_reset(struct usbnet *usbdev) usbdev 3543 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 3546 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s()\n", __func__); usbdev 3548 drivers/net/wireless/rndis_wlan.c retval = rndis_reset(usbdev); usbdev 3550 drivers/net/wireless/rndis_wlan.c netdev_warn(usbdev->net, "rndis_reset failed: %d\n", retval); usbdev 3554 drivers/net/wireless/rndis_wlan.c set_multicast_list(usbdev); usbdev 3559 drivers/net/wireless/rndis_wlan.c return deauthenticate(usbdev); usbdev 3562 drivers/net/wireless/rndis_wlan.c static int rndis_wlan_stop(struct usbnet *usbdev) usbdev 3564 drivers/net/wireless/rndis_wlan.c struct rndis_wlan_private *priv = get_rndis_wlan_priv(usbdev); usbdev 3568 drivers/net/wireless/rndis_wlan.c netdev_dbg(usbdev->net, "%s()\n", __func__); usbdev 3570 drivers/net/wireless/rndis_wlan.c retval = disassociate(usbdev, false); usbdev 3590 drivers/net/wireless/rndis_wlan.c rndis_set_oid(usbdev, RNDIS_OID_GEN_CURRENT_PACKET_FILTER, &filter, usbdev 59 drivers/net/wireless/rsi/rsi_91x_usb.c status = usb_bulk_msg(dev->usbdev, usbdev 60 drivers/net/wireless/rsi/rsi_91x_usb.c usb_sndbulkpipe(dev->usbdev, ep), usbdev 170 drivers/net/wireless/rsi/rsi_91x_usb.c static int rsi_usb_reg_read(struct usb_device *usbdev, usbdev 185 drivers/net/wireless/rsi/rsi_91x_usb.c status = usb_control_msg(usbdev, usbdev 186 drivers/net/wireless/rsi/rsi_91x_usb.c usb_rcvctrlpipe(usbdev, 0), usbdev 215 drivers/net/wireless/rsi/rsi_91x_usb.c static int rsi_usb_reg_write(struct usb_device *usbdev, usbdev 235 drivers/net/wireless/rsi/rsi_91x_usb.c status = usb_control_msg(usbdev, usbdev 236 drivers/net/wireless/rsi/rsi_91x_usb.c usb_sndctrlpipe(usbdev, 0), usbdev 333 drivers/net/wireless/rsi/rsi_91x_usb.c dev->usbdev, usbdev 334 drivers/net/wireless/rsi/rsi_91x_usb.c usb_rcvbulkpipe(dev->usbdev, usbdev 367 drivers/net/wireless/rsi/rsi_91x_usb.c status = usb_control_msg(dev->usbdev, usbdev 368 drivers/net/wireless/rsi/rsi_91x_usb.c usb_rcvctrlpipe(dev->usbdev, 0), usbdev 415 drivers/net/wireless/rsi/rsi_91x_usb.c status = usb_control_msg(dev->usbdev, usbdev 416 drivers/net/wireless/rsi/rsi_91x_usb.c usb_sndctrlpipe(dev->usbdev, 0), usbdev 468 drivers/net/wireless/rsi/rsi_91x_usb.c struct usb_device *usbdev = usbdev 469 drivers/net/wireless/rsi/rsi_91x_usb.c ((struct rsi_91x_usbdev *)adapter->rsi_dev)->usbdev; usbdev 473 drivers/net/wireless/rsi/rsi_91x_usb.c ret = rsi_usb_reg_read(usbdev, reg, &temp, len); usbdev 485 drivers/net/wireless/rsi/rsi_91x_usb.c struct usb_device *usbdev = usbdev 486 drivers/net/wireless/rsi/rsi_91x_usb.c ((struct rsi_91x_usbdev *)adapter->rsi_dev)->usbdev; usbdev 488 drivers/net/wireless/rsi/rsi_91x_usb.c return rsi_usb_reg_write(usbdev, reg, value, len); usbdev 616 drivers/net/wireless/rsi/rsi_91x_usb.c rsi_dev->usbdev = interface_to_usbdev(pfunction); usbdev 814 drivers/net/wireless/rsi/rsi_91x_usb.c status = rsi_usb_reg_read(dev->usbdev, FW_STATUS_REG, &fw_status, 2); usbdev 58 drivers/net/wireless/rsi/rsi_usb.h struct usb_device *usbdev; usbdev 275 drivers/staging/gdm724x/gdm_mux.c struct usb_device *usbdev = mux_dev->usbdev; usbdev 281 drivers/staging/gdm724x/gdm_mux.c if (!usbdev) { usbdev 298 drivers/staging/gdm724x/gdm_mux.c usbdev, usbdev 299 drivers/staging/gdm724x/gdm_mux.c usb_rcvbulkpipe(usbdev, 0x86), usbdev 321 drivers/staging/gdm724x/gdm_mux.c usb_mark_last_busy(usbdev); usbdev 346 drivers/staging/gdm724x/gdm_mux.c struct usb_device *usbdev = mux_dev->usbdev; usbdev 386 drivers/staging/gdm724x/gdm_mux.c usbdev, usbdev 387 drivers/staging/gdm724x/gdm_mux.c usb_sndbulkpipe(usbdev, 5), usbdev 400 drivers/staging/gdm724x/gdm_mux.c usb_mark_last_busy(usbdev); usbdev 409 drivers/staging/gdm724x/gdm_mux.c struct usb_device *usbdev = mux_dev->usbdev; usbdev 412 drivers/staging/gdm724x/gdm_mux.c ret = usb_control_msg(usbdev, usbdev 413 drivers/staging/gdm724x/gdm_mux.c usb_sndctrlpipe(usbdev, 0), usbdev 502 drivers/staging/gdm724x/gdm_mux.c struct usb_device *usbdev = interface_to_usbdev(intf); usbdev 506 drivers/staging/gdm724x/gdm_mux.c idVendor = __le16_to_cpu(usbdev->descriptor.idVendor); usbdev 507 drivers/staging/gdm724x/gdm_mux.c idProduct = __le16_to_cpu(usbdev->descriptor.idProduct); usbdev 524 drivers/staging/gdm724x/gdm_mux.c mux_dev->usbdev = usbdev; usbdev 546 drivers/staging/gdm724x/gdm_mux.c usb_get_dev(usbdev); usbdev 566 drivers/staging/gdm724x/gdm_mux.c struct usb_device *usbdev = interface_to_usbdev(intf); usbdev 578 drivers/staging/gdm724x/gdm_mux.c usb_put_dev(usbdev); usbdev 69 drivers/staging/gdm724x/gdm_mux.h struct usb_device *usbdev; usbdev 61 drivers/staging/gdm724x/gdm_usb.c struct usb_device *usbdev = udev->usbdev; usbdev 69 drivers/staging/gdm724x/gdm_usb.c ret = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 2), buf, 5, usbdev 459 drivers/staging/gdm724x/gdm_usb.c struct usb_device *usbdev = udev->usbdev; usbdev 476 drivers/staging/gdm724x/gdm_usb.c usb_mark_last_busy(usbdev); usbdev 486 drivers/staging/gdm724x/gdm_usb.c struct usb_device *usbdev = udev->usbdev; usbdev 493 drivers/staging/gdm724x/gdm_usb.c if (!udev->usbdev) { usbdev 511 drivers/staging/gdm724x/gdm_usb.c usbdev, usbdev 512 drivers/staging/gdm724x/gdm_usb.c usb_rcvbulkpipe(usbdev, 0x83), usbdev 562 drivers/staging/gdm724x/gdm_usb.c static int send_tx_packet(struct usb_device *usbdev, struct usb_tx *t, u32 len) usbdev 570 drivers/staging/gdm724x/gdm_usb.c usbdev, usbdev 571 drivers/staging/gdm724x/gdm_usb.c usb_sndbulkpipe(usbdev, 2), usbdev 580 drivers/staging/gdm724x/gdm_usb.c dev_err(&usbdev->dev, "usb_submit_urb failed: %d\n", usbdev 583 drivers/staging/gdm724x/gdm_usb.c usb_mark_last_busy(usbdev); usbdev 638 drivers/staging/gdm724x/gdm_usb.c struct usb_device *usbdev = udev->usbdev; usbdev 692 drivers/staging/gdm724x/gdm_usb.c if (send_tx_packet(usbdev, t, len)) { usbdev 713 drivers/staging/gdm724x/gdm_usb.c if (!udev->usbdev) { usbdev 766 drivers/staging/gdm724x/gdm_usb.c if (!udev->usbdev) { usbdev 807 drivers/staging/gdm724x/gdm_usb.c struct usb_device *usbdev = interface_to_usbdev(intf); usbdev 810 drivers/staging/gdm724x/gdm_usb.c idVendor = __le16_to_cpu(usbdev->descriptor.idVendor); usbdev 811 drivers/staging/gdm724x/gdm_usb.c idProduct = __le16_to_cpu(usbdev->descriptor.idProduct); usbdev 836 drivers/staging/gdm724x/gdm_usb.c udev->usbdev = usbdev; usbdev 845 drivers/staging/gdm724x/gdm_usb.c usb_enable_autosuspend(usbdev); usbdev 846 drivers/staging/gdm724x/gdm_usb.c pm_runtime_set_autosuspend_delay(&usbdev->dev, AUTO_SUSPEND_TIMER); usbdev 863 drivers/staging/gdm724x/gdm_usb.c usb_get_dev(usbdev); usbdev 882 drivers/staging/gdm724x/gdm_usb.c struct usb_device *usbdev; usbdev 884 drivers/staging/gdm724x/gdm_usb.c usbdev = interface_to_usbdev(intf); usbdev 898 drivers/staging/gdm724x/gdm_usb.c usb_put_dev(usbdev); usbdev 85 drivers/staging/gdm724x/gdm_usb.h struct usb_device *usbdev; usbdev 471 drivers/usb/core/devices.c struct usb_device *usbdev, struct usb_bus *bus, usbdev 494 drivers/usb/core/devices.c if (usbdev->parent && usbdev->parent->devnum != -1) usbdev 495 drivers/usb/core/devices.c parent_devnum = usbdev->parent->devnum; usbdev 500 drivers/usb/core/devices.c switch (usbdev->speed) { usbdev 518 drivers/usb/core/devices.c index, count, usbdev->devnum, usbdev 519 drivers/usb/core/devices.c speed, usbdev->maxchild); usbdev 531 drivers/usb/core/devices.c if (usbdev->speed == USB_SPEED_HIGH || usbdev 532 drivers/usb/core/devices.c usbdev->speed >= USB_SPEED_SUPER) usbdev 550 drivers/usb/core/devices.c usbdev); usbdev 576 drivers/usb/core/devices.c usb_hub_for_each_child(usbdev, chix, childdev) { usbdev 48 drivers/usb/misc/uss720.c struct usb_device *usbdev; usbdev 72 drivers/usb/misc/uss720.c dev_dbg(&priv->usbdev->dev, "destroying priv datastructure\n"); usbdev 73 drivers/usb/misc/uss720.c usb_put_dev(priv->usbdev); usbdev 111 drivers/usb/misc/uss720.c dev_dbg(&priv->usbdev->dev, "async_complete regs %7ph\n", usbdev 126 drivers/usb/misc/uss720.c struct usb_device *usbdev; usbdev 133 drivers/usb/misc/uss720.c usbdev = priv->usbdev; usbdev 134 drivers/usb/misc/uss720.c if (!usbdev) usbdev 159 drivers/usb/misc/uss720.c usb_fill_control_urb(rq->urb, usbdev, (requesttype & 0x80) ? usb_rcvctrlpipe(usbdev, 0) : usb_sndctrlpipe(usbdev, 0), usbdev 171 drivers/usb/misc/uss720.c dev_err(&usbdev->dev, "submit_async_request submit_urb failed with %d\n", ret); usbdev 206 drivers/usb/misc/uss720.c dev_err(&priv->usbdev->dev, "get_1284_register(%u) failed", usbdev 238 drivers/usb/misc/uss720.c dev_err(&priv->usbdev->dev, "set_1284_register(%u,%u) failed", usbdev 503 drivers/usb/misc/uss720.c struct usb_device *usbdev = priv->usbdev; usbdev 507 drivers/usb/misc/uss720.c if (!usbdev) usbdev 511 drivers/usb/misc/uss720.c i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buf, length, &rlen, 20000); usbdev 564 drivers/usb/misc/uss720.c struct usb_device *usbdev = priv->usbdev; usbdev 568 drivers/usb/misc/uss720.c if (!usbdev) usbdev 572 drivers/usb/misc/uss720.c i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, 20000); usbdev 582 drivers/usb/misc/uss720.c struct usb_device *usbdev = priv->usbdev; usbdev 586 drivers/usb/misc/uss720.c if (!usbdev) usbdev 590 drivers/usb/misc/uss720.c i = usb_bulk_msg(usbdev, usb_rcvbulkpipe(usbdev, 2), buffer, len, &rlen, 20000); usbdev 615 drivers/usb/misc/uss720.c struct usb_device *usbdev = priv->usbdev; usbdev 619 drivers/usb/misc/uss720.c if (!usbdev) usbdev 623 drivers/usb/misc/uss720.c i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, 20000); usbdev 673 drivers/usb/misc/uss720.c struct usb_device *usbdev = usb_get_dev(interface_to_usbdev(intf)); usbdev 682 drivers/usb/misc/uss720.c le16_to_cpu(usbdev->descriptor.idVendor), usbdev 683 drivers/usb/misc/uss720.c le16_to_cpu(usbdev->descriptor.idProduct)); usbdev 687 drivers/usb/misc/uss720.c usb_put_dev(usbdev); usbdev 690 drivers/usb/misc/uss720.c i = usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 2); usbdev 696 drivers/usb/misc/uss720.c usb_put_dev(usbdev); usbdev 705 drivers/usb/misc/uss720.c usb_put_dev(usbdev); usbdev 709 drivers/usb/misc/uss720.c priv->usbdev = usbdev; usbdev 756 drivers/usb/misc/uss720.c priv->usbdev = NULL; usbdev 197 drivers/usb/serial/mos7720.c struct usb_device *usbdev = serial->dev; usbdev 198 drivers/usb/serial/mos7720.c unsigned int pipe = usb_sndctrlpipe(usbdev, 0); usbdev 203 drivers/usb/serial/mos7720.c int status = usb_control_msg(usbdev, pipe, request, requesttype, value, usbdev 206 drivers/usb/serial/mos7720.c dev_err(&usbdev->dev, usbdev 219 drivers/usb/serial/mos7720.c struct usb_device *usbdev = serial->dev; usbdev 220 drivers/usb/serial/mos7720.c unsigned int pipe = usb_rcvctrlpipe(usbdev, 0); usbdev 232 drivers/usb/serial/mos7720.c status = usb_control_msg(usbdev, pipe, request, requesttype, value, usbdev 237 drivers/usb/serial/mos7720.c dev_err(&usbdev->dev, usbdev 362 drivers/usb/serial/mos7720.c struct usb_device *usbdev = serial->dev; usbdev 385 drivers/usb/serial/mos7720.c usb_fill_control_urb(urbtrack->urb, usbdev, usbdev 386 drivers/usb/serial/mos7720.c usb_sndctrlpipe(usbdev, 0), usbdev 404 drivers/usb/serial/mos7720.c dev_dbg(&usbdev->dev, "tasklet scheduled\n"); usbdev 422 drivers/usb/serial/mos7720.c dev_err(&usbdev->dev, usbdev 131 drivers/usb/serial/upd78f0730.c struct usb_device *usbdev = port->serial->dev; usbdev 142 drivers/usb/serial/upd78f0730.c res = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), 0x00, usbdev 1611 drivers/video/fbdev/smscufx.c struct usb_device *usbdev; usbdev 1618 drivers/video/fbdev/smscufx.c usbdev = interface_to_usbdev(interface); usbdev 1619 drivers/video/fbdev/smscufx.c BUG_ON(!usbdev); usbdev 1623 drivers/video/fbdev/smscufx.c dev_err(&usbdev->dev, "ufx_usb_probe: failed alloc of dev struct\n"); usbdev 1631 drivers/video/fbdev/smscufx.c dev->udev = usbdev; usbdev 1632 drivers/video/fbdev/smscufx.c dev->gdev = &usbdev->dev; /* our generic struct device * */ usbdev 1636 drivers/video/fbdev/smscufx.c usbdev->manufacturer, usbdev->product, usbdev->serial); usbdev 1638 drivers/video/fbdev/smscufx.c le16_to_cpu(usbdev->descriptor.idVendor), usbdev 1639 drivers/video/fbdev/smscufx.c le16_to_cpu(usbdev->descriptor.idProduct), usbdev 1640 drivers/video/fbdev/smscufx.c le16_to_cpu(usbdev->descriptor.bcdDevice), dev); usbdev 1652 drivers/video/fbdev/smscufx.c info = framebuffer_alloc(0, &usbdev->dev); usbdev 1653 drivers/video/fbdev/udlfb.c struct usb_device *usbdev = interface_to_usbdev(intf); usbdev 1664 drivers/video/fbdev/udlfb.c dlfb->udev = usb_get_dev(usbdev); usbdev 129 net/caif/caif_usb.c struct usb_device *usbdev; usbdev 137 net/caif/caif_usb.c usbdev = usbnet->udev; usbdev 140 net/caif/caif_usb.c le16_to_cpu(usbdev->descriptor.idVendor), usbdev 141 net/caif/caif_usb.c le16_to_cpu(usbdev->descriptor.idProduct)); usbdev 144 net/caif/caif_usb.c if (!(le16_to_cpu(usbdev->descriptor.idVendor) == STE_USB_VID && usbdev 145 net/caif/caif_usb.c le16_to_cpu(usbdev->descriptor.idProduct) == STE_USB_PID_CAIF)) usbdev 279 sound/usb/line6/capture.c urb->dev = line6->usbdev; usbdev 281 sound/usb/line6/capture.c usb_rcvisocpipe(line6->usbdev, usbdev 67 sound/usb/line6/driver.c usb_fill_int_urb(line6->urb_listen, line6->usbdev, usbdev 68 sound/usb/line6/driver.c usb_rcvintpipe(line6->usbdev, line6->properties->ep_ctrl_r), usbdev 72 sound/usb/line6/driver.c usb_fill_bulk_urb(line6->urb_listen, line6->usbdev, usbdev 73 sound/usb/line6/driver.c usb_rcvbulkpipe(line6->usbdev, line6->properties->ep_ctrl_r), usbdev 113 sound/usb/line6/driver.c retval = usb_interrupt_msg(line6->usbdev, usbdev 114 sound/usb/line6/driver.c usb_sndintpipe(line6->usbdev, properties->ep_ctrl_w), usbdev 118 sound/usb/line6/driver.c retval = usb_bulk_msg(line6->usbdev, usbdev 119 sound/usb/line6/driver.c usb_sndbulkpipe(line6->usbdev, properties->ep_ctrl_w), usbdev 162 sound/usb/line6/driver.c usb_fill_int_urb(urb, line6->usbdev, usbdev 163 sound/usb/line6/driver.c usb_sndintpipe(line6->usbdev, line6->properties->ep_ctrl_w), usbdev 167 sound/usb/line6/driver.c usb_fill_bulk_urb(urb, line6->usbdev, usbdev 168 sound/usb/line6/driver.c usb_sndbulkpipe(line6->usbdev, line6->properties->ep_ctrl_w), usbdev 337 sound/usb/line6/driver.c struct usb_device *usbdev = line6->usbdev; usbdev 350 sound/usb/line6/driver.c ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), 0x67, usbdev 364 sound/usb/line6/driver.c ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), 0x67, usbdev 393 sound/usb/line6/driver.c ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), 0x67, usbdev 413 sound/usb/line6/driver.c struct usb_device *usbdev = line6->usbdev; usbdev 425 sound/usb/line6/driver.c ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), 0x67, usbdev 439 sound/usb/line6/driver.c ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), usbdev 487 sound/usb/line6/driver.c struct usb_device *usbdev = line6->usbdev; usbdev 501 sound/usb/line6/driver.c usb_put_dev(usbdev); usbdev 506 sound/usb/line6/driver.c struct usb_device *usbdev = line6->usbdev; usbdev 513 sound/usb/line6/driver.c pipe = usb_rcvintpipe(line6->usbdev, usbdev 516 sound/usb/line6/driver.c pipe = usb_rcvbulkpipe(line6->usbdev, usbdev 519 sound/usb/line6/driver.c ep = usbdev->ep_in[usb_pipeendpoint(pipe)]; usbdev 536 sound/usb/line6/driver.c if (usbdev->speed == USB_SPEED_LOW) { usbdev 727 sound/usb/line6/driver.c struct usb_device *usbdev = interface_to_usbdev(interface); usbdev 737 sound/usb/line6/driver.c if (usbdev->descriptor.bNumConfigurations != 1) usbdev 750 sound/usb/line6/driver.c line6->usbdev = usbdev; usbdev 764 sound/usb/line6/driver.c usb_get_dev(usbdev); usbdev 773 sound/usb/line6/driver.c ret = usb_set_interface(usbdev, interface_number, usbdev 815 sound/usb/line6/driver.c struct usb_device *usbdev = interface_to_usbdev(interface); usbdev 820 sound/usb/line6/driver.c if (WARN_ON(usbdev != line6->usbdev)) usbdev 119 sound/usb/line6/driver.h struct usb_device *usbdev; usbdev 123 sound/usb/line6/midi.c usb_fill_int_urb(urb, line6->usbdev, usbdev 124 sound/usb/line6/midi.c usb_sndintpipe(line6->usbdev, usbdev 563 sound/usb/line6/pcm.c usb_maxpacket(line6->usbdev, usbdev 564 sound/usb/line6/pcm.c usb_rcvisocpipe(line6->usbdev, ep_read), 0); usbdev 566 sound/usb/line6/pcm.c usb_maxpacket(line6->usbdev, usbdev 567 sound/usb/line6/pcm.c usb_sndisocpipe(line6->usbdev, ep_write), 1); usbdev 424 sound/usb/line6/playback.c urb->dev = line6->usbdev; usbdev 426 sound/usb/line6/playback.c usb_sndisocpipe(line6->usbdev, usbdev 184 sound/usb/line6/podhd.c struct usb_device *usbdev = pod->line6.usbdev; usbdev 190 sound/usb/line6/podhd.c ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), usbdev 200 sound/usb/line6/podhd.c ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), 0x67, usbdev 219 sound/usb/line6/podhd.c ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), usbdev 246 sound/usb/line6/podhd.c intf = usb_ifnum_to_if(line6->usbdev, usbdev 268 sound/usb/line6/podhd.c intf = usb_ifnum_to_if(line6->usbdev, usbdev 62 sound/usb/line6/toneport.c static int toneport_send_cmd(struct usb_device *usbdev, int cmd1, int cmd2); usbdev 125 sound/usb/line6/toneport.c static int toneport_send_cmd(struct usb_device *usbdev, int cmd1, int cmd2) usbdev 129 sound/usb/line6/toneport.c ret = usb_control_msg(usbdev, usb_sndctrlpipe(usbdev, 0), 0x67, usbdev 134 sound/usb/line6/toneport.c dev_err(&usbdev->dev, "send failed (error %d)\n", ret); usbdev 233 sound/usb/line6/toneport.c toneport_send_cmd(toneport->line6.usbdev, usbdev 290 sound/usb/line6/toneport.c toneport_send_cmd(toneport->line6.usbdev, usbdev 305 sound/usb/line6/toneport.c struct device *dev = &toneport->line6.usbdev->dev; usbdev 363 sound/usb/line6/toneport.c struct usb_device *usbdev = line6->usbdev; usbdev 376 sound/usb/line6/toneport.c toneport_send_cmd(usbdev, 0x0301, 0x0000); usbdev 380 sound/usb/line6/toneport.c toneport_send_cmd(usbdev, usbdev 258 sound/usb/media.c struct usb_device *usbdev = interface_to_usbdev(iface); usbdev 271 sound/usb/media.c mdev = media_device_usb_allocate(usbdev, KBUILD_MODNAME, THIS_MODULE); usbdev 283 sound/usb/media.c dev_err(&usbdev->dev, usbdev 300 sound/usb/media.c dev_err(&usbdev->dev,