Lines Matching +full:tx +full:- +full:threshold
1 /* SPDX-License-Identifier: GPL-2.0 */
5 * fec.h -- Fast Ethernet Controller for Motorola ColdFire SoC
8 * (C) Copyright 2000-2005, Greg Ungerer (gerg@snapgear.com)
9 * (C) Copyright 2000-2001, Lineo (www.lineo.com)
43 #define FEC_TXIC0 0x0f0 /* Tx Interrupt Coalescing for ring 0 */
44 #define FEC_TXIC1 0x0f4 /* Tx Interrupt Coalescing for ring 1 */
45 #define FEC_TXIC2 0x0f8 /* Tx Interrupt Coalescing for ring 2 */
65 #define FEC_R_FIFO_RSFL 0x190 /* Receive FIFO section full threshold */
66 #define FEC_R_FIFO_RSEM 0x194 /* Receive FIFO section empty threshold */
67 #define FEC_R_FIFO_RAEM 0x198 /* Receive FIFO almost empty threshold */
68 #define FEC_R_FIFO_RAFL 0x19c /* Receive FIFO almost full threshold */
76 #define FEC_X_DES_ACTIVE_1 0x1e4 /* Tx descriptor active for ring 1 */
78 #define FEC_X_DES_ACTIVE_2 0x1ec /* Tx descriptor active for ring 2 */
88 #define RMON_T_PACKETS 0x204 /* RMON TX packet count */
89 #define RMON_T_BC_PKT 0x208 /* RMON TX broadcast pkts */
90 #define RMON_T_MC_PKT 0x20c /* RMON TX multicast pkts */
91 #define RMON_T_CRC_ALIGN 0x210 /* RMON TX pkts with CRC align err */
92 #define RMON_T_UNDERSIZE 0x214 /* RMON TX pkts < 64 bytes, good CRC */
93 #define RMON_T_OVERSIZE 0x218 /* RMON TX pkts > MAX_FL bytes good CRC */
94 #define RMON_T_FRAG 0x21c /* RMON TX pkts < 64 bytes, bad CRC */
95 #define RMON_T_JAB 0x220 /* RMON TX pkts > MAX_FL bytes, bad CRC */
96 #define RMON_T_COL 0x224 /* RMON TX collision count */
97 #define RMON_T_P64 0x228 /* RMON TX 64 byte pkts */
98 #define RMON_T_P65TO127 0x22c /* RMON TX 65 to 127 byte pkts */
99 #define RMON_T_P128TO255 0x230 /* RMON TX 128 to 255 byte pkts */
100 #define RMON_T_P256TO511 0x234 /* RMON TX 256 to 511 byte pkts */
101 #define RMON_T_P512TO1023 0x238 /* RMON TX 512 to 1023 byte pkts */
102 #define RMON_T_P1024TO2047 0x23c /* RMON TX 1024 to 2047 byte pkts */
103 #define RMON_T_P_GTE2048 0x240 /* RMON TX pkts > 2048 bytes */
104 #define RMON_T_OCTETS 0x244 /* RMON TX octets */
106 #define IEEE_T_FRAME_OK 0x24c /* Frames tx'd OK */
107 #define IEEE_T_1COL 0x250 /* Frames tx'd with single collision */
108 #define IEEE_T_MCOL 0x254 /* Frames tx'd with multiple collision */
109 #define IEEE_T_DEF 0x258 /* Frames tx'd after deferral delay */
110 #define IEEE_T_LCOL 0x25c /* Frames tx'd with late collision */
111 #define IEEE_T_EXCOL 0x260 /* Frames tx'd with excesv collisions */
112 #define IEEE_T_MACERR 0x264 /* Frames tx'd with TX FIFO underrun */
113 #define IEEE_T_CSERR 0x268 /* Frames tx'd with carrier sense err */
114 #define IEEE_T_SQE 0x26c /* Frames tx'd with SQE err */
115 #define IEEE_T_FDXFC 0x270 /* Flow control pause frames tx'd */
116 #define IEEE_T_OCTETS_OK 0x274 /* Octet count for frames tx'd w/o err */
300 * ENET with AVB IP can support up to 3 independent tx queues and rx queues.
335 /* The number of Tx and Rx buffers. These are allocated from the page
387 #define FEC_ITR_ICFT_DEFAULT 200 /* Set 200 frame count threshold */
388 #define FEC_ITR_ICTT_DEFAULT 1000 /* Set 1000us timer threshold */
393 /* Controller is ENET-MAC */
413 * frames not being transmitted until there is a 0-to-1 transition on
420 * - Two class indicators on receive with configurable priority
421 * - Two class indicators and line speed timer on transmit allowing
423 * - Additional DMA registers provisioned to allow managing up to 3
428 * and the UDMA clears TDAR simultaneously or in a small window (2-4 cycles).
436 * The wait-time-cycles is at least 6 clock cycles of the slower clock between
438 * register clock is 66Mhz, so the wait-time-cycles must be greater than 240ns
467 /* Address of Rx and Tx buffers */
527 /* The saved address of a sent-in-place packet/buffer, for skfree(). */