/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | rtl8188eu_recv.c | 21 struct recv_priv *precvpriv = &padapter->recvpriv; in rtw_hal_init_recv_priv() local 25 tasklet_init(&precvpriv->recv_tasklet, in rtw_hal_init_recv_priv() 30 _rtw_init_queue(&precvpriv->free_recv_buf_queue); in rtw_hal_init_recv_priv() 32 precvpriv->precv_buf = in rtw_hal_init_recv_priv() 34 if (!precvpriv->precv_buf) { in rtw_hal_init_recv_priv() 40 precvbuf = precvpriv->precv_buf; in rtw_hal_init_recv_priv() 49 skb_queue_head_init(&precvpriv->rx_skb_queue); in rtw_hal_init_recv_priv() 54 skb_queue_head_init(&precvpriv->free_recv_skb_queue); in rtw_hal_init_recv_priv() 61 skb_queue_tail(&precvpriv->free_recv_skb_queue, in rtw_hal_init_recv_priv() 75 struct recv_priv *precvpriv = &padapter->recvpriv; in rtw_hal_free_recv_priv() local [all …]
|
D | odm.c | 1072 struct recv_priv *precvpriv = &(Adapter->recvpriv); in odm_EdcaTurboCheckCE() local 1084 if ((bbtchange) || (!precvpriv->bIsAnyNonBEPkts)) { in odm_EdcaTurboCheckCE() 1086 cur_rx_bytes = precvpriv->rx_bytes - precvpriv->last_rx_bytes; in odm_EdcaTurboCheckCE() 1132 precvpriv->bIsAnyNonBEPkts = false; in odm_EdcaTurboCheckCE() 1134 precvpriv->last_rx_bytes = precvpriv->rx_bytes; in odm_EdcaTurboCheckCE()
|
D | usb_halinit.c | 973 struct recv_priv *precvpriv = &Adapter->recvpriv; in rtw_hal_inirp_init() local 981 precvbuf = precvpriv->precv_buf; in rtw_hal_inirp_init()
|
/Linux-v4.19/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_recv.c | 188 static inline union recv_frame *try_alloc_recvframe(struct recv_priv *precvpriv, in try_alloc_recvframe() argument 193 precvframe = rtw_alloc_recvframe(&precvpriv->free_recv_queue); in try_alloc_recvframe() 197 &precvpriv->recv_buf_pending_queue); in try_alloc_recvframe() 201 tasklet_schedule(&precvpriv->recv_tasklet); in try_alloc_recvframe() 207 static inline bool rx_crc_err(struct recv_priv *precvpriv, in rx_crc_err() argument 216 rtw_free_recvframe(precvframe, &precvpriv->free_recv_queue); in rx_crc_err() 223 static inline bool pkt_exceeds_tail(struct recv_priv *precvpriv, in pkt_exceeds_tail() argument 230 rtw_free_recvframe(precvframe, &precvpriv->free_recv_queue); in pkt_exceeds_tail() 241 struct recv_priv *precvpriv; in rtl8723bs_recv_tasklet() local 253 precvpriv = &padapter->recvpriv; in rtl8723bs_recv_tasklet() [all …]
|
D | odm_EdcaTurboCheck.c | 79 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-v4.19/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 63 sint _r8712_init_recv_priv(struct recv_priv *precvpriv, in _r8712_init_recv_priv() argument 69 memset((unsigned char *)precvpriv, 0, sizeof(struct recv_priv)); in _r8712_init_recv_priv() 70 spin_lock_init(&precvpriv->lock); in _r8712_init_recv_priv() 71 _init_queue(&precvpriv->free_recv_queue); in _r8712_init_recv_priv() 72 _init_queue(&precvpriv->recv_pending_queue); in _r8712_init_recv_priv() 73 precvpriv->adapter = padapter; in _r8712_init_recv_priv() 74 precvpriv->free_recvframe_cnt = NR_RECVFRAME; in _r8712_init_recv_priv() 75 precvpriv->pallocated_frame_buf = kzalloc(NR_RECVFRAME * in _r8712_init_recv_priv() 78 if (precvpriv->pallocated_frame_buf == NULL) in _r8712_init_recv_priv() 80 kmemleak_not_leak(precvpriv->pallocated_frame_buf); in _r8712_init_recv_priv() [all …]
|
D | rtl8712_recv.c | 50 int r8712_init_recv_priv(struct recv_priv *precvpriv, struct _adapter *padapter) in r8712_init_recv_priv() argument 60 _init_queue(&precvpriv->free_recv_buf_queue); in r8712_init_recv_priv() 61 precvpriv->pallocated_recv_buf = in r8712_init_recv_priv() 63 if (!precvpriv->pallocated_recv_buf) in r8712_init_recv_priv() 65 precvpriv->precv_buf = precvpriv->pallocated_recv_buf + 4 - in r8712_init_recv_priv() 66 ((addr_t) (precvpriv->pallocated_recv_buf) & 3); in r8712_init_recv_priv() 67 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in r8712_init_recv_priv() 77 &(precvpriv->free_recv_buf_queue.queue)); in r8712_init_recv_priv() 80 precvpriv->free_recv_buf_queue_cnt = NR_RECVBUFF; in r8712_init_recv_priv() 81 tasklet_init(&precvpriv->recv_tasklet, in r8712_init_recv_priv() [all …]
|
D | recv_osdep.h | 33 sint _r8712_init_recv_priv(struct recv_priv *precvpriv, 35 void _r8712_free_recv_priv(struct recv_priv *precvpriv); 40 int r8712_init_recv_priv(struct recv_priv *precvpriv, 42 void r8712_free_recv_priv(struct recv_priv *precvpriv);
|
D | usb_ops_linux.c | 199 struct recv_priv *precvpriv = &padapter->recvpriv; in r8712_usb_read_port_complete() local 206 r8712_read_port(padapter, precvpriv->ff_hwaddr, 0, in r8712_usb_read_port_complete() 216 skb_queue_tail(&precvpriv->rx_skb_queue, pskb); in r8712_usb_read_port_complete() 217 r8712_read_port(padapter, precvpriv->ff_hwaddr, in r8712_usb_read_port_complete() 221 skb_queue_tail(&precvpriv->rx_skb_queue, pskb); in r8712_usb_read_port_complete() 222 tasklet_hi_schedule(&precvpriv->recv_tasklet); in r8712_usb_read_port_complete() 223 r8712_read_port(padapter, precvpriv->ff_hwaddr, in r8712_usb_read_port_complete() 242 r8712_read_port(padapter, precvpriv->ff_hwaddr, 0, in r8712_usb_read_port_complete() 266 struct recv_priv *precvpriv = &adapter->recvpriv; in r8712_usb_read_port() local 274 precvbuf->pskb = skb_dequeue(&precvpriv->free_recv_skb_queue); in r8712_usb_read_port()
|
D | recv_linux.c | 109 struct recv_priv *precvpriv; in r8712_recv_indicatepkt() local 114 precvpriv = &padapter->recvpriv; in r8712_recv_indicatepkt() 115 pfree_recv_queue = &precvpriv->free_recv_queue; in r8712_recv_indicatepkt() 138 precvpriv->rx_drop++; in r8712_recv_indicatepkt()
|
D | usb_halinit.c | 300 struct recv_priv *precvpriv = &(padapter->recvpriv); in r8712_usb_inirp_init() local 302 precvpriv->ff_hwaddr = RTL8712_DMA_RX0FF; /* mapping rx fifo address */ in r8712_usb_inirp_init() 304 precvbuf = (struct recv_buf *)precvpriv->precv_buf; in r8712_usb_inirp_init() 306 if (r8712_usb_read_port(pintfhdl, precvpriv->ff_hwaddr, 0, in r8712_usb_inirp_init() 310 precvpriv->free_recv_buf_queue_cnt--; in r8712_usb_inirp_init()
|
D | os_intfs.c | 185 struct recv_priv *precvpriv = &padapter->recvpriv; in r871x_net_get_stats() local 188 padapter->stats.rx_packets = precvpriv->rx_pkts; in r871x_net_get_stats() 190 padapter->stats.rx_dropped = precvpriv->rx_drop; in r871x_net_get_stats() 192 padapter->stats.rx_bytes = precvpriv->rx_bytes; in r871x_net_get_stats()
|
/Linux-v4.19/drivers/staging/rtl8723bs/include/ |
D | recv_osdep.h | 11 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-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 35 sint _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter) in _rtw_init_recv_priv() argument 41 spin_lock_init(&precvpriv->lock); in _rtw_init_recv_priv() 43 _rtw_init_queue(&precvpriv->free_recv_queue); in _rtw_init_recv_priv() 44 _rtw_init_queue(&precvpriv->recv_pending_queue); in _rtw_init_recv_priv() 45 _rtw_init_queue(&precvpriv->uc_swdec_pending_queue); 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() 51 …precvpriv->pallocated_frame_buf = vzalloc(NR_RECVFRAME * sizeof(union recv_frame) + RXFRAME_ALIGN_… in _rtw_init_recv_priv() 53 if (precvpriv->pallocated_frame_buf == NULL) { in _rtw_init_recv_priv() 58 …precvpriv->precv_frame_buf = (u8 *)N_BYTE_ALIGMENT((SIZE_PTR)(precvpriv->pallocated_frame_buf), RX… in _rtw_init_recv_priv() [all …]
|
D | rtw_debug.c | 546 struct recv_priv *precvpriv = &padapter->recvpriv; in proc_get_trx_info() local 554 , precvpriv->free_recvframe_cnt); in proc_get_trx_info()
|
/Linux-v4.19/drivers/staging/rtl8188eu/include/ |
D | recv_osdep.h | 14 int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter); 15 void _rtw_free_recv_priv(struct recv_priv *precvpriv);
|
D | rtw_recv.h | 233 struct recv_priv *precvpriv);
|
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_recv.c | 45 int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter) in _rtw_init_recv_priv() argument 53 _rtw_init_queue(&precvpriv->free_recv_queue); in _rtw_init_recv_priv() 54 _rtw_init_queue(&precvpriv->recv_pending_queue); in _rtw_init_recv_priv() 55 _rtw_init_queue(&precvpriv->uc_swdec_pending_queue); in _rtw_init_recv_priv() 57 precvpriv->adapter = padapter; in _rtw_init_recv_priv() 59 …precvpriv->pallocated_frame_buf = vzalloc(NR_RECVFRAME * sizeof(struct recv_frame) + RXFRAME_ALIGN… in _rtw_init_recv_priv() 61 if (!precvpriv->pallocated_frame_buf) in _rtw_init_recv_priv() 64 precvframe = PTR_ALIGN(precvpriv->pallocated_frame_buf, RXFRAME_ALIGN_SZ); in _rtw_init_recv_priv() 70 &(precvpriv->free_recv_queue.queue)); in _rtw_init_recv_priv() 79 timer_setup(&precvpriv->signal_stat_timer, rtw_signal_stat_timer_hdl, in _rtw_init_recv_priv() [all …]
|
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/ |
D | usb_ops_linux.c | 44 struct recv_priv *precvpriv = &adapt->recvpriv; in recvbuf2recvframe() local 45 struct __queue *pfree_recv_queue = &precvpriv->free_recv_queue; in recvbuf2recvframe() 349 struct recv_priv *precvpriv = &adapt->recvpriv; in usb_read_port_complete() local 374 skb_queue_tail(&precvpriv->rx_skb_queue, precvbuf->pskb); in usb_read_port_complete() 376 if (skb_queue_len(&precvpriv->rx_skb_queue) <= 1) in usb_read_port_complete() 377 tasklet_schedule(&precvpriv->recv_tasklet); in usb_read_port_complete() 420 struct recv_priv *precvpriv = &adapter->recvpriv; in usb_read_port() local 440 precvbuf->pskb = skb_dequeue(&precvpriv->free_recv_skb_queue); in usb_read_port() 762 struct recv_priv *precvpriv = &adapt->recvpriv; in rtl8188eu_recv_tasklet() local 764 while (NULL != (pskb = skb_dequeue(&precvpriv->rx_skb_queue))) { in rtl8188eu_recv_tasklet() [all …]
|
D | recv_linux.c | 67 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()
|
D | os_intfs.c | 202 struct recv_priv *precvpriv = &(padapter->recvpriv); in rtw_net_get_stats() local 205 padapter->stats.rx_packets = precvpriv->rx_pkts; in rtw_net_get_stats() 207 padapter->stats.rx_dropped = precvpriv->rx_drop; in rtw_net_get_stats() 209 padapter->stats.rx_bytes = precvpriv->rx_bytes; in rtw_net_get_stats()
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 34 void rtw_os_recv_resource_free(struct recv_priv *precvpriv) in rtw_os_recv_resource_free() argument 39 precvframe = (union recv_frame*) precvpriv->precv_frame_buf; in rtw_os_recv_resource_free() 293 struct recv_priv *precvpriv; in rtw_recv_indicatepkt() local 300 precvpriv = &(padapter->recvpriv); in rtw_recv_indicatepkt() 301 pfree_recv_queue = &(precvpriv->free_recv_queue); in rtw_recv_indicatepkt()
|
D | os_intfs.c | 359 struct recv_priv *precvpriv = &(padapter->recvpriv); in rtw_net_get_stats() local 362 padapter->stats.rx_packets = precvpriv->rx_pkts;/* precvpriv->rx_pkts++; */ in rtw_net_get_stats() 364 padapter->stats.rx_dropped = precvpriv->rx_drop; in rtw_net_get_stats() 366 padapter->stats.rx_bytes = precvpriv->rx_bytes; in rtw_net_get_stats()
|