Lines Matching refs:oldpage
1777 int err = 0, oldpage; in m88e1318_set_wol() local
1779 oldpage = phy_save_page(phydev); in m88e1318_set_wol()
1780 if (oldpage < 0) in m88e1318_set_wol()
1883 return phy_restore_page(phydev, oldpage, err); in m88e1318_set_wol()
2328 int oldpage; in m88e1121_get_temp() local
2334 oldpage = phy_select_page(phydev, MII_MARVELL_MISC_TEST_PAGE); in m88e1121_get_temp()
2335 if (oldpage < 0) in m88e1121_get_temp()
2366 return phy_restore_page(phydev, oldpage, ret); in m88e1121_get_temp()
2434 int oldpage; in m88e6390_get_temp() local
2440 oldpage = phy_select_page(phydev, MII_MARVELL_MISC_TEST_PAGE); in m88e6390_get_temp()
2441 if (oldpage < 0) in m88e6390_get_temp()
2483 phy_restore_page(phydev, oldpage, ret); in m88e6390_get_temp()
2751 int oldpage; in m88e1510_sfp_insert() local
2783 oldpage = phy_select_page(phydev, MII_MARVELL_MODE_PAGE); in m88e1510_sfp_insert()
2784 if (oldpage < 0) in m88e1510_sfp_insert()
2796 return phy_restore_page(phydev, oldpage, ret); in m88e1510_sfp_insert()
2802 int oldpage; in m88e1510_sfp_remove() local
2805 oldpage = phy_select_page(phydev, MII_MARVELL_MODE_PAGE); in m88e1510_sfp_remove()
2806 if (oldpage < 0) in m88e1510_sfp_remove()
2819 phy_restore_page(phydev, oldpage, ret); in m88e1510_sfp_remove()