Home
last modified time | relevance | path

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

/linux-5.19.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-5.19.10/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c12 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/
Dusb_ops_linux.c223 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 …]
Drtl8188eu_recv.c19 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()
Dusb_halinit.c885 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/
Drecv_linux.c17 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()
Dusb_ops_linux.c26 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/
Drecv_linux.c47 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/
Drtw_recv.h332 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);
Drecv_osdep.h32 void rtw_os_recvbuf_resource_free(struct adapter *padapter, struct recv_buf *precvbuf);
/linux-5.19.10/drivers/staging/rtl8723bs/core/
Drtw_recv.c257 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/
Drtw_recv.h240 void *precvbuf; member