Lines Matching refs:phydev
191 struct phy_device *phydev = priv->phydev; in gfar_ssettings() local
193 if (NULL == phydev) in gfar_ssettings()
196 return phy_ethtool_sset(phydev, cmd); in gfar_ssettings()
204 struct phy_device *phydev = priv->phydev; in gfar_gsettings() local
208 if (NULL == phydev) in gfar_gsettings()
218 return phy_ethtool_gset(phydev, cmd); in gfar_gsettings()
248 switch (priv->phydev->speed) { in gfar_usecs2ticks()
273 switch (priv->phydev->speed) { in gfar_ticks2usecs()
307 if (NULL == priv->phydev) in gfar_gcoalesce()
368 if (NULL == priv->phydev) in gfar_scoalesce()
532 struct phy_device *phydev = priv->phydev; in gfar_spauseparam() local
536 if (!phydev) in gfar_spauseparam()
539 if (!(phydev->supported & SUPPORTED_Pause) || in gfar_spauseparam()
540 (!(phydev->supported & SUPPORTED_Asym_Pause) && in gfar_spauseparam()
566 oldadv = phydev->advertising & in gfar_spauseparam()
569 phydev->advertising &= in gfar_spauseparam()
571 phydev->advertising |= newadv; in gfar_spauseparam()
572 if (phydev->autoneg) in gfar_spauseparam()
576 return phy_start_aneg(phydev); in gfar_spauseparam()