Lines Matching defs:phydev
970 struct phy_device *phydev;
978 phydev = b53_get_phy_device(ds, port);
979 if (!phydev)
982 phy_ethtool_get_strings(phydev, data);
1022 struct phy_device *phydev;
1024 phydev = b53_get_phy_device(ds, port);
1025 if (!phydev)
1028 phy_ethtool_get_stats(phydev, NULL, data);
1035 struct phy_device *phydev;
1040 phydev = b53_get_phy_device(ds, port);
1041 if (!phydev)
1044 return phy_ethtool_get_sset_count(phydev);
1257 struct phy_device *phydev)
1265 if (!phy_is_pseudo_fixed_link(phydev))
1272 if (phydev->pause) {
1273 if (phydev->asym_pause)
1278 b53_force_port_config(dev, port, phydev->speed, phydev->duplex,
1280 b53_force_link(dev, port, phydev->link);
1283 b53_adjust_63xx_rgmii(ds, port, phydev->interface);
1285 if (is531x5(dev) && phy_interface_is_rgmii(phydev)) {
1312 if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID)
1314 if (phydev->interface == PHY_INTERFACE_MODE_RGMII)
1320 phy_modes(phydev->interface));
1344 p->eee_enabled = b53_eee_init(ds, port, phydev);
1440 struct phy_device *phydev,