/linux-6.12.1/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_recv.c | 174 static inline union recv_frame *try_alloc_recvframe(struct recv_priv *precvpriv, in try_alloc_recvframe() argument 179 precvframe = rtw_alloc_recvframe(&precvpriv->free_recv_queue); in try_alloc_recvframe() 182 &precvpriv->recv_buf_pending_queue); in try_alloc_recvframe() 186 tasklet_schedule(&precvpriv->recv_tasklet); in try_alloc_recvframe() 192 static inline bool rx_crc_err(struct recv_priv *precvpriv, in rx_crc_err() argument 199 rtw_free_recvframe(precvframe, &precvpriv->free_recv_queue); in rx_crc_err() 206 static inline bool pkt_exceeds_tail(struct recv_priv *precvpriv, in pkt_exceeds_tail() argument 211 rtw_free_recvframe(precvframe, &precvpriv->free_recv_queue); in pkt_exceeds_tail() 223 struct recv_priv *precvpriv; in rtl8723bs_recv_tasklet() local 234 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.12.1/drivers/staging/rtl8712/ |
D | rtl871x_recv.c | 45 int _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 precvpriv->precv_frame_buf = precvpriv->pallocated_frame_buf + in _r8712_init_recv_priv() [all …]
|
D | rtl8712_recv.c | 33 int 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 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);
|
D | usb_ops_linux.c | 180 struct recv_priv *precvpriv = &padapter->recvpriv; in r8712_usb_read_port_complete() local 187 r8712_read_port(padapter, precvpriv->ff_hwaddr, 0, in r8712_usb_read_port_complete() 197 skb_queue_tail(&precvpriv->rx_skb_queue, pskb); in r8712_usb_read_port_complete() 198 r8712_read_port(padapter, precvpriv->ff_hwaddr, in r8712_usb_read_port_complete() 202 skb_queue_tail(&precvpriv->rx_skb_queue, pskb); in r8712_usb_read_port_complete() 203 tasklet_hi_schedule(&precvpriv->recv_tasklet); in r8712_usb_read_port_complete() 204 r8712_read_port(padapter, precvpriv->ff_hwaddr, in r8712_usb_read_port_complete() 223 r8712_read_port(padapter, precvpriv->ff_hwaddr, 0, in r8712_usb_read_port_complete() 247 struct recv_priv *precvpriv = &adapter->recvpriv; in r8712_usb_read_port() local 255 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.12.1/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.12.1/drivers/staging/rtl8723bs/core/ |
D | rtw_recv.c | 31 signed int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter) in _rtw_init_recv_priv() argument 37 spin_lock_init(&precvpriv->lock); in _rtw_init_recv_priv() 39 INIT_LIST_HEAD(&precvpriv->free_recv_queue.queue); in _rtw_init_recv_priv() 40 spin_lock_init(&precvpriv->free_recv_queue.lock); in _rtw_init_recv_priv() 41 INIT_LIST_HEAD(&precvpriv->recv_pending_queue.queue); in _rtw_init_recv_priv() 42 spin_lock_init(&precvpriv->recv_pending_queue.lock); in _rtw_init_recv_priv() 43 INIT_LIST_HEAD(&precvpriv->uc_swdec_pending_queue.queue); in _rtw_init_recv_priv() 44 spin_lock_init(&precvpriv->uc_swdec_pending_queue.lock); in _rtw_init_recv_priv() 46 precvpriv->adapter = padapter; in _rtw_init_recv_priv() 48 precvpriv->free_recvframe_cnt = NR_RECVFRAME; in _rtw_init_recv_priv() [all …]
|
/linux-6.12.1/drivers/staging/rtl8723bs/os_dep/ |
D | recv_linux.c | 28 void rtw_os_recv_resource_free(struct recv_priv *precvpriv) in rtw_os_recv_resource_free() argument 33 precvframe = (union recv_frame *) precvpriv->precv_frame_buf; in rtw_os_recv_resource_free() 188 struct recv_priv *precvpriv; in rtw_recv_indicatepkt() local 193 precvpriv = &(padapter->recvpriv); in rtw_recv_indicatepkt() 194 pfree_recv_queue = &(precvpriv->free_recv_queue); in rtw_recv_indicatepkt()
|
D | os_intfs.c | 296 struct recv_priv *precvpriv = &(padapter->recvpriv); in rtw_net_get_stats() local 299 padapter->stats.rx_packets = precvpriv->rx_pkts;/* precvpriv->rx_pkts++; */ in rtw_net_get_stats() 301 padapter->stats.rx_dropped = precvpriv->rx_drop; in rtw_net_get_stats() 303 padapter->stats.rx_bytes = precvpriv->rx_bytes; in rtw_net_get_stats()
|