Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8723bs/hal/
H A Drtl8723bs_recv.c224 struct recv_priv *precvpriv; in rtl8723bs_recv_tasklet() local
235 precvpriv = &padapter->recvpriv; in rtl8723bs_recv_tasklet()
271 &precvpriv->free_recv_queue); in rtl8723bs_recv_tasklet()
373 struct recv_priv *precvpriv; in rtl8723bs_init_recv_priv() local
377 precvpriv = &padapter->recvpriv; in rtl8723bs_init_recv_priv()
387 if (!precvpriv->pallocated_recv_buf) { in rtl8723bs_init_recv_priv()
392 precvpriv->precv_buf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(precvpriv->pallocated_recv_buf), 4); in rtl8723bs_init_recv_priv()
438 precvpriv->precv_buf = NULL; in rtl8723bs_init_recv_priv()
457 struct recv_priv *precvpriv; in rtl8723bs_free_recv_priv() local
460 precvpriv = &padapter->recvpriv; in rtl8723bs_free_recv_priv()
[all …]
H A 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()
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_recv.c53 spin_lock_init(&precvpriv->lock); in _r8712_init_recv_priv()
56 precvpriv->adapter = padapter; in _r8712_init_recv_priv()
63 precvpriv->precv_frame_buf = precvpriv->pallocated_frame_buf + in _r8712_init_recv_priv()
76 precvpriv->rx_pending_cnt = 1; in _r8712_init_recv_priv()
87 r8712_free_recv_priv(precvpriv); in _r8712_free_recv_priv()
95 struct recv_priv *precvpriv; in r8712_alloc_recvframe() local
104 precvpriv = &padapter->recvpriv; in r8712_alloc_recvframe()
106 precvpriv->free_recvframe_cnt--; in r8712_alloc_recvframe()
652 struct recv_priv *precvpriv; in r8712_recv_entry() local
664 precvpriv->rx_pkts++; in r8712_recv_entry()
[all …]
H A Drecv_osdep.h21 int _r8712_init_recv_priv(struct recv_priv *precvpriv,
23 void _r8712_free_recv_priv(struct recv_priv *precvpriv);
28 int r8712_init_recv_priv(struct recv_priv *precvpriv,
30 void r8712_free_recv_priv(struct recv_priv *precvpriv);
H A Drtl8712_recv.c43 _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()
59 &precvpriv->free_recv_buf_queue.queue); in r8712_init_recv_priv()
64 skb_queue_head_init(&precvpriv->rx_skb_queue); in r8712_init_recv_priv()
85 struct _adapter *padapter = precvpriv->adapter; in r8712_free_recv_priv()
92 kfree(precvpriv->pallocated_recv_buf); in r8712_free_recv_priv()
93 skb_queue_purge(&precvpriv->rx_skb_queue); in r8712_free_recv_priv()
94 if (skb_queue_len(&precvpriv->rx_skb_queue)) in r8712_free_recv_priv()
[all …]
H A 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()
H A 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()
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A 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);
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_recv.c38 spin_lock_init(&precvpriv->lock); in _rtw_init_recv_priv()
47 precvpriv->adapter = padapter; in _rtw_init_recv_priv()
111 struct recv_priv *precvpriv; in _rtw_alloc_recvframe() local
125 precvpriv = &padapter->recvpriv; in _rtw_alloc_recvframe()
164 precvpriv->free_recvframe_cnt++; in rtw_free_recvframe()
187 precvpriv->free_recvframe_cnt++; in _rtw_enqueue_recvframe()
624 precvpriv->rx_bytes += sz; in count_rx_stats()
1477 precvpriv->rx_drop++; in validate_recv_frame()
2015 precvpriv->rx_drop++; in recv_func_posthandle()
2071 struct recv_priv *precvpriv; in rtw_recv_entry() local
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A 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()
H A 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()