/drivers/staging/r8188eu/hal/ |
D | rtl8188eu_recv.c | 15 void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *precvbuf) in rtl8188eu_init_recvbuf() argument 17 precvbuf->transfer_len = 0; in rtl8188eu_init_recvbuf() 19 precvbuf->len = 0; in rtl8188eu_init_recvbuf() 21 precvbuf->ref_cnt = 0; in rtl8188eu_init_recvbuf() 23 if (precvbuf->pbuf) { in rtl8188eu_init_recvbuf() 24 precvbuf->pdata = precvbuf->pbuf; in rtl8188eu_init_recvbuf() 25 precvbuf->phead = precvbuf->pbuf; in rtl8188eu_init_recvbuf() 26 precvbuf->ptail = precvbuf->pbuf; in rtl8188eu_init_recvbuf() 27 precvbuf->pend = precvbuf->pdata + MAX_RECVBUF_SZ; in rtl8188eu_init_recvbuf() 35 struct recv_buf *precvbuf; in rtl8188eu_init_recv_priv() local [all …]
|
D | usb_ops_linux.c | 216 precvframe->precvbuf = NULL; /* can't access the precvbuf for new arch. */ in recvbuf2recvframe() 367 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in usb_read_port_complete() local 368 struct adapter *adapt = (struct adapter *)precvbuf->adapter; in usb_read_port_complete() 374 precvbuf->reuse = true; in usb_read_port_complete() 383 precvbuf->reuse = true; in usb_read_port_complete() 384 rtw_read_port(adapt, precvpriv->ff_hwaddr, 0, (unsigned char *)precvbuf); in usb_read_port_complete() 389 precvbuf->transfer_len = purb->actual_length; in usb_read_port_complete() 390 skb_put(precvbuf->pskb, purb->actual_length); in usb_read_port_complete() 391 skb_queue_tail(&precvpriv->rx_skb_queue, precvbuf->pskb); in usb_read_port_complete() 396 precvbuf->pskb = NULL; in usb_read_port_complete() [all …]
|
D | usb_halinit.c | 1053 struct recv_buf *precvbuf; in rtl8188eu_inirp_init() local 1066 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8188eu_inirp_init() 1068 if (!_read_port(pintfhdl, precvpriv->ff_hwaddr, 0, (unsigned char *)precvbuf)) { in rtl8188eu_inirp_init() 1073 precvbuf++; in rtl8188eu_inirp_init()
|
/drivers/staging/rtl8712/ |
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 | 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 | 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);
|
/drivers/staging/r8188eu/os_dep/ |
D | recv_linux.c | 38 struct recv_buf *precvbuf) in rtw_os_recvbuf_resource_alloc() argument 42 precvbuf->irp_pending = false; in rtw_os_recvbuf_resource_alloc() 43 precvbuf->purb = usb_alloc_urb(0, GFP_KERNEL); in rtw_os_recvbuf_resource_alloc() 44 if (!precvbuf->purb) in rtw_os_recvbuf_resource_alloc() 46 precvbuf->pskb = NULL; in rtw_os_recvbuf_resource_alloc() 47 precvbuf->reuse = false; in rtw_os_recvbuf_resource_alloc() 48 precvbuf->pallocated_buf = NULL; in rtw_os_recvbuf_resource_alloc() 49 precvbuf->pbuf = NULL; in rtw_os_recvbuf_resource_alloc() 50 precvbuf->pdata = NULL; in rtw_os_recvbuf_resource_alloc() 51 precvbuf->phead = NULL; in rtw_os_recvbuf_resource_alloc() [all …]
|
D | usb_ops_linux.c | 45 struct recv_buf *precvbuf; in usb_read_port_cancel() local 47 precvbuf = (struct recv_buf *)padapter->recvpriv.precv_buf; in usb_read_port_cancel() 54 precvbuf->reuse = true; in usb_read_port_cancel() 55 if (precvbuf->purb) in usb_read_port_cancel() 56 usb_kill_urb(precvbuf->purb); in usb_read_port_cancel() 57 precvbuf++; in usb_read_port_cancel()
|
/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() 177 struct recv_buf *precvbuf) in try_alloc_recvframe() argument 183 rtw_enqueue_recvbuf_to_head(precvbuf, in try_alloc_recvframe() 226 struct recv_buf *precvbuf; in rtl8723bs_recv_tasklet() local 240 precvbuf = rtw_dequeue_recvbuf(recv_buf_queue); in rtl8723bs_recv_tasklet() 241 if (!precvbuf) in rtl8723bs_recv_tasklet() 244 ptr = precvbuf->pdata; in rtl8723bs_recv_tasklet() [all …]
|
/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()
|
/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);
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 253 signed int rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue) in rtw_enqueue_recvbuf_to_head() argument 257 list_del_init(&precvbuf->list); in rtw_enqueue_recvbuf_to_head() 258 list_add(&precvbuf->list, get_list_head(queue)); in rtw_enqueue_recvbuf_to_head() 265 signed int rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue) in rtw_enqueue_recvbuf() argument 269 list_del_init(&precvbuf->list); in rtw_enqueue_recvbuf() 271 list_add_tail(&precvbuf->list, get_list_head(queue)); in rtw_enqueue_recvbuf() 279 struct recv_buf *precvbuf; in rtw_dequeue_recvbuf() local 285 precvbuf = NULL; in rtw_dequeue_recvbuf() 291 precvbuf = container_of(plist, struct recv_buf, list); in rtw_dequeue_recvbuf() 293 list_del_init(&precvbuf->list); in rtw_dequeue_recvbuf() [all …]
|
/drivers/staging/r8188eu/core/ |
D | rtw_recv.c | 260 int rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue) in rtw_enqueue_recvbuf_to_head() argument 264 list_del_init(&precvbuf->list); in rtw_enqueue_recvbuf_to_head() 265 list_add(&precvbuf->list, get_list_head(queue)); in rtw_enqueue_recvbuf_to_head() 272 int rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue) in rtw_enqueue_recvbuf() argument 278 list_del_init(&precvbuf->list); in rtw_enqueue_recvbuf() 280 list_add_tail(&precvbuf->list, get_list_head(queue)); in rtw_enqueue_recvbuf() 287 struct recv_buf *precvbuf; in rtw_dequeue_recvbuf() local 294 precvbuf = NULL; in rtw_dequeue_recvbuf() 300 precvbuf = container_of(plist, struct recv_buf, list); in rtw_dequeue_recvbuf() 302 list_del_init(&precvbuf->list); in rtw_dequeue_recvbuf() [all …]
|
/drivers/staging/r8188eu/include/ |
D | rtl8188e_recv.h | 46 void rtl8188eu_recv_hdl(struct adapter * padapter, struct recv_buf *precvbuf);
|
D | recv_osdep.h | 30 void rtw_os_read_port(struct adapter *padapter, struct recv_buf *precvbuf);
|
D | rtw_recv.h | 269 void *precvbuf; member 288 int rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue);
|