ice_testandset_state
if (!ice_testandset_state(&sc->state, ICE_STATE_NO_MEDIA)) {
if (!ice_testandset_state(&sc->state, ICE_STATE_RESET_OICR_RECV)) {
if (!ice_testandset_state(&sc->state, ICE_STATE_RECOVERY_MODE)) {
if (!ice_testandset_state(&sc->state, ICE_STATE_ROLLBACK_MODE)) {
if (ice_testandset_state(&sc->state, ICE_STATE_PREPARED_FOR_RESET))
if (!ice_testandset_state(&sc->state, ICE_STATE_LINK_STATUS_REPORTED)) {