Home
last modified time | relevance | path

Searched refs:precvbuf (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8712/
Drecv_linux.c41 struct recv_buf *precvbuf) in r8712_os_recvbuf_resource_alloc() argument
45 precvbuf->irp_pending = false; in r8712_os_recvbuf_resource_alloc()
46 precvbuf->purb = usb_alloc_urb(0, GFP_KERNEL); in r8712_os_recvbuf_resource_alloc()
47 if (!precvbuf->purb) in r8712_os_recvbuf_resource_alloc()
49 precvbuf->pskb = NULL; in r8712_os_recvbuf_resource_alloc()
50 precvbuf->pallocated_buf = NULL; in r8712_os_recvbuf_resource_alloc()
51 precvbuf->pbuf = NULL; in r8712_os_recvbuf_resource_alloc()
52 precvbuf->pdata = NULL; in r8712_os_recvbuf_resource_alloc()
53 precvbuf->phead = NULL; in r8712_os_recvbuf_resource_alloc()
54 precvbuf->ptail = NULL; in r8712_os_recvbuf_resource_alloc()
[all …]
Dusb_ops_linux.c185 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in r8712_usb_read_port_complete() local
186 struct _adapter *padapter = (struct _adapter *)precvbuf->adapter; in r8712_usb_read_port_complete()
195 (unsigned char *)precvbuf); in r8712_usb_read_port_complete()
197 _pkt *pskb = precvbuf->pskb; in r8712_usb_read_port_complete()
199 precvbuf->transfer_len = purb->actual_length; in r8712_usb_read_port_complete()
200 pbuf = (__le32 *)precvbuf->pbuf; in r8712_usb_read_port_complete()
206 0, (unsigned char *)precvbuf); in r8712_usb_read_port_complete()
212 0, (unsigned char *)precvbuf); in r8712_usb_read_port_complete()
231 (unsigned char *)precvbuf); in r8712_usb_read_port_complete()
250 struct recv_buf *precvbuf = (struct recv_buf *)rmem; in r8712_usb_read_port() local
[all …]
Drtl8712_recv.c37 struct recv_buf *precvbuf; in r8712_init_recv_priv() local
50 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in r8712_init_recv_priv()
52 INIT_LIST_HEAD(&precvbuf->list); in r8712_init_recv_priv()
53 spin_lock_init(&precvbuf->recvbuf_lock); in r8712_init_recv_priv()
54 if (r8712_os_recvbuf_resource_alloc(padapter, precvbuf)) in r8712_init_recv_priv()
56 precvbuf->ref_cnt = 0; in r8712_init_recv_priv()
57 precvbuf->adapter = padapter; in r8712_init_recv_priv()
58 list_add_tail(&precvbuf->list, in r8712_init_recv_priv()
60 precvbuf++; in r8712_init_recv_priv()
83 struct recv_buf *precvbuf; in r8712_free_recv_priv() local
[all …]
Drecv_osdep.h34 struct recv_buf *precvbuf);
36 struct recv_buf *precvbuf);
Drtl8712_recv.h126 void *precvbuf; member
139 void r8712_init_recvbuf(struct _adapter *padapter, struct recv_buf *precvbuf);
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c13 static void initrecvbuf(struct recv_buf *precvbuf, struct adapter *padapter) in initrecvbuf() argument
15 INIT_LIST_HEAD(&precvbuf->list); in initrecvbuf()
16 spin_lock_init(&precvbuf->recvbuf_lock); in initrecvbuf()
18 precvbuf->adapter = padapter; in initrecvbuf()
185 struct recv_buf *precvbuf) in try_alloc_recvframe() argument
192 rtw_enqueue_recvbuf_to_head(precvbuf, in try_alloc_recvframe()
225 __func__, __LINE__, ptr, pkt_offset, precvbuf->ptail); in pkt_exceeds_tail()
239 struct recv_buf *precvbuf; in rtl8723bs_recv_tasklet() local
253 precvbuf = rtw_dequeue_recvbuf(recv_buf_queue); in rtl8723bs_recv_tasklet()
254 if (!precvbuf) in rtl8723bs_recv_tasklet()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Drtl8188eu_recv.c23 struct recv_buf *precvbuf; in rtw_hal_init_recv_priv() local
38 precvbuf = precvpriv->precv_buf; in rtw_hal_init_recv_priv()
41 res = rtw_os_recvbuf_resource_alloc(padapter, precvbuf); in rtw_hal_init_recv_priv()
44 precvbuf->adapter = padapter; in rtw_hal_init_recv_priv()
45 precvbuf++; in rtw_hal_init_recv_priv()
72 struct recv_buf *precvbuf; in rtw_hal_free_recv_priv() local
75 precvbuf = precvpriv->precv_buf; in rtw_hal_free_recv_priv()
78 usb_free_urb(precvbuf->purb); in rtw_hal_free_recv_priv()
79 precvbuf++; in rtw_hal_free_recv_priv()
Dusb_halinit.c969 struct recv_buf *precvbuf; in rtw_hal_inirp_init() local
979 precvbuf = precvpriv->precv_buf; in rtw_hal_inirp_init()
981 if (!usb_read_port(Adapter, RECV_BULK_IN_ADDR, precvbuf)) { in rtw_hal_inirp_init()
987 precvbuf++; in rtw_hal_inirp_init()
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c350 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in usb_read_port_complete() local
351 struct adapter *adapt = (struct adapter *)precvbuf->adapter; in usb_read_port_complete()
362 precvbuf->reuse = true; in usb_read_port_complete()
374 precvbuf->reuse = true; in usb_read_port_complete()
375 usb_read_port(adapt, RECV_BULK_IN_ADDR, precvbuf); in usb_read_port_complete()
378 skb_put(precvbuf->pskb, purb->actual_length); in usb_read_port_complete()
379 skb_queue_tail(&precvpriv->rx_skb_queue, precvbuf->pskb); in usb_read_port_complete()
384 precvbuf->pskb = NULL; in usb_read_port_complete()
385 precvbuf->reuse = false; in usb_read_port_complete()
386 usb_read_port(adapt, RECV_BULK_IN_ADDR, precvbuf); in usb_read_port_complete()
[all …]
Drecv_linux.c18 struct recv_buf *precvbuf) in rtw_os_recvbuf_resource_alloc() argument
20 precvbuf->pskb = NULL; in rtw_os_recvbuf_resource_alloc()
21 precvbuf->reuse = false; in rtw_os_recvbuf_resource_alloc()
22 precvbuf->purb = usb_alloc_urb(0, GFP_KERNEL); in rtw_os_recvbuf_resource_alloc()
23 if (!precvbuf->purb) in rtw_os_recvbuf_resource_alloc()
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c49 void rtw_os_recvbuf_resource_free(struct adapter *padapter, struct recv_buf *precvbuf) in rtw_os_recvbuf_resource_free() argument
51 if (precvbuf->pskb) { in rtw_os_recvbuf_resource_free()
52 dev_kfree_skb_any(precvbuf->pskb); in rtw_os_recvbuf_resource_free()
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drtw_recv.h355 void *precvbuf; member
396 sint rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue);
397 sint rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue);
Drecv_osdep.h32 void rtw_os_recvbuf_resource_free(struct adapter *padapter, struct recv_buf *precvbuf);
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Dusb_ops_linux.h48 u32 usb_read_port(struct adapter *adapter, u32 addr, struct recv_buf *precvbuf);
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_recv.c259 sint rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue) in rtw_enqueue_recvbuf_to_head() argument
263 list_del_init(&precvbuf->list); in rtw_enqueue_recvbuf_to_head()
264 list_add(&precvbuf->list, get_list_head(queue)); in rtw_enqueue_recvbuf_to_head()
271 sint rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue) in rtw_enqueue_recvbuf() argument
275 list_del_init(&precvbuf->list); in rtw_enqueue_recvbuf()
277 list_add_tail(&precvbuf->list, get_list_head(queue)); in rtw_enqueue_recvbuf()
285 struct recv_buf *precvbuf; in rtw_dequeue_recvbuf() local
291 precvbuf = NULL; in rtw_dequeue_recvbuf()
297 precvbuf = LIST_CONTAINOR(plist, struct recv_buf, list); in rtw_dequeue_recvbuf()
299 list_del_init(&precvbuf->list); in rtw_dequeue_recvbuf()
[all …]