Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8712/
Dusb_ops_linux.c197 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in r8712_usb_read_port_complete() local
198 struct _adapter *padapter = (struct _adapter *)precvbuf->adapter; in r8712_usb_read_port_complete()
207 (unsigned char *)precvbuf); in r8712_usb_read_port_complete()
209 _pkt *pskb = precvbuf->pskb; in r8712_usb_read_port_complete()
211 precvbuf->transfer_len = purb->actual_length; in r8712_usb_read_port_complete()
212 pbuf = (__le32 *)precvbuf->pbuf; in r8712_usb_read_port_complete()
218 0, (unsigned char *)precvbuf); in r8712_usb_read_port_complete()
224 0, (unsigned char *)precvbuf); in r8712_usb_read_port_complete()
243 (unsigned char *)precvbuf); in r8712_usb_read_port_complete()
262 struct recv_buf *precvbuf = (struct recv_buf *)rmem; in r8712_usb_read_port() local
[all …]
Drecv_linux.c54 struct recv_buf *precvbuf) in r8712_os_recvbuf_resource_alloc() argument
58 precvbuf->irp_pending = false; in r8712_os_recvbuf_resource_alloc()
59 precvbuf->purb = usb_alloc_urb(0, GFP_KERNEL); in r8712_os_recvbuf_resource_alloc()
60 if (!precvbuf->purb) in r8712_os_recvbuf_resource_alloc()
62 precvbuf->pskb = NULL; in r8712_os_recvbuf_resource_alloc()
63 precvbuf->pallocated_buf = NULL; in r8712_os_recvbuf_resource_alloc()
64 precvbuf->pbuf = NULL; in r8712_os_recvbuf_resource_alloc()
65 precvbuf->pdata = NULL; in r8712_os_recvbuf_resource_alloc()
66 precvbuf->phead = NULL; in r8712_os_recvbuf_resource_alloc()
67 precvbuf->ptail = NULL; in r8712_os_recvbuf_resource_alloc()
[all …]
Drtl8712_recv.c53 struct recv_buf *precvbuf; in r8712_init_recv_priv() local
67 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in r8712_init_recv_priv()
69 INIT_LIST_HEAD(&precvbuf->list); in r8712_init_recv_priv()
70 spin_lock_init(&precvbuf->recvbuf_lock); in r8712_init_recv_priv()
71 res = r8712_os_recvbuf_resource_alloc(padapter, precvbuf); in r8712_init_recv_priv()
74 precvbuf->ref_cnt = 0; in r8712_init_recv_priv()
75 precvbuf->adapter = padapter; in r8712_init_recv_priv()
76 list_add_tail(&precvbuf->list, in r8712_init_recv_priv()
78 precvbuf++; in r8712_init_recv_priv()
104 struct recv_buf *precvbuf; in r8712_free_recv_priv() local
[all …]
Drecv_osdep.h46 struct recv_buf *precvbuf);
48 struct recv_buf *precvbuf);
Drtl8712_recv.h138 void *precvbuf; member
151 int r8712_init_recvbuf(struct _adapter *padapter, struct recv_buf *precvbuf);
Dusb_halinit.c298 struct recv_buf *precvbuf; in r8712_usb_inirp_init() local
304 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in r8712_usb_inirp_init()
307 (unsigned char *)precvbuf) == false) in r8712_usb_inirp_init()
309 precvbuf++; in r8712_usb_inirp_init()
/Linux-v4.19/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c13 static s32 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()
189 struct recv_buf *precvbuf) in try_alloc_recvframe() argument
196 rtw_enqueue_recvbuf_to_head(precvbuf, in try_alloc_recvframe()
229 __func__, __LINE__, ptr, pkt_offset, precvbuf->ptail); in pkt_exceeds_tail()
242 struct recv_buf *precvbuf; in rtl8723bs_recv_tasklet() local
257 precvbuf = rtw_dequeue_recvbuf(recv_buf_queue); in rtl8723bs_recv_tasklet()
258 if (!precvbuf) in rtl8723bs_recv_tasklet()
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Drtl8188eu_recv.c23 struct recv_buf *precvbuf; in rtw_hal_init_recv_priv() local
40 precvbuf = precvpriv->precv_buf; in rtw_hal_init_recv_priv()
43 res = rtw_os_recvbuf_resource_alloc(padapter, precvbuf); in rtw_hal_init_recv_priv()
46 precvbuf->adapter = padapter; in rtw_hal_init_recv_priv()
47 precvbuf++; in rtw_hal_init_recv_priv()
74 struct recv_buf *precvbuf; in rtw_hal_free_recv_priv() local
77 precvbuf = precvpriv->precv_buf; in rtw_hal_free_recv_priv()
80 usb_free_urb(precvbuf->purb); in rtw_hal_free_recv_priv()
81 precvbuf++; in rtw_hal_free_recv_priv()
Dusb_halinit.c971 struct recv_buf *precvbuf; in rtw_hal_inirp_init() local
981 precvbuf = precvpriv->precv_buf; in rtw_hal_inirp_init()
983 if (usb_read_port(Adapter, RECV_BULK_IN_ADDR, precvbuf) == false) { in rtw_hal_inirp_init()
989 precvbuf++; in rtw_hal_inirp_init()
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c347 struct recv_buf *precvbuf = (struct recv_buf *)purb->context; in usb_read_port_complete() local
348 struct adapter *adapt = (struct adapter *)precvbuf->adapter; in usb_read_port_complete()
358 precvbuf->reuse = true; in usb_read_port_complete()
369 precvbuf->reuse = true; in usb_read_port_complete()
370 usb_read_port(adapt, RECV_BULK_IN_ADDR, 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()
381 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-v4.19/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c53 int rtw_os_recvbuf_resource_free(struct adapter *padapter, struct recv_buf *precvbuf) in rtw_os_recvbuf_resource_free() argument
57 if (precvbuf->pskb) in rtw_os_recvbuf_resource_free()
59 dev_kfree_skb_any(precvbuf->pskb); in rtw_os_recvbuf_resource_free()
/Linux-v4.19/drivers/staging/rtl8723bs/include/
Drtw_recv.h361 void *precvbuf; member
402 sint rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue);
403 sint rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue);
Drecv_osdep.h32 int rtw_os_recvbuf_resource_free(struct adapter *padapter, struct recv_buf *precvbuf);
/Linux-v4.19/drivers/staging/rtl8188eu/include/
Dusb_ops_linux.h48 u32 usb_read_port(struct adapter *adapter, u32 addr, struct recv_buf *precvbuf);
/Linux-v4.19/drivers/staging/rtl8723bs/core/
Drtw_recv.c261 sint rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue) in rtw_enqueue_recvbuf_to_head() argument
265 list_del_init(&precvbuf->list); in rtw_enqueue_recvbuf_to_head()
266 list_add(&precvbuf->list, get_list_head(queue)); in rtw_enqueue_recvbuf_to_head()
273 sint rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue) in rtw_enqueue_recvbuf() argument
277 list_del_init(&precvbuf->list); in rtw_enqueue_recvbuf()
279 list_add_tail(&precvbuf->list, get_list_head(queue)); in rtw_enqueue_recvbuf()
287 struct recv_buf *precvbuf; in rtw_dequeue_recvbuf() local
293 precvbuf = NULL; in rtw_dequeue_recvbuf()
299 precvbuf = LIST_CONTAINOR(plist, struct recv_buf, list); in rtw_dequeue_recvbuf()
301 list_del_init(&precvbuf->list); in rtw_dequeue_recvbuf()
[all …]