Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/drivers/net/wireless/ath/ath6kl/
Dusb.c133 struct ath6kl_urb_context *urb_context = NULL; in ath6kl_usb_alloc_urb_from_pipe() local
142 urb_context = in ath6kl_usb_alloc_urb_from_pipe()
145 list_del(&urb_context->link); in ath6kl_usb_alloc_urb_from_pipe()
150 return urb_context; in ath6kl_usb_alloc_urb_from_pipe()
154 struct ath6kl_urb_context *urb_context) in ath6kl_usb_free_urb_to_pipe() argument
165 list_add(&urb_context->link, &pipe->urb_list_head); in ath6kl_usb_free_urb_to_pipe()
169 static void ath6kl_usb_cleanup_recv_urb(struct ath6kl_urb_context *urb_context) in ath6kl_usb_cleanup_recv_urb() argument
171 dev_kfree_skb(urb_context->skb); in ath6kl_usb_cleanup_recv_urb()
172 urb_context->skb = NULL; in ath6kl_usb_cleanup_recv_urb()
174 ath6kl_usb_free_urb_to_pipe(urb_context->pipe, urb_context); in ath6kl_usb_cleanup_recv_urb()
[all …]
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Dusb.h48 struct urb_context { struct
78 struct urb_context tx_data_list[MWIFIEX_TX_DATA_URB];
92 struct urb_context rx_cmd;
94 struct urb_context rx_data_list[MWIFIEX_RX_DATA_URB];
101 struct urb_context tx_cmd;
Dusb.c41 static int mwifiex_usb_submit_rx_urb(struct urb_context *ctx, int size);
154 struct urb_context *context = (struct urb_context *)urb->context; in mwifiex_usb_rx_complete()
247 struct urb_context *context = (struct urb_context *)(urb->context); in mwifiex_usb_tx_complete()
285 static int mwifiex_usb_submit_rx_urb(struct urb_context *ctx, int size) in mwifiex_usb_submit_rx_urb()
812 struct urb_context *context, in mwifiex_usb_construct_send_urb()
964 struct urb_context *context = NULL; in mwifiex_usb_aggr_tx_data()
1130 struct urb_context *urb_cnxt = NULL; in mwifiex_usb_tx_aggr_tmo()
1174 struct urb_context *context = NULL; in mwifiex_usb_host_to_card()
1576 struct urb_context *ctx; in mwifiex_usb_submit_rem_rx_urbs()