Home
last modified time | relevance | path

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

/Linux-v6.6/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()
84 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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/staging/rtl8723bs/core/
Drtw_recv.c248 signed int rtw_enqueue_recvbuf_to_head(struct recv_buf *precvbuf, struct __queue *queue) in rtw_enqueue_recvbuf_to_head() argument
252 list_del_init(&precvbuf->list); in rtw_enqueue_recvbuf_to_head()
253 list_add(&precvbuf->list, get_list_head(queue)); in rtw_enqueue_recvbuf_to_head()
260 signed int rtw_enqueue_recvbuf(struct recv_buf *precvbuf, struct __queue *queue) in rtw_enqueue_recvbuf() argument
264 list_del_init(&precvbuf->list); in rtw_enqueue_recvbuf()
266 list_add_tail(&precvbuf->list, get_list_head(queue)); in rtw_enqueue_recvbuf()
274 struct recv_buf *precvbuf; in rtw_dequeue_recvbuf() local
280 precvbuf = NULL; in rtw_dequeue_recvbuf()
286 precvbuf = container_of(plist, struct recv_buf, list); in rtw_dequeue_recvbuf()
288 list_del_init(&precvbuf->list); in rtw_dequeue_recvbuf()
[all …]