Lines Matching +full:tx +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>
47 /* TX and RX Descriptor Length, these need to be power of two.
48 * TX descriptor length less than 64 may cause transmit queue timed out error.
57 #define STMMAC_GET_ENTRY(x, size) ((x + 1) & (size - 1))
78 /* Updates protected by tx queue lock. */
140 /* Tx/Rx IRQ error info */
150 /* Tx/Rx IRQ Events */
190 /* PCS */
269 /* PCS defines */
275 #define SF_DMA_MODE 1 /* DMA STORE-AND-FORWARD Operation Mode */
280 #define DMA_HW_FEAT_HDSEL 0x00000004 /* Half-Duplex Support */
284 #define DMA_HW_FEAT_PCSSEL 0x00000040 /* PCS registers */
290 #define DMA_HW_FEAT_TSVER1SEL 0x00001000 /* Only IEEE 1588-2002 */
291 #define DMA_HW_FEAT_TSVER2SEL 0x00002000 /* IEEE 1588-2008 PTPv2 */
294 #define DMA_HW_FEAT_TXCOESEL 0x00010000 /* Checksum Offload in Tx */
299 #define DMA_HW_FEAT_TXCHCNT 0x00c00000 /* No. additional Tx Channels */
311 /* PCS status and mask defines */
312 #define PCS_ANE_IRQ BIT(2) /* PCS Auto-Negotiation */
313 #define PCS_LINK_IRQ BIT(1) /* PCS Link */
320 /* Tx coalesce parameters */
346 /* Tx status */
413 unsigned int pcs; member
418 /* IEEE 1588-2002 */
420 /* IEEE 1588-2008 */
422 /* 802.3az - Energy-Efficient Ethernet (EEE) */
427 /* TX and RX csum */
433 /* TX and RX number of channels */
436 /* TX and RX number of queues */
449 /* One-Step Timestamping Enable */
451 /* Priority-Based Flow Control Enable */
455 /* TX and RX FIFO sizes */
475 /* Tx Timestamp FIFO Depth */
477 /* Queue/Channel-Based VLAN tag insertion on Tx */
491 /* Per-Stream Filtering Enable */
593 struct phylink_pcs *lynx_pcs; /* Lynx external PCS */
601 unsigned int pcs; member