ice_testandclear_state
if (!ice_testandclear_state(&sc->state, ICE_STATE_MDD_PENDING))
if (!ice_testandclear_state(&sc->state, ICE_STATE_DRIVER_INITIALIZED))
if (!ice_testandclear_state(&sc->state, ICE_STATE_FIRST_INIT_LINK))
if (sc->mirr_if && ice_testandclear_state(&mif->state, ICE_STATE_SUBIF_NEEDS_REINIT)) {
} else if (ice_testandclear_state(&sc->state, ICE_STATE_CONTROLQ_EVENT_PENDING)) {
if (ice_testandclear_state(&sc->state, ICE_STATE_VFLR_PENDING))
if (!ice_testandclear_state(&sc->state, ICE_STATE_RESET_OICR_RECV))
if (ice_testandclear_state(&sc->state, ICE_STATE_RESET_PFR_REQ))
if (!ice_testandclear_state(&sc->state, ICE_STATE_RESET_PFR_REQ))
if (!ice_testandclear_state(&sc->state, ICE_STATE_DRIVER_INITIALIZED))
if (!ice_testandclear_state(&mif->state, ICE_STATE_DRIVER_INITIALIZED))