Home
last modified time | relevance | path

Searched refs:precvpriv (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/drivers/staging/rtl8188eu/hal/
Drtl8188eu_recv.c21 struct recv_priv *precvpriv = &padapter->recvpriv; in rtw_hal_init_recv_priv() local
25 tasklet_setup(&precvpriv->recv_tasklet, rtl8188eu_recv_tasklet); in rtw_hal_init_recv_priv()
28 _rtw_init_queue(&precvpriv->free_recv_buf_queue); in rtw_hal_init_recv_priv()
30 precvpriv->precv_buf = in rtw_hal_init_recv_priv()
32 if (!precvpriv->precv_buf) { in rtw_hal_init_recv_priv()
38 precvbuf = precvpriv->precv_buf; in rtw_hal_init_recv_priv()
47 skb_queue_head_init(&precvpriv->rx_skb_queue); in rtw_hal_init_recv_priv()
52 skb_queue_head_init(&precvpriv->free_recv_skb_queue); in rtw_hal_init_recv_priv()
59 skb_queue_tail(&precvpriv->free_recv_skb_queue, in rtw_hal_init_recv_priv()
73 struct recv_priv *precvpriv = &padapter->recvpriv; in rtw_hal_free_recv_priv() local
[all …]
Dodm.c1036 struct recv_priv *precvpriv = &Adapter->recvpriv; in odm_EdcaTurboCheckCE() local
1048 if ((bbtchange) || (!precvpriv->bIsAnyNonBEPkts)) { in odm_EdcaTurboCheckCE()
1050 cur_rx_bytes = precvpriv->rx_bytes - precvpriv->last_rx_bytes; in odm_EdcaTurboCheckCE()
1096 precvpriv->bIsAnyNonBEPkts = false; in odm_EdcaTurboCheckCE()
1098 precvpriv->last_rx_bytes = precvpriv->rx_bytes; in odm_EdcaTurboCheckCE()
Dusb_halinit.c971 struct recv_priv *precvpriv = &Adapter->recvpriv; in rtw_hal_inirp_init() local
979 precvbuf = precvpriv->precv_buf; in rtw_hal_inirp_init()
/Linux-v5.10/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c184 static inline union recv_frame *try_alloc_recvframe(struct recv_priv *precvpriv, in try_alloc_recvframe() argument
189 precvframe = rtw_alloc_recvframe(&precvpriv->free_recv_queue); in try_alloc_recvframe()
193 &precvpriv->recv_buf_pending_queue); in try_alloc_recvframe()
197 tasklet_schedule(&precvpriv->recv_tasklet); in try_alloc_recvframe()
203 static inline bool rx_crc_err(struct recv_priv *precvpriv, in rx_crc_err() argument
212 rtw_free_recvframe(precvframe, &precvpriv->free_recv_queue); in rx_crc_err()
219 static inline bool pkt_exceeds_tail(struct recv_priv *precvpriv, in pkt_exceeds_tail() argument
226 rtw_free_recvframe(precvframe, &precvpriv->free_recv_queue); in pkt_exceeds_tail()
238 struct recv_priv *precvpriv; in rtl8723bs_recv_tasklet() local
249 precvpriv = &padapter->recvpriv; in rtl8723bs_recv_tasklet()
[all …]
Dodm_EdcaTurboCheck.c79 struct recv_priv *precvpriv = &(Adapter->recvpriv); in odm_EdcaTurboCheckCE() local
96 precvpriv->bIsAnyNonBEPkts = false; in odm_EdcaTurboCheckCE()
101 precvpriv->bIsAnyNonBEPkts = false; in odm_EdcaTurboCheckCE()
111 precvpriv->bIsAnyNonBEPkts = false; in odm_EdcaTurboCheckCE()
116 if ((bbtchange) || (!precvpriv->bIsAnyNonBEPkts)) { in odm_EdcaTurboCheckCE()
/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_recv.c46 void _r8712_init_recv_priv(struct recv_priv *precvpriv, in _r8712_init_recv_priv() argument
52 memset((unsigned char *)precvpriv, 0, sizeof(struct recv_priv)); in _r8712_init_recv_priv()
53 spin_lock_init(&precvpriv->lock); in _r8712_init_recv_priv()
54 _init_queue(&precvpriv->free_recv_queue); in _r8712_init_recv_priv()
55 _init_queue(&precvpriv->recv_pending_queue); in _r8712_init_recv_priv()
56 precvpriv->adapter = padapter; in _r8712_init_recv_priv()
57 precvpriv->free_recvframe_cnt = NR_RECVFRAME; in _r8712_init_recv_priv()
58 precvpriv->pallocated_frame_buf = kzalloc(NR_RECVFRAME * in _r8712_init_recv_priv()
61 if (!precvpriv->pallocated_frame_buf) in _r8712_init_recv_priv()
63 kmemleak_not_leak(precvpriv->pallocated_frame_buf); in _r8712_init_recv_priv()
[all …]
Drtl8712_recv.c33 void r8712_init_recv_priv(struct recv_priv *precvpriv, in r8712_init_recv_priv() argument
43 _init_queue(&precvpriv->free_recv_buf_queue); in r8712_init_recv_priv()
44 precvpriv->pallocated_recv_buf = in r8712_init_recv_priv()
46 if (!precvpriv->pallocated_recv_buf) in r8712_init_recv_priv()
48 precvpriv->precv_buf = precvpriv->pallocated_recv_buf + 4 - in r8712_init_recv_priv()
49 ((addr_t)(precvpriv->pallocated_recv_buf) & 3); in r8712_init_recv_priv()
50 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in r8712_init_recv_priv()
59 &(precvpriv->free_recv_buf_queue.queue)); in r8712_init_recv_priv()
62 precvpriv->free_recv_buf_queue_cnt = NR_RECVBUFF; in r8712_init_recv_priv()
63 tasklet_setup(&precvpriv->recv_tasklet, recv_tasklet); in r8712_init_recv_priv()
[all …]
Drecv_osdep.h21 void _r8712_init_recv_priv(struct recv_priv *precvpriv,
23 void _r8712_free_recv_priv(struct recv_priv *precvpriv);
28 void r8712_init_recv_priv(struct recv_priv *precvpriv,
30 void r8712_free_recv_priv(struct recv_priv *precvpriv);
Dusb_ops_linux.c187 struct recv_priv *precvpriv = &padapter->recvpriv; in r8712_usb_read_port_complete() local
194 r8712_read_port(padapter, precvpriv->ff_hwaddr, 0, in r8712_usb_read_port_complete()
204 skb_queue_tail(&precvpriv->rx_skb_queue, pskb); in r8712_usb_read_port_complete()
205 r8712_read_port(padapter, precvpriv->ff_hwaddr, in r8712_usb_read_port_complete()
209 skb_queue_tail(&precvpriv->rx_skb_queue, pskb); in r8712_usb_read_port_complete()
210 tasklet_hi_schedule(&precvpriv->recv_tasklet); in r8712_usb_read_port_complete()
211 r8712_read_port(padapter, precvpriv->ff_hwaddr, in r8712_usb_read_port_complete()
230 r8712_read_port(padapter, precvpriv->ff_hwaddr, 0, in r8712_usb_read_port_complete()
254 struct recv_priv *precvpriv = &adapter->recvpriv; in r8712_usb_read_port() local
262 precvbuf->pskb = skb_dequeue(&precvpriv->free_recv_skb_queue); in r8712_usb_read_port()
Dos_intfs.c177 struct recv_priv *precvpriv = &padapter->recvpriv; in r871x_net_get_stats() local
180 padapter->stats.rx_packets = precvpriv->rx_pkts; in r871x_net_get_stats()
182 padapter->stats.rx_dropped = precvpriv->rx_drop; in r871x_net_get_stats()
184 padapter->stats.rx_bytes = precvpriv->rx_bytes; in r871x_net_get_stats()
/Linux-v5.10/drivers/staging/rtl8723bs/include/
Drecv_osdep.h11 extern sint _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter);
12 extern void _rtw_free_recv_priv(struct recv_priv *precvpriv);
21 int rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter);
22 void rtw_free_recv_priv(struct recv_priv *precvpriv);
26 void rtw_os_recv_resource_free(struct recv_priv *precvpriv);
/Linux-v5.10/drivers/staging/rtl8723bs/core/
Drtw_recv.c33 sint _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter) in _rtw_init_recv_priv() argument
39 spin_lock_init(&precvpriv->lock); in _rtw_init_recv_priv()
41 _rtw_init_queue(&precvpriv->free_recv_queue); in _rtw_init_recv_priv()
42 _rtw_init_queue(&precvpriv->recv_pending_queue); in _rtw_init_recv_priv()
43 _rtw_init_queue(&precvpriv->uc_swdec_pending_queue); in _rtw_init_recv_priv()
45 precvpriv->adapter = padapter; in _rtw_init_recv_priv()
47 precvpriv->free_recvframe_cnt = NR_RECVFRAME; in _rtw_init_recv_priv()
49precvpriv->pallocated_frame_buf = vzalloc(NR_RECVFRAME * sizeof(union recv_frame) + RXFRAME_ALIGN_… in _rtw_init_recv_priv()
51 if (!precvpriv->pallocated_frame_buf) { in _rtw_init_recv_priv()
56precvpriv->precv_frame_buf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(precvpriv->pallocated_frame_buf), RX… in _rtw_init_recv_priv()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Drecv_osdep.h13 int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter);
14 void _rtw_free_recv_priv(struct recv_priv *precvpriv);
Drtw_recv.h233 struct recv_priv *precvpriv);
/Linux-v5.10/drivers/staging/rtl8188eu/core/
Drtw_recv.c37 int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter) in _rtw_init_recv_priv() argument
45 _rtw_init_queue(&precvpriv->free_recv_queue); in _rtw_init_recv_priv()
46 _rtw_init_queue(&precvpriv->recv_pending_queue); in _rtw_init_recv_priv()
47 _rtw_init_queue(&precvpriv->uc_swdec_pending_queue); in _rtw_init_recv_priv()
49 precvpriv->adapter = padapter; in _rtw_init_recv_priv()
51precvpriv->pallocated_frame_buf = vzalloc(NR_RECVFRAME * sizeof(struct recv_frame) + RXFRAME_ALIGN… in _rtw_init_recv_priv()
53 if (!precvpriv->pallocated_frame_buf) in _rtw_init_recv_priv()
56 precvframe = PTR_ALIGN(precvpriv->pallocated_frame_buf, RXFRAME_ALIGN_SZ); in _rtw_init_recv_priv()
62 &precvpriv->free_recv_queue.queue); in _rtw_init_recv_priv()
71 timer_setup(&precvpriv->signal_stat_timer, rtw_signal_stat_timer_hdl, in _rtw_init_recv_priv()
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c45 struct recv_priv *precvpriv = &adapt->recvpriv; in recvbuf2recvframe() local
46 struct __queue *pfree_recv_queue = &precvpriv->free_recv_queue; in recvbuf2recvframe()
352 struct recv_priv *precvpriv = &adapt->recvpriv; in usb_read_port_complete() local
379 skb_queue_tail(&precvpriv->rx_skb_queue, precvbuf->pskb); in usb_read_port_complete()
381 if (skb_queue_len(&precvpriv->rx_skb_queue) <= 1) in usb_read_port_complete()
382 tasklet_schedule(&precvpriv->recv_tasklet); in usb_read_port_complete()
428 struct recv_priv *precvpriv = &adapter->recvpriv; in usb_read_port() local
449 precvbuf->pskb = skb_dequeue(&precvpriv->free_recv_skb_queue); in usb_read_port()
780 struct recv_priv *precvpriv = &adapt->recvpriv; in rtl8188eu_recv_tasklet() local
782 while (NULL != (pskb = skb_dequeue(&precvpriv->rx_skb_queue))) { in rtl8188eu_recv_tasklet()
[all …]
Drecv_linux.c67 struct recv_priv *precvpriv; in rtw_recv_indicatepkt() local
72 precvpriv = &padapter->recvpriv; in rtw_recv_indicatepkt()
73 pfree_recv_queue = &precvpriv->free_recv_queue; in rtw_recv_indicatepkt()
Dos_intfs.c203 struct recv_priv *precvpriv = &padapter->recvpriv; in rtw_net_get_stats() local
206 padapter->stats.rx_packets = precvpriv->rx_pkts; in rtw_net_get_stats()
208 padapter->stats.rx_dropped = precvpriv->rx_drop; in rtw_net_get_stats()
210 padapter->stats.rx_bytes = precvpriv->rx_bytes; in rtw_net_get_stats()
/Linux-v5.10/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c31 void rtw_os_recv_resource_free(struct recv_priv *precvpriv) in rtw_os_recv_resource_free() argument
36 precvframe = (union recv_frame*) precvpriv->precv_frame_buf; in rtw_os_recv_resource_free()
244 struct recv_priv *precvpriv; in rtw_recv_indicatepkt() local
251 precvpriv = &(padapter->recvpriv); in rtw_recv_indicatepkt()
252 pfree_recv_queue = &(precvpriv->free_recv_queue); in rtw_recv_indicatepkt()
Dos_intfs.c331 struct recv_priv *precvpriv = &(padapter->recvpriv); in rtw_net_get_stats() local
334 padapter->stats.rx_packets = precvpriv->rx_pkts;/* precvpriv->rx_pkts++; */ in rtw_net_get_stats()
336 padapter->stats.rx_dropped = precvpriv->rx_drop; in rtw_net_get_stats()
338 padapter->stats.rx_bytes = precvpriv->rx_bytes; in rtw_net_get_stats()