Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/rtl8723bs/hal/
Drtl8723bs_recv.c175 static inline union recv_frame *try_alloc_recvframe(struct recv_priv *precvpriv, in try_alloc_recvframe() argument
180 precvframe = rtw_alloc_recvframe(&precvpriv->free_recv_queue); in try_alloc_recvframe()
183 &precvpriv->recv_buf_pending_queue); in try_alloc_recvframe()
187 tasklet_schedule(&precvpriv->recv_tasklet); in try_alloc_recvframe()
193 static inline bool rx_crc_err(struct recv_priv *precvpriv, in rx_crc_err() argument
200 rtw_free_recvframe(precvframe, &precvpriv->free_recv_queue); in rx_crc_err()
207 static inline bool pkt_exceeds_tail(struct recv_priv *precvpriv, in pkt_exceeds_tail() argument
212 rtw_free_recvframe(precvframe, &precvpriv->free_recv_queue); in pkt_exceeds_tail()
224 struct recv_priv *precvpriv; in rtl8723bs_recv_tasklet() local
235 precvpriv = &padapter->recvpriv; in rtl8723bs_recv_tasklet()
[all …]
Dodm_EdcaTurboCheck.c61 struct recv_priv *precvpriv = &(Adapter->recvpriv); in odm_EdcaTurboCheckCE() local
78 precvpriv->bIsAnyNonBEPkts = false; in odm_EdcaTurboCheckCE()
83 precvpriv->bIsAnyNonBEPkts = false; in odm_EdcaTurboCheckCE()
93 precvpriv->bIsAnyNonBEPkts = false; in odm_EdcaTurboCheckCE()
98 if ((bbtchange) || (!precvpriv->bIsAnyNonBEPkts)) { in odm_EdcaTurboCheckCE()
/linux-6.1.9/drivers/staging/rtl8712/
Drtl871x_recv.c47 void _r8712_init_recv_priv(struct recv_priv *precvpriv, in _r8712_init_recv_priv() argument
53 memset((unsigned char *)precvpriv, 0, sizeof(struct recv_priv)); in _r8712_init_recv_priv()
54 spin_lock_init(&precvpriv->lock); in _r8712_init_recv_priv()
55 _init_queue(&precvpriv->free_recv_queue); in _r8712_init_recv_priv()
56 _init_queue(&precvpriv->recv_pending_queue); in _r8712_init_recv_priv()
57 precvpriv->adapter = padapter; in _r8712_init_recv_priv()
58 precvpriv->free_recvframe_cnt = NR_RECVFRAME; in _r8712_init_recv_priv()
59 precvpriv->pallocated_frame_buf = kzalloc(NR_RECVFRAME * in _r8712_init_recv_priv()
62 if (!precvpriv->pallocated_frame_buf) in _r8712_init_recv_priv()
64 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-6.1.9/drivers/staging/r8188eu/core/
Drtw_recv.c40 struct recv_priv *precvpriv = &padapter->recvpriv; in rtl8188eu_init_recv_priv() local
44 tasklet_init(&precvpriv->recv_tasklet, in rtl8188eu_init_recv_priv()
49 rtw_init_queue(&precvpriv->free_recv_buf_queue); in rtl8188eu_init_recv_priv()
51 precvpriv->pallocated_recv_buf = kzalloc(NR_RECVBUFF * sizeof(struct recv_buf) + 4, in rtl8188eu_init_recv_priv()
53 if (!precvpriv->pallocated_recv_buf) { in rtl8188eu_init_recv_priv()
58 precvpriv->precv_buf = (u8 *)ALIGN((size_t)(precvpriv->pallocated_recv_buf), 4); in rtl8188eu_init_recv_priv()
60 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8188eu_init_recv_priv()
73 precvpriv->free_recv_buf_queue_cnt = NR_RECVBUFF; in rtl8188eu_init_recv_priv()
74 skb_queue_head_init(&precvpriv->rx_skb_queue); in rtl8188eu_init_recv_priv()
81 skb_queue_head_init(&precvpriv->free_recv_skb_queue); in rtl8188eu_init_recv_priv()
[all …]
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Drecv_osdep.h11 extern signed int _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-6.1.9/drivers/staging/rtl8723bs/core/
Drtw_recv.c32 signed int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter) in _rtw_init_recv_priv() argument
38 spin_lock_init(&precvpriv->lock); in _rtw_init_recv_priv()
40 INIT_LIST_HEAD(&precvpriv->free_recv_queue.queue); in _rtw_init_recv_priv()
41 spin_lock_init(&precvpriv->free_recv_queue.lock); in _rtw_init_recv_priv()
42 INIT_LIST_HEAD(&precvpriv->recv_pending_queue.queue); in _rtw_init_recv_priv()
43 spin_lock_init(&precvpriv->recv_pending_queue.lock); in _rtw_init_recv_priv()
44 INIT_LIST_HEAD(&precvpriv->uc_swdec_pending_queue.queue); in _rtw_init_recv_priv()
45 spin_lock_init(&precvpriv->uc_swdec_pending_queue.lock); in _rtw_init_recv_priv()
47 precvpriv->adapter = padapter; in _rtw_init_recv_priv()
49 precvpriv->free_recvframe_cnt = NR_RECVFRAME; in _rtw_init_recv_priv()
[all …]
/linux-6.1.9/drivers/staging/r8188eu/hal/
Dusb_ops_linux.c219 struct recv_priv *precvpriv = &adapt->recvpriv; in recvbuf2recvframe() local
220 struct __queue *pfree_recv_queue = &precvpriv->free_recv_queue; in recvbuf2recvframe()
352 struct recv_priv *precvpriv = &adapt->recvpriv; in rtl8188eu_recv_tasklet() local
354 while (NULL != (pskb = skb_dequeue(&precvpriv->rx_skb_queue))) { in rtl8188eu_recv_tasklet()
362 skb_queue_tail(&precvpriv->free_recv_skb_queue, pskb); in rtl8188eu_recv_tasklet()
370 struct recv_priv *precvpriv = &adapt->recvpriv; in usb_read_port_complete() local
372 precvpriv->rx_pending_cnt--; in usb_read_port_complete()
387 skb_queue_tail(&precvpriv->rx_skb_queue, precvbuf->pskb); in usb_read_port_complete()
389 if (skb_queue_len(&precvpriv->rx_skb_queue) <= 1) in usb_read_port_complete()
390 tasklet_schedule(&precvpriv->recv_tasklet); in usb_read_port_complete()
[all …]
Dodm.c509 struct recv_priv *precvpriv = &Adapter->recvpriv; in odm_EdcaTurboCheck() local
521 if ((bbtchange) || (!precvpriv->bIsAnyNonBEPkts)) { in odm_EdcaTurboCheck()
523 cur_rx_bytes = precvpriv->rx_bytes - precvpriv->last_rx_bytes; in odm_EdcaTurboCheck()
568 precvpriv->bIsAnyNonBEPkts = false; in odm_EdcaTurboCheck()
570 precvpriv->last_rx_bytes = precvpriv->rx_bytes; in odm_EdcaTurboCheck()
Dusb_halinit.c859 struct recv_priv *precvpriv = &Adapter->recvpriv; in rtl8188eu_inirp_init() local
864 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in rtl8188eu_inirp_init()
872 precvpriv->free_recv_buf_queue_cnt--; in rtl8188eu_inirp_init()
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/
Drecv_linux.c29 void rtw_os_recv_resource_free(struct recv_priv *precvpriv) in rtw_os_recv_resource_free() argument
34 precvframe = (union recv_frame *) precvpriv->precv_frame_buf; in rtw_os_recv_resource_free()
189 struct recv_priv *precvpriv; in rtw_recv_indicatepkt() local
194 precvpriv = &(padapter->recvpriv); in rtw_recv_indicatepkt()
195 pfree_recv_queue = &(precvpriv->free_recv_queue); in rtw_recv_indicatepkt()
Dos_intfs.c297 struct recv_priv *precvpriv = &(padapter->recvpriv); in rtw_net_get_stats() local
300 padapter->stats.rx_packets = precvpriv->rx_pkts;/* precvpriv->rx_pkts++; */ in rtw_net_get_stats()
302 padapter->stats.rx_dropped = precvpriv->rx_drop; in rtw_net_get_stats()
304 padapter->stats.rx_bytes = precvpriv->rx_bytes; in rtw_net_get_stats()
/linux-6.1.9/drivers/staging/r8188eu/include/
Drtw_recv.h246 int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter);
247 void _rtw_free_recv_priv(struct recv_priv *precvpriv);
/linux-6.1.9/drivers/staging/r8188eu/os_dep/
Dos_intfs.c234 struct recv_priv *precvpriv = &padapter->recvpriv; in rtw_net_get_stats() local
237 padapter->stats.rx_packets = precvpriv->rx_pkts;/* precvpriv->rx_pkts++; */ in rtw_net_get_stats()
239 padapter->stats.rx_dropped = precvpriv->rx_drop; in rtw_net_get_stats()
241 padapter->stats.rx_bytes = precvpriv->rx_bytes; in rtw_net_get_stats()