Lines Matching refs:phy_dev
408 struct phy_device *phy_dev; member
542 struct phy_device *phydev = lp->phy_dev; in tc_handle_link_change()
663 lp->phy_dev = phydev; in tc_mii_probe()
883 phy_disconnect(lp->phy_dev); in tc35815_remove_one()
1174 if (lp->phy_dev) { in tc35815_restart()
1175 ret = phy_init_hw(lp->phy_dev); in tc35815_restart()
1267 phy_start(lp->phy_dev); in tc35815_open()
1850 if (lp->phy_dev) in tc35815_close()
1851 phy_stop(lp->phy_dev); in tc35815_close()
1981 if (!lp->phy_dev) in tc35815_get_settings()
1983 return phy_ethtool_gset(lp->phy_dev, cmd); in tc35815_get_settings()
1990 if (!lp->phy_dev) in tc35815_set_settings()
1992 return phy_ethtool_sset(lp->phy_dev, cmd); in tc35815_set_settings()
2060 if (!lp->phy_dev) in tc35815_ioctl()
2062 return phy_mii_ioctl(lp->phy_dev, rq, cmd); in tc35815_ioctl()
2147 if (!lp->phy_dev || !lp->link || lp->duplex == DUPLEX_FULL) in tc35815_chip_init()
2163 if (lp->phy_dev) in tc35815_suspend()
2164 phy_stop(lp->phy_dev); in tc35815_suspend()
2183 if (lp->phy_dev) in tc35815_resume()
2184 phy_start(lp->phy_dev); in tc35815_resume()