Searched refs:_urb (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
H A Dusb.c617 static void _rtl_rx_completed(struct urb *_urb) _rtl_rx_completed() argument
619 struct rtl_usb *rtlusb = (struct rtl_usb *)_urb->context; _rtl_rx_completed()
627 if (likely(0 == _urb->status)) { _rtl_rx_completed()
631 unsigned int size = _urb->actual_length; _rtl_rx_completed()
649 hdr = (void *)(_urb->transfer_buffer + RTL_RX_DESC_SIZE); _rtl_rx_completed()
667 memcpy(skb_put(skb, size), _urb->transfer_buffer, size); _rtl_rx_completed()
675 switch (_urb->status) { _rtl_rx_completed()
687 usb_anchor_urb(_urb, &rtlusb->rx_submitted); _rtl_rx_completed()
688 err = usb_submit_urb(_urb, GFP_ATOMIC); _rtl_rx_completed()
690 usb_unanchor_urb(_urb); _rtl_rx_completed()
699 usb_anchor_urb(_urb, &rtlusb->rx_cleanup_urbs); _rtl_rx_completed()
846 static void _rtl_submit_tx_urb(struct ieee80211_hw *hw, struct urb *_urb) _rtl_submit_tx_urb() argument
852 usb_anchor_urb(_urb, &rtlusb->tx_submitted); _rtl_submit_tx_urb()
853 err = usb_submit_urb(_urb, GFP_ATOMIC); _rtl_submit_tx_urb()
859 usb_unanchor_urb(_urb); _rtl_submit_tx_urb()
860 skb = (struct sk_buff *)_urb->context; _rtl_submit_tx_urb()
863 usb_free_urb(_urb); _rtl_submit_tx_urb()
912 struct urb *_urb; _rtl_usb_tx_urb_setup() local
915 _urb = usb_alloc_urb(0, GFP_ATOMIC); _rtl_usb_tx_urb_setup()
916 if (!_urb) { _rtl_usb_tx_urb_setup()
923 usb_fill_bulk_urb(_urb, rtlusb->udev, usb_sndbulkpipe(rtlusb->udev, _rtl_usb_tx_urb_setup()
925 _urb->transfer_flags |= URB_ZERO_PACKET; _rtl_usb_tx_urb_setup()
926 return _urb; _rtl_usb_tx_urb_setup()
935 struct urb *_urb = NULL; _rtl_usb_transmit() local
947 _urb = _rtl_usb_tx_urb_setup(hw, _skb, ep_num); _rtl_usb_transmit()
948 if (unlikely(!_urb)) { _rtl_usb_transmit()
954 _rtl_submit_tx_urb(hw, _urb); _rtl_usb_transmit()
/linux-4.4.14/include/linux/
H A Dusb.h1345 * Initialization may be done using various usb_fill_*_urb() functions. URBs

Completed in 122 milliseconds