Lines Matching refs:adprecovery

476 	if ((instance->adprecovery != MEGASAS_HBA_OPERATIONAL) &&  in megasas_check_reset_xscale()
612 if (instance->adprecovery != MEGASAS_HBA_OPERATIONAL) in megasas_check_reset_ppc()
749 if (instance->adprecovery != MEGASAS_HBA_OPERATIONAL) in megasas_check_reset_skinny()
943 if (instance->adprecovery != MEGASAS_HBA_OPERATIONAL) { in megasas_check_reset_gen2()
1654 if (instance->adprecovery == MEGASAS_ADPRESET_SM_INFAULT) { in megasas_queue_command()
1667 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) { in megasas_queue_command()
1674 if (instance->adprecovery != MEGASAS_HBA_OPERATIONAL) { in megasas_queue_command()
1848 instance->adprecovery = MEGASAS_HW_CRITICAL_ERROR; in megaraid_sas_kill_hba()
1908 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) in megasas_complete_cmd_dpc()
1977 instance->adprecovery = MEGASAS_ADPRESET_SM_INFAULT; in megasas_do_ocr()
2379 u8 adprecovery; in megasas_wait_for_outstanding() local
2387 adprecovery = instance->adprecovery; in megasas_wait_for_outstanding()
2390 if (adprecovery != MEGASAS_HBA_OPERATIONAL) { in megasas_wait_for_outstanding()
2402 adprecovery = instance->adprecovery; in megasas_wait_for_outstanding()
2404 if (adprecovery == MEGASAS_HBA_OPERATIONAL) in megasas_wait_for_outstanding()
2408 if (adprecovery != MEGASAS_HBA_OPERATIONAL) { in megasas_wait_for_outstanding()
2411 instance->adprecovery = MEGASAS_HW_CRITICAL_ERROR; in megasas_wait_for_outstanding()
2522 instance->adprecovery = MEGASAS_HW_CRITICAL_ERROR; in megasas_wait_for_outstanding()
2550 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) { in megasas_generic_reset()
3280 if (instance->adprecovery != MEGASAS_ADPRESET_SM_INFAULT) { in process_fw_state_change_wq()
3282 instance->adprecovery); in process_fw_state_change_wq()
3286 if (instance->adprecovery == MEGASAS_ADPRESET_SM_INFAULT) { in process_fw_state_change_wq()
3329 instance->adprecovery = MEGASAS_HBA_OPERATIONAL; in process_fw_state_change_wq()
3394 instance->adprecovery = MEGASAS_ADPRESET_SM_INFAULT; in megasas_deplete_reply_queue()
3401 fw_state, instance->adprecovery); in megasas_deplete_reply_queue()
5450 instance->adprecovery = MEGASAS_HBA_OPERATIONAL; in megasas_probe_one()
5619 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) in megasas_flush_cache()
5659 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) in megasas_shutdown_controller()
6093 if ((local_instance->adprecovery == in megasas_set_crash_dump_params_ioctl()
6334 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) { in megasas_mgmt_ioctl_fw()
6353 if (instance->adprecovery == MEGASAS_HBA_OPERATIONAL) { in megasas_mgmt_ioctl_fw()
6368 if (instance->adprecovery != MEGASAS_HBA_OPERATIONAL) { in megasas_mgmt_ioctl_fw()
6410 if (instance->adprecovery == MEGASAS_HW_CRITICAL_ERROR) { in megasas_mgmt_ioctl_aen()
6421 if (instance->adprecovery == MEGASAS_HBA_OPERATIONAL) { in megasas_mgmt_ioctl_aen()
6438 if (instance->adprecovery != MEGASAS_HBA_OPERATIONAL) { in megasas_mgmt_ioctl_aen()
6664 if (instance->adprecovery == MEGASAS_HBA_OPERATIONAL) in megasas_aen_polling()