Lines Matching refs:phy_dev
847 struct phy_device *phy_dev; in xgene_enet_phy_connect() local
854 phy_dev = of_phy_connect(ndev, np, in xgene_enet_phy_connect()
858 if (phy_dev) in xgene_enet_phy_connect()
862 if (!phy_dev) { in xgene_enet_phy_connect()
870 phy_dev = adev->driver_data; in xgene_enet_phy_connect()
872 phy_dev = NULL; in xgene_enet_phy_connect()
874 if (!phy_dev || in xgene_enet_phy_connect()
875 phy_connect_direct(ndev, phy_dev, &xgene_enet_adjust_link, in xgene_enet_phy_connect()
886 phy_remove_link_mode(phy_dev, ETHTOOL_LINK_MODE_10baseT_Half_BIT); in xgene_enet_phy_connect()
887 phy_remove_link_mode(phy_dev, ETHTOOL_LINK_MODE_100baseT_Half_BIT); in xgene_enet_phy_connect()
888 phy_remove_link_mode(phy_dev, ETHTOOL_LINK_MODE_1000baseT_Half_BIT); in xgene_enet_phy_connect()
889 phy_support_asym_pause(phy_dev); in xgene_enet_phy_connect()