Lines Matching refs:fw_state
2383 u32 fw_state; in megasas_wait_for_outstanding() local
2471 fw_state = instance->instancet->read_fw_status_reg( in megasas_wait_for_outstanding()
2473 if ((fw_state == MFI_STATE_FAULT) && in megasas_wait_for_outstanding()
3351 u32 fw_state; in megasas_deplete_reply_queue() local
3369 fw_state = instance->instancet->read_fw_status_reg( in megasas_deplete_reply_queue()
3372 if (fw_state != MFI_STATE_FAULT) { in megasas_deplete_reply_queue()
3374 fw_state); in megasas_deplete_reply_queue()
3377 if ((fw_state == MFI_STATE_FAULT) && in megasas_deplete_reply_queue()
3401 fw_state, instance->adprecovery); in megasas_deplete_reply_queue()
3408 fw_state, instance->disableOnlineCtrlReset); in megasas_deplete_reply_queue()
3449 u32 fw_state; in megasas_transition_to_ready() local
3454 fw_state = abs_state & MFI_STATE_MASK; in megasas_transition_to_ready()
3456 if (fw_state != MFI_STATE_READY) in megasas_transition_to_ready()
3460 while (fw_state != MFI_STATE_READY) { in megasas_transition_to_ready()
3462 switch (fw_state) { in megasas_transition_to_ready()
3577 fw_state); in megasas_transition_to_ready()
3599 "in %d secs\n", fw_state, max_wait); in megasas_transition_to_ready()
3604 fw_state = curr_abs_state & MFI_STATE_MASK; in megasas_transition_to_ready()