Lines Matching refs:retval
234 int retval; in mscc_startup() local
236 retval = genphy_update_link(phydev); in mscc_startup()
238 if (retval) in mscc_startup()
239 return retval; in mscc_startup()
246 int retval = 0; in mscc_phy_soft_reset() local
267 retval = -ETIME; in mscc_phy_soft_reset()
270 return retval; in mscc_phy_soft_reset()
342 int retval = -EINVAL; in vsc8531_config() local
356 retval = vsc8531_vsc8541_mac_config(phydev); in vsc8531_config()
357 if (retval != 0) in vsc8531_config()
358 return retval; in vsc8531_config()
360 retval = mscc_phy_soft_reset(phydev); in vsc8531_config()
361 if (retval != 0) in vsc8531_config()
362 return retval; in vsc8531_config()
402 int retval = -EINVAL; in vsc8541_config() local
418 retval = vsc8531_vsc8541_mac_config(phydev); in vsc8541_config()
419 if (retval != 0) in vsc8541_config()
420 return retval; in vsc8541_config()
422 retval = mscc_phy_soft_reset(phydev); in vsc8541_config()
423 if (retval != 0) in vsc8541_config()
424 return retval; in vsc8541_config()