Lines Matching refs:usb_dev

51 	struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev);  in rt2x00usb_vendor_request()  local
55 usb_rcvctrlpipe(usb_dev, 0) : usb_sndctrlpipe(usb_dev, 0); in rt2x00usb_vendor_request()
62 status = usb_control_msg(usb_dev, pipe, request, requesttype, in rt2x00usb_vendor_request()
195 struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev); in rt2x00usb_register_read_async() local
217 usb_fill_control_urb(urb, usb_dev, usb_rcvctrlpipe(usb_dev, 0), in rt2x00usb_register_read_async()
299 struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev); in rt2x00usb_kick_tx_entry() local
325 usb_fill_bulk_urb(entry_priv->urb, usb_dev, in rt2x00usb_kick_tx_entry()
326 usb_sndbulkpipe(usb_dev, entry->queue->usb_endpoint), in rt2x00usb_kick_tx_entry()
402 struct usb_device *usb_dev = to_usb_device_intf(rt2x00dev->dev); in rt2x00usb_kick_rx_entry() local
411 usb_fill_bulk_urb(entry_priv->urb, usb_dev, in rt2x00usb_kick_rx_entry()
412 usb_rcvbulkpipe(usb_dev, entry->queue->usb_endpoint), in rt2x00usb_kick_rx_entry()
582 struct usb_device *usb_dev = to_usb_device_intf(queue->rt2x00dev->dev); in rt2x00usb_assign_endpoint() local
588 pipe = usb_rcvbulkpipe(usb_dev, queue->usb_endpoint); in rt2x00usb_assign_endpoint()
589 queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe); in rt2x00usb_assign_endpoint()
591 pipe = usb_sndbulkpipe(usb_dev, queue->usb_endpoint); in rt2x00usb_assign_endpoint()
592 queue->usb_maxpacket = usb_maxpacket(usb_dev, pipe); in rt2x00usb_assign_endpoint()
800 struct usb_device *usb_dev = interface_to_usbdev(usb_intf); in rt2x00usb_probe() local
805 usb_dev = usb_get_dev(usb_dev); in rt2x00usb_probe()
806 usb_reset_device(usb_dev); in rt2x00usb_probe()
833 rt2x00dev->anchor = devm_kmalloc(&usb_dev->dev, in rt2x00usb_probe()
858 usb_put_dev(usb_dev); in rt2x00usb_probe()