/linux-5.19.10/drivers/staging/rtl8712/ |
D | recv_linux.c | 41 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 …]
|
D | usb_ops_linux.c | 185 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 …]
|
D | rtl8712_recv.c | 37 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 …]
|
D | recv_osdep.h | 34 struct recv_buf *precvbuf); 36 struct recv_buf *precvbuf);
|
D | rtl8712_recv.h | 126 void *precvbuf; member 139 void r8712_init_recvbuf(struct _adapter *padapter, struct recv_buf *precvbuf);
|
/linux-5.19.10/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_recv.c | 12 static void initrecvbuf(struct recv_buf *precvbuf, struct adapter *padapter) in initrecvbuf() argument 14 INIT_LIST_HEAD(&precvbuf->list); in initrecvbuf() 15 spin_lock_init(&precvbuf->recvbuf_lock); in initrecvbuf() 17 precvbuf->adapter = padapter; in initrecvbuf() 176 struct recv_buf *precvbuf) in try_alloc_recvframe() argument 182 rtw_enqueue_recvbuf_to_head(precvbuf, in try_alloc_recvframe() 225 struct recv_buf *precvbuf; in rtl8723bs_recv_tasklet() local 239 precvbuf = rtw_dequeue_recvbuf(recv_buf_queue); in rtl8723bs_recv_tasklet() 240 if (!precvbuf) in rtl8723bs_recv_tasklet() 243 ptr = precvbuf->pdata; in rtl8723bs_recv_tasklet() [all …]
|
/linux-5.19.10/drivers/staging/r8188eu/hal/ |
D | usb_ops_linux.c | 223 precvframe->precvbuf = NULL; /* can't access the precvbuf for new arch. */ in recvbuf2recvframe() 355 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in usb_read_port_complete() local 356 struct adapter *adapt = (struct adapter *)precvbuf->adapter; in usb_read_port_complete() 362 precvbuf->reuse = true; in usb_read_port_complete() 368 precvbuf->reuse = true; in usb_read_port_complete() 369 rtw_read_port(adapt, (unsigned char *)precvbuf); in usb_read_port_complete() 373 skb_put(precvbuf->pskb, purb->actual_length); in usb_read_port_complete() 374 skb_queue_tail(&precvpriv->rx_skb_queue, precvbuf->pskb); in usb_read_port_complete() 379 precvbuf->pskb = NULL; in usb_read_port_complete() 380 precvbuf->reuse = false; in usb_read_port_complete() [all …]
|
D | rtl8188eu_recv.c | 19 struct recv_buf *precvbuf; in rtl8188eu_init_recv_priv() local 37 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8188eu_init_recv_priv() 40 res = rtw_os_recvbuf_resource_alloc(padapter, precvbuf); in rtl8188eu_init_recv_priv() 43 precvbuf->adapter = padapter; in rtl8188eu_init_recv_priv() 44 precvbuf++; in rtl8188eu_init_recv_priv() 76 struct recv_buf *precvbuf; in rtl8188eu_free_recv_priv() local 79 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8188eu_free_recv_priv() 82 rtw_os_recvbuf_resource_free(padapter, precvbuf); in rtl8188eu_free_recv_priv() 83 precvbuf++; in rtl8188eu_free_recv_priv()
|
D | usb_halinit.c | 885 struct recv_buf *precvbuf; in rtl8188eu_inirp_init() local 892 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8188eu_inirp_init() 894 if (!rtw_read_port(Adapter, (unsigned char *)precvbuf)) { in rtl8188eu_inirp_init() 899 precvbuf++; in rtl8188eu_inirp_init()
|
/linux-5.19.10/drivers/staging/r8188eu/os_dep/ |
D | recv_linux.c | 17 struct recv_buf *precvbuf) in rtw_os_recvbuf_resource_alloc() argument 21 precvbuf->purb = usb_alloc_urb(0, GFP_KERNEL); in rtw_os_recvbuf_resource_alloc() 22 if (!precvbuf->purb) in rtw_os_recvbuf_resource_alloc() 24 precvbuf->pskb = NULL; in rtw_os_recvbuf_resource_alloc() 25 precvbuf->reuse = false; in rtw_os_recvbuf_resource_alloc() 31 struct recv_buf *precvbuf) in rtw_os_recvbuf_resource_free() argument 33 usb_free_urb(precvbuf->purb); in rtw_os_recvbuf_resource_free()
|
D | usb_ops_linux.c | 26 struct recv_buf *precvbuf = (struct recv_buf *)padapter->recvpriv.precv_buf; in rtw_read_port_cancel() local 31 precvbuf->reuse = true; in rtw_read_port_cancel() 32 if (precvbuf->purb) in rtw_read_port_cancel() 33 usb_kill_urb(precvbuf->purb); in rtw_read_port_cancel() 34 precvbuf++; in rtw_read_port_cancel()
|
/linux-5.19.10/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 47 void rtw_os_recvbuf_resource_free(struct adapter *padapter, struct recv_buf *precvbuf) in rtw_os_recvbuf_resource_free() argument 49 if (precvbuf->pskb) { in rtw_os_recvbuf_resource_free() 50 dev_kfree_skb_any(precvbuf->pskb); in rtw_os_recvbuf_resource_free()
|
/linux-5.19.10/drivers/staging/rtl8723bs/include/ |
D | rtw_recv.h | 332 void *precvbuf; member 373 signed int rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue); 374 signed int rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue);
|
D | recv_osdep.h | 32 void rtw_os_recvbuf_resource_free(struct adapter *padapter, struct recv_buf *precvbuf);
|
/linux-5.19.10/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 257 signed int rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue) in rtw_enqueue_recvbuf_to_head() argument 261 list_del_init(&precvbuf->list); in rtw_enqueue_recvbuf_to_head() 262 list_add(&precvbuf->list, get_list_head(queue)); in rtw_enqueue_recvbuf_to_head() 269 signed int rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue) in rtw_enqueue_recvbuf() argument 273 list_del_init(&precvbuf->list); in rtw_enqueue_recvbuf() 275 list_add_tail(&precvbuf->list, get_list_head(queue)); in rtw_enqueue_recvbuf() 283 struct recv_buf *precvbuf; in rtw_dequeue_recvbuf() local 289 precvbuf = NULL; in rtw_dequeue_recvbuf() 295 precvbuf = container_of(plist, struct recv_buf, list); in rtw_dequeue_recvbuf() 297 list_del_init(&precvbuf->list); in rtw_dequeue_recvbuf() [all …]
|
/linux-5.19.10/drivers/staging/r8188eu/include/ |
D | rtw_recv.h | 240 void *precvbuf; member
|