Home
last modified time | relevance | path

Searched refs:rx_tail (Results 1 – 25 of 92) sorted by relevance

1234

/OK3568_Linux_fs/kernel/drivers/staging/rtl8712/
H A Drtl871x_recv.h160 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
176 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
177 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
178 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
182 return precvframe->u.hdr.rx_tail; in recvframe_put()
194 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
195 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
196 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
200 return precvframe->u.hdr.rx_tail; in recvframe_pull_tail()
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/include/
H A Drtw_recv.h352 u8 *rx_tail; member
435 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) in recvframe_pull()
458 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
460 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
462 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) in recvframe_put()
464 precvframe->u.hdr.rx_tail = prev_rx_tail; in recvframe_put()
470 return precvframe->u.hdr.rx_tail; in recvframe_put()
486 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
488 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) in recvframe_pull_tail()
490 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/include/
H A Drtw_recv.h373 u8 *rx_tail; member
550 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
574 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
576 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
578 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
579 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
585 return precvframe->u.hdr.rx_tail; in recvframe_put()
601 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
603 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
604 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/
H A Drtw_recv.h373 u8 *rx_tail; member
550 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
574 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
576 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
578 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
579 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
585 return precvframe->u.hdr.rx_tail; in recvframe_put()
601 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
603 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
604 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/
H A Drtw_recv.h584 u8 *rx_tail; member
719 if(precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) in recvframe_pull()
744 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
746 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
748 if(precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) in recvframe_put()
750 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
756 return precvframe->u.hdr.rx_tail; in recvframe_put()
772 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
774 if(precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) in recvframe_pull_tail()
776 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/
H A Drtw_recv.h585 u8 *rx_tail; member
718 if(precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) in recvframe_pull()
743 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
745 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
747 if(precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) in recvframe_put()
749 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
755 return precvframe->u.hdr.rx_tail; in recvframe_put()
771 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
773 if(precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) in recvframe_pull_tail()
775 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/include/
H A Drtw_recv.h589 u8 *rx_tail; member
738 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
762 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
764 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
766 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
767 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
773 return precvframe->u.hdr.rx_tail; in recvframe_put()
789 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
791 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
792 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/include/
H A Drtw_recv.h550 u8 *rx_tail; member
690 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
714 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
716 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
718 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
719 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
725 return precvframe->u.hdr.rx_tail; in recvframe_put()
741 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
743 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
744 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/
H A Drtw_recv.h593 u8 *rx_tail; member
727 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
751 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
753 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
755 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
756 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
762 return precvframe->u.hdr.rx_tail; in recvframe_put()
778 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
780 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
781 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/include/
H A Drtw_recv.h590 u8 *rx_tail; member
739 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
763 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
765 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
767 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
768 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
774 return precvframe->u.hdr.rx_tail; in recvframe_put()
790 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
792 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
793 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/include/
H A Drtw_recv.h555 u8 *rx_tail; member
695 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
719 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
721 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
723 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
724 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
730 return precvframe->u.hdr.rx_tail; in recvframe_put()
746 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
748 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
749 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/include/
H A Drtw_recv.h554 u8 *rx_tail; member
694 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
718 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
720 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
722 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
723 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
729 return precvframe->u.hdr.rx_tail; in recvframe_put()
745 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
747 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
748 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/include/
H A Drtw_recv.h557 u8 *rx_tail; member
706 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
730 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
732 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
734 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
735 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
741 return precvframe->u.hdr.rx_tail; in recvframe_put()
757 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
759 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
760 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/include/
H A Drtw_recv.h583 u8 *rx_tail; member
721 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
745 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
747 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
749 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
750 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
756 return precvframe->u.hdr.rx_tail; in recvframe_put()
772 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
774 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
775 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/include/
H A Drtw_recv.h550 u8 *rx_tail; member
690 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
714 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
716 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
718 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
719 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
725 return precvframe->u.hdr.rx_tail; in recvframe_put()
741 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
743 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
744 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/include/
H A Drtw_recv.h589 u8 *rx_tail; member
738 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
762 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
764 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
766 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
767 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
773 return precvframe->u.hdr.rx_tail; in recvframe_put()
789 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
791 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
792 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/include/
H A Drtw_recv.h590 u8 *rx_tail; member
739 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
763 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
765 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
767 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
768 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
774 return precvframe->u.hdr.rx_tail; in recvframe_put()
790 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
792 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
793 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/include/
H A Drtw_recv.h589 u8 *rx_tail; member
738 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
762 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
764 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
766 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
767 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
773 return precvframe->u.hdr.rx_tail; in recvframe_put()
789 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
791 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
792 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/include/
H A Drtw_recv.h674 u8 *rx_tail; member
823 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
847 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
849 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
851 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
852 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
858 return precvframe->u.hdr.rx_tail; in recvframe_put()
874 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
876 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
877 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/include/
H A Drtw_recv.h674 u8 *rx_tail; member
823 if (precvframe->u.hdr.rx_data > precvframe->u.hdr.rx_tail) { in recvframe_pull()
847 prev_rx_tail = precvframe->u.hdr.rx_tail; in recvframe_put()
849 precvframe->u.hdr.rx_tail += sz; in recvframe_put()
851 if (precvframe->u.hdr.rx_tail > precvframe->u.hdr.rx_end) { in recvframe_put()
852 precvframe->u.hdr.rx_tail -= sz; in recvframe_put()
858 return precvframe->u.hdr.rx_tail; in recvframe_put()
874 precvframe->u.hdr.rx_tail -= sz; in recvframe_pull_tail()
876 if (precvframe->u.hdr.rx_tail < precvframe->u.hdr.rx_data) { in recvframe_pull_tail()
877 precvframe->u.hdr.rx_tail += sz; in recvframe_pull_tail()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c294 unsigned rx_tail; member
370 static void de_rx_err_acct (struct de_private *de, unsigned rx_tail, in de_rx_err_acct() argument
375 rx_tail, status, len); in de_rx_err_acct()
396 unsigned rx_tail = de->rx_tail; in de_rx() local
407 skb = de->rx_skb[rx_tail].skb; in de_rx()
410 status = le32_to_cpu(de->rx_ring[rx_tail].opts1); in de_rx()
418 mapping = de->rx_skb[rx_tail].mapping; in de_rx()
426 de_rx_err_acct(de, rx_tail, status, len); in de_rx()
434 rx_tail, status, len, copying_skb); in de_rx()
451 de->rx_skb[rx_tail].mapping = in de_rx()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/
H A D8139cp.c337 unsigned rx_tail; member
434 static void cp_rx_err_acct (struct cp_private *cp, unsigned rx_tail, in cp_rx_err_acct() argument
438 rx_tail, status, len); in cp_rx_err_acct()
467 unsigned int rx_tail = cp->rx_tail; in cp_rx_poll() local
479 skb = cp->rx_skb[rx_tail]; in cp_rx_poll()
482 desc = &cp->rx_ring[rx_tail]; in cp_rx_poll()
496 cp_rx_err_acct(cp, rx_tail, status, len); in cp_rx_poll()
503 cp_rx_err_acct(cp, rx_tail, status, len); in cp_rx_poll()
508 rx_tail, status, len); in cp_rx_poll()
535 cp->rx_skb[rx_tail] = new_skb; in cp_rx_poll()
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dldc.c132 unsigned long rx_tail; member
548 &lp->rx_tail, in ldc_abort()
804 &lp->rx_tail, in ldc_rx()
808 orig_state, lp->chan_state, lp->rx_head, lp->rx_tail); in ldc_rx()
849 if (lp->rx_head != lp->rx_tail) in ldc_rx()
858 while (lp->rx_head != lp->rx_tail) { in ldc_rx()
1482 return __set_rx_head(lp, lp->rx_tail); in ldc_rx_reset()
1494 lp->rx_head, lp->rx_tail, lp->rx_num_entries, in __ldc_print()
1541 &lp->rx_tail, in read_raw()
1550 if (lp->rx_head == lp->rx_tail) in read_raw()
[all …]
/OK3568_Linux_fs/u-boot/drivers/net/
H A Dmacb.c90 unsigned int rx_tail; member
353 i = macb->rx_tail; in reclaim_rx_buffers()
370 macb->rx_tail = new_tail; in reclaim_rx_buffers()
389 if (next_rx_tail != macb->rx_tail) in _macb_recv()
395 buffer = macb->rx_buffer + 128 * macb->rx_tail; in _macb_recv()
403 - macb->rx_tail); in _macb_recv()
647 macb->rx_tail = 0; in _macb_init()
865 macb->next_rx_tail = macb->rx_tail; in macb_recv()
965 macb->next_rx_tail = macb->rx_tail; in macb_recv()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/apple/
H A Dmacmace.c63 int rx_slot, rx_tail; member
109 mp->rx_tail = 0; in mace_load_rxdma_base()
701 while (mp->rx_tail < head) { in mace_dma_intr()
703 + (mp->rx_tail * MACE_BUFF_SIZE))); in mace_dma_intr()
704 mp->rx_tail++; in mace_dma_intr()

1234