Lines Matching defs:phydev
503 struct phy_device *phydev;
690 return phy_ethtool_gset(priv->phydev, ecmd);
708 return phy_ethtool_sset(priv->phydev, ecmd);
845 new_duplex = priv->phydev->duplex;
2427 struct phy_device *phydev = priv->phydev;
2433 if (phydev->link) {
2435 if (phydev->duplex != priv->duplex) {
2437 priv->duplex = phydev->duplex;
2439 if (phydev->speed != priv->speed) {
2441 priv->speed = phydev->speed;
2456 phy_print_status(priv->phydev);
2564 priv->phydev = NULL;
2569 priv->phydev = priv->mii_bus->phy_map[phy_addr];
2574 if (!priv->phydev) {
2579 priv->phydev = phy_connect(ndev, dev_name(&priv->phydev->dev),
2582 if (IS_ERR(priv->phydev)) {
2585 return PTR_ERR(priv->phydev);
2594 priv->phydev->drv->name, dev_name(&priv->phydev->dev),
2595 priv->phydev->phy_id);
2611 phy_start(priv->phydev);
2657 if (priv->phydev)
2658 phy_disconnect(priv->phydev);