Lines Matching refs:fw_state
2284 u32 fw_state; in megasas_wait_for_outstanding() local
2373 fw_state = instance->instancet->read_fw_status_reg( in megasas_wait_for_outstanding()
2375 if ((fw_state == MFI_STATE_FAULT) && in megasas_wait_for_outstanding()
3251 u32 fw_state; in megasas_deplete_reply_queue() local
3269 fw_state = instance->instancet->read_fw_status_reg( in megasas_deplete_reply_queue()
3272 if (fw_state != MFI_STATE_FAULT) { in megasas_deplete_reply_queue()
3274 fw_state); in megasas_deplete_reply_queue()
3277 if ((fw_state == MFI_STATE_FAULT) && in megasas_deplete_reply_queue()
3301 fw_state, instance->adprecovery); in megasas_deplete_reply_queue()
3308 fw_state, instance->disableOnlineCtrlReset); in megasas_deplete_reply_queue()
3349 u32 fw_state; in megasas_transition_to_ready() local
3354 fw_state = abs_state & MFI_STATE_MASK; in megasas_transition_to_ready()
3356 if (fw_state != MFI_STATE_READY) in megasas_transition_to_ready()
3360 while (fw_state != MFI_STATE_READY) { in megasas_transition_to_ready()
3362 switch (fw_state) { in megasas_transition_to_ready()
3505 fw_state); in megasas_transition_to_ready()
3527 "in %d secs\n", fw_state, max_wait); in megasas_transition_to_ready()
3532 fw_state = curr_abs_state & MFI_STATE_MASK; in megasas_transition_to_ready()