Lines Matching +full:rx +full:- +full:pcs
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 Copyright (C) 2007-2009 STMicroelectronics Ltd
18 #include <linux/pcs/pcs-xpcs.h>
48 /* TX and RX Descriptor Length, these need to be power of two.
50 * RX descriptor length less than 64 may cause inconsistent Rx chain error.
58 #define STMMAC_GET_ENTRY(x, size) ((x + 1) & (size - 1))
141 /* Tx/Rx IRQ error info */
151 /* Tx/Rx IRQ Events */
191 /* PCS */
272 /* PCS defines */
276 #define SF_DMA_MODE 1 /* DMA STORE-AND-FORWARD Operation Mode */
281 #define DMA_HW_FEAT_HDSEL 0x00000004 /* Half-Duplex Support */
285 #define DMA_HW_FEAT_PCSSEL 0x00000040 /* PCS registers */
291 #define DMA_HW_FEAT_TSVER1SEL 0x00001000 /* Only IEEE 1588-2002 */
292 #define DMA_HW_FEAT_TSVER2SEL 0x00002000 /* IEEE 1588-2008 PTPv2 */
296 #define DMA_HW_FEAT_RXTYP1COE 0x00020000 /* IP COE (Type 1) in Rx */
297 #define DMA_HW_FEAT_RXTYP2COE 0x00040000 /* IP COE (Type 2) in Rx */
298 #define DMA_HW_FEAT_RXFIFOSIZE 0x00080000 /* Rx FIFO > 2048 Bytes */
299 #define DMA_HW_FEAT_RXCHCNT 0x00300000 /* No. additional Rx Channels */
312 /* PCS status and mask defines */
313 #define PCS_ANE_IRQ BIT(2) /* PCS Auto-Negotiation */
314 #define PCS_LINK_IRQ BIT(1) /* PCS Link */
337 /* Rx IPC status */
415 unsigned int pcs; member
420 /* IEEE 1588-2002 */
422 /* IEEE 1588-2008 */
424 /* 802.3az - Energy-Efficient Ethernet (EEE) */
429 /* TX and RX csum */
435 /* TX and RX number of channels */
438 /* TX and RX number of queues */
451 /* One-Step Timestamping Enable */
453 /* Priority-Based Flow Control Enable */
457 /* TX and RX FIFO sizes */
462 /* RX Parser */
479 /* Queue/Channel-Based VLAN tag insertion on Tx */
493 /* Per-Stream Filtering Enable */
511 /* RX Buffer size must be multiple of 4/8/16 bytes */
604 unsigned int pcs; member