Home
last modified time | relevance | path

Searched refs:saved_page (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/power/reset/
H A Dlinkstation-poweroff.c45 int rc = 0, saved_page; in linkstation_mvphy_reg_intn() local
51 saved_page = phy_select_page(phydev, MII_MARVELL_LED_PAGE); in linkstation_mvphy_reg_intn()
52 if (saved_page < 0) in linkstation_mvphy_reg_intn()
77 rc = phy_restore_page(phydev, saved_page, rc); in linkstation_mvphy_reg_intn()
84 int rc = 0, saved_page; in readynas_mvphy_set_reg() local
90 saved_page = phy_select_page(phydev, MII_MARVELL_LED_PAGE); in readynas_mvphy_set_reg()
91 if (saved_page < 0) in readynas_mvphy_set_reg()
108 rc = phy_restore_page(phydev, saved_page, rc); in readynas_mvphy_set_reg()
/openbmc/linux/drivers/net/mdio/
H A Dmdio-i2c.c200 u8 saved_page; in i2c_transfer_rollball() local
205 ret = __i2c_rollball_get_page(i2c, msgs->addr, &saved_page); in i2c_transfer_rollball()
220 ret = __i2c_rollball_set_page(i2c, msgs->addr, saved_page); in i2c_transfer_rollball()
/openbmc/linux/drivers/net/ethernet/xircom/
H A Dxirc2ps_cs.c978 u_char saved_page; in xirc2ps_interrupt() local
997 saved_page = GetByte(XIRCREG_PR); in xirc2ps_interrupt()
1181 SelectPage(saved_page); in xirc2ps_interrupt()
/openbmc/linux/drivers/net/phy/
H A Dmarvell.c491 int len, i, saved_page, current_page, ret = 0; in marvell_of_reg_init() local
501 saved_page = phy_save_page(phydev); in marvell_of_reg_init()
502 if (saved_page < 0) in marvell_of_reg_init()
504 current_page = saved_page; in marvell_of_reg_init()
537 return phy_restore_page(phydev, saved_page, ret); in marvell_of_reg_init()