Lines Matching refs:oldpage
68 int oldpage, int ret) in marvell_c22_pcs_restore_page() argument
72 if (oldpage >= 0) { in marvell_c22_pcs_restore_page()
74 oldpage); in marvell_c22_pcs_restore_page()
82 err = oldpage; in marvell_c22_pcs_restore_page()
93 int err, oldpage; in marvell_c22_pcs_handle_irq() local
95 oldpage = marvell_c22_pcs_set_fiber_page(mpcs); in marvell_c22_pcs_handle_irq()
96 if (oldpage < 0) in marvell_c22_pcs_handle_irq()
106 marvell_c22_pcs_restore_page(mpcs, oldpage, 0); in marvell_c22_pcs_handle_irq()
114 int oldpage, err = 0; in marvell_c22_pcs_modify() local
116 oldpage = marvell_c22_pcs_set_fiber_page(mpcs); in marvell_c22_pcs_modify()
117 if (oldpage >= 0) in marvell_c22_pcs_modify()
120 return marvell_c22_pcs_restore_page(mpcs, oldpage, err); in marvell_c22_pcs_modify()
164 int oldpage, bmsr, lpa, status; in marvell_c22_pcs_get_state() local
171 oldpage = marvell_c22_pcs_set_fiber_page(mpcs); in marvell_c22_pcs_get_state()
172 if (oldpage >= 0) { in marvell_c22_pcs_get_state()
178 if (marvell_c22_pcs_restore_page(mpcs, oldpage, 0) >= 0 && in marvell_c22_pcs_get_state()
191 int oldpage, adv, err, ret = 0; in marvell_c22_pcs_config() local
200 oldpage = marvell_c22_pcs_set_fiber_page(mpcs); in marvell_c22_pcs_config()
201 if (oldpage < 0) in marvell_c22_pcs_config()
223 return marvell_c22_pcs_restore_page(mpcs, oldpage, ret); in marvell_c22_pcs_config()