Lines Matching +full:phy +full:- +full:pma
2 * Xilinx PCS/PMA Core phy driver
4 * Copyright (C) 2015 - 2016 Xilinx, Inc.
6 * SPDX-License-Identifier: GPL-2.0+
11 #include <phy.h>
25 /* Known PHY IDs */
49 if (AUTONEG_ENABLE == phydev->autoneg) { in xilinxphy_startup()
54 phydev->duplex = DUPLEX_FULL; in xilinxphy_startup()
56 phydev->duplex = DUPLEX_HALF; in xilinxphy_startup()
60 phydev->speed = SPEED_1000; in xilinxphy_startup()
64 phydev->speed = SPEED_100; in xilinxphy_startup()
68 phydev->speed = SPEED_10; in xilinxphy_startup()
78 phydev->duplex = DUPLEX_FULL; in xilinxphy_startup()
80 phydev->duplex = DUPLEX_HALF; in xilinxphy_startup()
83 phydev->speed = SPEED_1000; in xilinxphy_startup()
85 phydev->speed = SPEED_100; in xilinxphy_startup()
87 phydev->speed = SPEED_10; in xilinxphy_startup()
91 * For 1000BASE-X Phy Mode the speed/duplex will always be in xilinxphy_startup()
94 if (phydev->flags == XAE_PHY_TYPE_1000BASE_X) { in xilinxphy_startup()
95 phydev->duplex = DUPLEX_FULL; in xilinxphy_startup()
96 phydev->speed = SPEED_1000; in xilinxphy_startup()
107 phytype = fdtdec_get_int(gd->fdt_blob, dev_of_offset(phydev->dev), in xilinxphy_of_init()
108 "phy-type", -1); in xilinxphy_of_init()
110 phydev->flags |= XAE_PHY_TYPE_1000BASE_X; in xilinxphy_of_init()
131 .name = "Xilinx PCS/PMA PHY",