Lines Matching +full:rx +full:- +full:threshold
1 /* SPDX-License-Identifier: GPL-2.0 */
5 * Copyright (C) 2008-2009 Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
6 * Copyright (C) 2010 Michał Mirosław <mirq-linux@rere.qmqm.pl>
49 * GMAC 0/1 SW TX Q0-5, and GMAC 0/1 HW TX Q0-5
58 #define __RWPTR_PREV(x, mask) (((unsigned int)(x) - 1) & (mask))
59 #define __RWPTR_DISTANCE(r, w, mask) (((unsigned int)(w) - (r)) & (mask))
60 #define __RWPTR_MASK(order) ((1 << (order)) - 1)
145 /* GMAC Hash/Rx/Tx AHB Weighting register */
274 #define TOE_QH_FULL_INT_BIT(x) BIT(x - 32)
321 /* 7:0 Software Free Queue Empty Threshold */
323 /* 15:8 Hardware Free Queue Empty Threshold */
361 /* bit 31 Rx DMA Enable */
515 /* GMAC DMA Rx Description Word 0 Register
526 /* bit 24:22 Status of rx frame */
581 /* GMAC DMA Rx Description Word 1 Register
588 /* bit 15: 0 Rx Frame Byte Count */
595 /* GMAC DMA Rx Description Word 2 Register
609 /* GMAC DMA Rx Description Word 3 Register
639 /* GMAC Rx Descriptor, this is simply fitted over the queue registers */
682 /* 19:15 Rx Data Pre Request FIFO Threshold */
684 /* 24:20 DMA TqCtrl to Start tqDV FIFO Threshold */
691 /* GMAC RX FLTR
729 /* 3: flow control also trigged by Rx queues */
731 /* 4-7: adjust IFG from 96+/-56 */
733 /* 8-10 maximum receive frame length allowed */
735 /* 11: disable back-off function */
741 /* 14: RX flow control enable */
745 /* 16: RGMII in-band status enable */
747 /* 17: IPv4 RX Checksum enable */
749 /* 18: IPv6 RX Checksum enable */
751 /* 19: Remove Rx VLAN tag */
803 /* Flow control set threshold */
805 /* Flow control release threshold */
823 /* Flow control set threshold */
825 /* Flow control release threshold */
837 /* Flow control set threshold */
839 /* Flow control release threshold */
853 /* Link speed(00->2.5M 01->25M 10->125M) */
875 * (2) Non-TOE Queue Header
880 * 0x60003000 +---------------------------+ 0x0000
883 * +---------------------------+ 0x0020
886 * +---------------------------+ 0x0040
889 * +---------------------------+
892 * 0x60002000 +---------------------------+ 0x0000
895 * +---------------------------+ 0x0008
898 * +---------------------------+ 0x0010
901 * +---------------------------+
904 * +---------------------------+ (n * 8 + 0x10)
907 * +---------------------------+ (13 * 8 + 0x10)
910 * +---------------------------+ 0x80
913 * +---------------------------+
916 * +---------------------------+
919 * +---------------------------+
922 * +---------------------------+
952 /* Non-TOE Queue Header */