Lines Matching refs:phy_dev
80 struct phy_device *phy_dev; member
118 struct phy_device *phydev = db->phy_dev; in emac_handle_link_change()
161 db->phy_dev = of_phy_connect(db->ndev, db->phy_node, in emac_mdio_probe()
164 if (!db->phy_dev) { in emac_mdio_probe()
170 db->phy_dev->supported &= PHY_BASIC_FEATURES; in emac_mdio_probe()
171 db->phy_dev->advertising = db->phy_dev->supported; in emac_mdio_probe()
184 phy_disconnect(db->phy_dev); in emac_mdio_remove()
185 db->phy_dev = NULL; in emac_mdio_remove()
212 struct phy_device *phydev = dm->phy_dev; in emac_ioctl()
235 struct phy_device *phydev = dm->phy_dev; in emac_get_settings()
246 struct phy_device *phydev = dm->phy_dev; in emac_set_settings()
747 phy_start(db->phy_dev); in emac_open()
784 phy_stop(db->phy_dev); in emac_stop()