/linux-6.1.9/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_recv.c | 175 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 …]
|
D | odm_EdcaTurboCheck.c | 61 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/ |
D | rtl871x_recv.c | 47 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 …]
|
D | rtl8712_recv.c | 33 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 …]
|
D | recv_osdep.h | 21 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);
|
D | usb_ops_linux.c | 187 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()
|
D | os_intfs.c | 177 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/ |
D | rtw_recv.c | 40 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/ |
D | recv_osdep.h | 11 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/ |
D | rtw_recv.c | 32 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/ |
D | usb_ops_linux.c | 219 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 …]
|
D | odm.c | 509 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()
|
D | usb_halinit.c | 859 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/ |
D | recv_linux.c | 29 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()
|
D | os_intfs.c | 297 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/ |
D | rtw_recv.h | 246 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/ |
D | os_intfs.c | 234 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()
|