Searched refs:phyd (Results 1 – 1 of 1) sorted by relevance
295 struct phydata *phyd; in mii_reset_phy() local297 if (!(phyd = mii_get_valid_phydata(mac, phy))) in mii_reset_phy()302 phyd->control | MII_CONTROL_RESET); in mii_reset_phy()304 phyd->state = phy_state_unknown; in mii_reset_phy()354 struct phydata *phyd = mac->phys[phy]; in mii_sync() local386 mac->mii_write(mac->mii_dip, phy, MII_CONTROL, phyd->control); in mii_sync()387 if (phyd->phy_postreset) in mii_sync()388 phyd->phy_postreset(mac, phy); in mii_sync()389 if (phyd->fix_speed || phyd->fix_duplex) { in mii_sync()391 (void) mii_fixspeed(mac, phy, phyd->fix_speed, in mii_sync()[all …]