Lines Matching refs:adprecovery

362 	if ((instance->adprecovery != MEGASAS_HBA_OPERATIONAL) &&  in megasas_check_reset_xscale()
806 if (instance->adprecovery != MEGASAS_HBA_OPERATIONAL) { in megasas_check_reset_gen2()
1466 if (instance->adprecovery != MEGASAS_HBA_OPERATIONAL) { in megasas_queue_command_lck()
1639 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR ) in megasas_complete_cmd_dpc()
1689 instance->adprecovery = MEGASAS_ADPRESET_SM_INFAULT; in megasas_do_ocr()
1710 u8 adprecovery; in megasas_wait_for_outstanding() local
1718 adprecovery = instance->adprecovery; in megasas_wait_for_outstanding()
1721 if (adprecovery != MEGASAS_HBA_OPERATIONAL) { in megasas_wait_for_outstanding()
1733 adprecovery = instance->adprecovery; in megasas_wait_for_outstanding()
1735 if (adprecovery == MEGASAS_HBA_OPERATIONAL) in megasas_wait_for_outstanding()
1739 if (adprecovery != MEGASAS_HBA_OPERATIONAL) { in megasas_wait_for_outstanding()
1742 instance->adprecovery = MEGASAS_HW_CRITICAL_ERROR; in megasas_wait_for_outstanding()
1857 instance->adprecovery = MEGASAS_HW_CRITICAL_ERROR; in megasas_wait_for_outstanding()
1885 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) { in megasas_generic_reset()
2333 instance->adprecovery = in megasas_issue_pending_cmds_again()
2437 if (instance->adprecovery != MEGASAS_ADPRESET_SM_INFAULT) { in process_fw_state_change_wq()
2439 instance->adprecovery); in process_fw_state_change_wq()
2443 if (instance->adprecovery == MEGASAS_ADPRESET_SM_INFAULT) { in process_fw_state_change_wq()
2469 instance->adprecovery = MEGASAS_HW_CRITICAL_ERROR; in process_fw_state_change_wq()
2486 instance->adprecovery = MEGASAS_HBA_OPERATIONAL; in process_fw_state_change_wq()
2552 instance->adprecovery = MEGASAS_ADPRESET_SM_INFAULT; in megasas_deplete_reply_queue()
2559 fw_state, instance->adprecovery); in megasas_deplete_reply_queue()
4022 instance->adprecovery = MEGASAS_HBA_OPERATIONAL; in megasas_probe_one()
4184 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) in megasas_flush_cache()
4224 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) in megasas_shutdown_controller()
4783 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) { in megasas_mgmt_ioctl_fw()
4805 if (instance->adprecovery == MEGASAS_HBA_OPERATIONAL) { in megasas_mgmt_ioctl_fw()
4820 if (instance->adprecovery != MEGASAS_HBA_OPERATIONAL) { in megasas_mgmt_ioctl_fw()
4861 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) { in megasas_mgmt_ioctl_aen()
4872 if (instance->adprecovery == MEGASAS_HBA_OPERATIONAL) { in megasas_mgmt_ioctl_aen()
4889 if (instance->adprecovery != MEGASAS_HBA_OPERATIONAL) { in megasas_mgmt_ioctl_aen()