Home
last modified time | relevance | path

Searched refs:urb_context (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dusb.c38 struct ath10k_urb_context *urb_context = NULL; in ath10k_usb_alloc_urb_from_pipe() local
47 urb_context = list_first_entry(&pipe->urb_list_head, in ath10k_usb_alloc_urb_from_pipe()
49 list_del(&urb_context->link); in ath10k_usb_alloc_urb_from_pipe()
54 return urb_context; in ath10k_usb_alloc_urb_from_pipe()
58 struct ath10k_urb_context *urb_context) in ath10k_usb_free_urb_to_pipe() argument
69 list_add(&urb_context->link, &pipe->urb_list_head); in ath10k_usb_free_urb_to_pipe()
74 static void ath10k_usb_cleanup_recv_urb(struct ath10k_urb_context *urb_context) in ath10k_usb_cleanup_recv_urb() argument
76 dev_kfree_skb(urb_context->skb); in ath10k_usb_cleanup_recv_urb()
77 urb_context->skb = NULL; in ath10k_usb_cleanup_recv_urb()
79 ath10k_usb_free_urb_to_pipe(urb_context->pipe, urb_context); in ath10k_usb_cleanup_recv_urb()
[all …]
/Linux-v5.10/drivers/net/wireless/ath/ath6kl/
Dusb.c132 struct ath6kl_urb_context *urb_context = NULL; in ath6kl_usb_alloc_urb_from_pipe() local
141 urb_context = in ath6kl_usb_alloc_urb_from_pipe()
144 list_del(&urb_context->link); in ath6kl_usb_alloc_urb_from_pipe()
149 return urb_context; in ath6kl_usb_alloc_urb_from_pipe()
153 struct ath6kl_urb_context *urb_context) in ath6kl_usb_free_urb_to_pipe() argument
164 list_add(&urb_context->link, &pipe->urb_list_head); in ath6kl_usb_free_urb_to_pipe()
168 static void ath6kl_usb_cleanup_recv_urb(struct ath6kl_urb_context *urb_context) in ath6kl_usb_cleanup_recv_urb() argument
170 dev_kfree_skb(urb_context->skb); in ath6kl_usb_cleanup_recv_urb()
171 urb_context->skb = NULL; in ath6kl_usb_cleanup_recv_urb()
173 ath6kl_usb_free_urb_to_pipe(urb_context->pipe, urb_context); in ath6kl_usb_cleanup_recv_urb()
[all …]
/Linux-v5.10/drivers/net/wireless/marvell/mwifiex/
Dusb.h60 struct urb_context { struct
90 struct urb_context tx_data_list[MWIFIEX_TX_DATA_URB];
104 struct urb_context rx_cmd;
106 struct urb_context rx_data_list[MWIFIEX_RX_DATA_URB];
113 struct urb_context tx_cmd;
Dusb.c53 static int mwifiex_usb_submit_rx_urb(struct urb_context *ctx, int size);
165 struct urb_context *context = (struct urb_context *)urb->context; in mwifiex_usb_rx_complete()
258 struct urb_context *context = (struct urb_context *)(urb->context); in mwifiex_usb_tx_complete()
296 static int mwifiex_usb_submit_rx_urb(struct urb_context *ctx, int size) in mwifiex_usb_submit_rx_urb()
807 struct urb_context *context, in mwifiex_usb_construct_send_urb()
959 struct urb_context *context = NULL; in mwifiex_usb_aggr_tx_data()
1125 struct urb_context *urb_cnxt = NULL; in mwifiex_usb_tx_aggr_tmo()
1169 struct urb_context *context = NULL; in mwifiex_usb_host_to_card()
1571 struct urb_context *ctx; in mwifiex_usb_submit_rem_rx_urbs()