Lines Matching +full:phy +full:- +full:pma

1 /* SPDX-License-Identifier: GPL-2.0 */
6 * Copyright (c) 2010 - 2012 Xilinx, Inc. All rights reserved.
148 #define XAE_IFGP_OFFSET 0x00000008 /* Tx Inter-frame gap adjustment*/
158 #define XAE_PPST_OFFSET 0x00000030 /* PCS PMA Soft Temac Status Reg */
178 #define XAE_AM0_OFFSET 0x00000750 /* Frame Filter Mask Value Bytes 3-0 */
179 #define XAE_AM1_OFFSET 0x00000754 /* Frame Filter Mask Value Bytes 7-4 */
206 /* Transmit inter-frame gap adjustment value */
222 #define XAE_INT_PHYRSTCMPLT_MASK 0x00000100 /* Phy Reset complete */
240 /* In-Band FCS enable (FCS not stripped) */
256 /* In-Band FCS enable (FCS not generated) */
260 /* Inter-frame gap adjustment enable */
282 #define XAE_PHYC_RGMIIHD_MASK 0x00000002 /* RGMII Half-duplex */
306 #define XAE_MDIO_MCR_PHYAD_MASK 0x1F000000 /* Phy Address Mask */
307 #define XAE_MDIO_MCR_PHYAD_SHIFT 24 /* Phy Address Shift */
359 /* Xilinx PCS/PMA PHY register for switching 1000BaseX or SGMII */
363 /* enum temac_stat - TEMAC statistics counters
419 * struct axidma_bd - Axi Dma buffer descriptor layout
455 * struct skbuf_dma_descriptor - skb for each dma descriptor
471 * struct axienet_local - axienet private per device data
476 * @pcs_phy: Reference to PCS/PMA PHY if used
477 * @pcs: phylink pcs structure for PCS PHY
479 * @axi_clk: AXI4-Lite bus clock
480 * @misc_clks: Misc ethernet clocks (AXI4-Stream, Ref, MGT clocks)
510 * @hw_last_counter: Last-seen value of each statistic counter
524 * @phy_mode: Phy type to identify between MII/GMII/RGMII/SGMII/1000 Base-X
626 * struct axienet_option - Used to set axi ethernet hardware options
638 * axienet_ior - Memory mapped Axi Ethernet register read
648 return ioread32(lp->regs + offset); in axienet_ior()
658 if (lp->mii_bus) in axienet_lock_mii()
659 mutex_lock(&lp->mii_bus->mdio_lock); in axienet_lock_mii()
664 if (lp->mii_bus) in axienet_unlock_mii()
665 mutex_unlock(&lp->mii_bus->mdio_lock); in axienet_unlock_mii()
669 * axienet_iow - Memory mapped Axi Ethernet register write
680 iowrite32(value, lp->regs + offset); in axienet_iow()
684 * axienet_dma_out32 - Memory mapped Axi DMA register write.
696 iowrite32(value, lp->dma_regs + reg); in axienet_dma_out32()
701 * axienet_dma_out64 - Memory mapped Axi DMA register write.
712 iowrite64(value, lp->dma_regs + reg); in axienet_dma_out64()
718 if (lp->features & XAE_FEATURE_DMA_64BIT) in axienet_dma_out_addr()