Home
last modified time | relevance | path

Searched refs:dpc_flags (Results 1 – 21 of 21) sorted by relevance

/drivers/scsi/qla2xxx/
Dqla_os.c849 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online()
850 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
851 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
883 test_bit(FX00_RESET_RECOVERY, &vha->dpc_flags) || in qla2x00_wait_for_hba_ready()
884 test_bit(FX00_TARGET_SCAN, &vha->dpc_flags)) in qla2x00_wait_for_hba_ready()
897 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_chip_reset()
898 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
899 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
904 if (!test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) && in qla2x00_wait_for_chip_reset()
1277 set_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2xxx_eh_host_reset()
[all …]
Dqla_mr.c72 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qlafx00_mailbox_command()
228 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qlafx00_mailbox_command()
229 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qlafx00_mailbox_command()
230 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qlafx00_mailbox_command()
237 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlafx00_mailbox_command()
245 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qlafx00_mailbox_command()
246 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qlafx00_mailbox_command()
247 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qlafx00_mailbox_command()
254 set_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qlafx00_mailbox_command()
255 clear_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlafx00_mailbox_command()
[all …]
Dqla_mid.c298 if (!test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla2x00_vp_abort_isp()
324 if (test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags)) { in qla2x00_do_dpc_vp()
328 clear_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags); in qla2x00_do_dpc_vp()
333 if ((test_and_clear_bit(RELOGIN_NEEDED, &vha->dpc_flags)) && in qla2x00_do_dpc_vp()
334 !test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp()
344 if (test_and_clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp()
345 (!(test_and_set_bit(RESET_ACTIVE, &vha->dpc_flags)))) { in qla2x00_do_dpc_vp()
346 clear_bit(RESET_ACTIVE, &vha->dpc_flags); in qla2x00_do_dpc_vp()
349 if (test_and_clear_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags)) { in qla2x00_do_dpc_vp()
350 if (!(test_and_set_bit(LOOP_RESYNC_ACTIVE, &vha->dpc_flags))) { in qla2x00_do_dpc_vp()
[all …]
Dqla_isr.c74 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2100_intr_handler()
205 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2300_intr_handler()
652 set_bit(RESET_MARKER_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
675 &vha->dpc_flags); in qla2x00_async_event()
677 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
686 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
693 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
700 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
723 set_bit(REGISTER_FC4_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
724 set_bit(REGISTER_FDMI_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
[all …]
Dqla_inline.h211 return test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) || in qla2x00_reset_active()
212 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_reset_active()
213 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_reset_active()
214 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla2x00_reset_active()
215 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qla2x00_reset_active()
Dqla_init.c130 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_async_login_sp_done()
183 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_async_logout_sp_done()
231 if (!test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_async_adisc_sp_done()
336 if (!test_bit(UNLOADING, &vha->dpc_flags) && !IS_QLAFX00(vha->hw)) { in qla2x00_async_tm_cmd()
457 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_login_done()
475 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_login_done()
522 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_adisc_done()
633 vha->dpc_flags = 0; in qla2x00_initialize_adapter()
1172 if (test_and_clear_bit(MPI_RESET_NEEDED, &vha->dpc_flags)) { in qla24xx_reset_risc()
1175 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla24xx_reset_risc()
[all …]
Dqla_attr.c117 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_fw_dump()
305 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_nvram()
736 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset()
782 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset()
1186 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_zio_store()
1245 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) { in qla2x00_beacon_store()
1794 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) in qla2x00_dev_loss_tmo_callbk()
1811 if (test_bit(ABORT_ISP_ACTIVE, &fcport->vha->dpc_flags)) in qla2x00_terminate_rport_io()
1861 if (test_bit(UNLOADING, &vha->dpc_flags)) in qla2x00_get_fc_host_stats()
1947 set_bit(REGISTER_FDMI_NEEDED, &vha->dpc_flags); in qla2x00_set_host_system_hostname()
[all …]
Dqla_nx.c1187 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla82xx_pinit_from_rom()
3370 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog()
3374 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog()
3377 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla82xx_watchdog()
3379 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog()
3382 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla82xx_watchdog()
3384 !test_bit(ISP_UNRECOVERABLE, &vha->dpc_flags) && in qla82xx_watchdog()
3388 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla82xx_watchdog()
3423 &vha->dpc_flags); in qla82xx_watchdog()
3428 &vha->dpc_flags); in qla82xx_watchdog()
[all …]
Dqla_nx2.c1878 clear_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla8044_need_qsnt_handler()
2117 if (!(test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla8044_watchdog()
2118 test_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags))) { in qla8044_watchdog()
2129 set_bit(ISP_UNRECOVERABLE, &vha->dpc_flags); in qla8044_watchdog()
2133 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla8044_watchdog()
2137 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla8044_watchdog()
2140 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla8044_watchdog()
2144 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla8044_watchdog()
2168 &vha->dpc_flags); in qla8044_watchdog()
2173 &vha->dpc_flags); in qla8044_watchdog()
[all …]
Dqla_mbx.c69 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2x00_mailbox_command()
312 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qla2x00_mailbox_command()
313 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_mailbox_command()
314 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla2x00_mailbox_command()
329 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_mailbox_command()
337 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qla2x00_mailbox_command()
338 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_mailbox_command()
339 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla2x00_mailbox_command()
353 set_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qla2x00_mailbox_command()
354 clear_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_mailbox_command()
[all …]
Dqla_bsg.c678 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla81xx_set_loopback_mode()
848 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_process_loopback()
880 &vha->dpc_flags); in qla2x00_process_loopback()
1754 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla24xx_process_bidir_cmd()
1755 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla24xx_process_bidir_cmd()
1756 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla24xx_process_bidir_cmd()
Dqla_def.h3510 unsigned long dpc_flags; member
3641 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \
3642 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) || \
3646 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \
3647 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags))
Dqla_target.c3066 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold()
3068 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_chk_exch_leak_thresh_hold()
3339 base_vha->dpc_flags); in qlt_host_reset_handler()
4276 set_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags); in qlt_24xx_handle_els()
4277 set_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qlt_24xx_handle_els()
5451 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_async_event()
6029 set_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags); in qlt_enable_vha()
6059 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qlt_disable_vha()
Dqla_sup.c2273 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_resume_hba()
/drivers/scsi/qla4xxx/
Dql4_isr.c130 set_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags); in qla4xxx_status_entry()
132 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_status_entry()
579 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_process_response_queue()
717 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
730 &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
732 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
738 set_bit(DPC_LINK_CHANGED, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
754 set_bit(DPC_LINK_CHANGED, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
771 set_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
799 set_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
[all …]
Dql4_os.c4091 if (test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in qla4xxx_queuecommand()
4092 test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in qla4xxx_queuecommand()
4093 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in qla4xxx_queuecommand()
4094 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags) || in qla4xxx_queuecommand()
4095 test_bit(DPC_HA_NEED_QUIESCENT, &ha->dpc_flags) || in qla4xxx_queuecommand()
4099 test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) || in qla4xxx_queuecommand()
4100 test_bit(DPC_RESTORE_ACB, &ha->dpc_flags) || in qla4xxx_queuecommand()
4101 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags)) in qla4xxx_queuecommand()
4382 set_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in qla4_8xxx_process_fw_error()
4386 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4_8xxx_process_fw_error()
[all …]
Dql4_def.h588 unsigned long dpc_flags; member
1051 return test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in ql4xxx_reset_active()
1052 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active()
1053 test_bit(DPC_RETRY_RESET_HA, &ha->dpc_flags) || in ql4xxx_reset_active()
1054 test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in ql4xxx_reset_active()
1055 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags) || in ql4xxx_reset_active()
1056 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in ql4xxx_reset_active()
Dql4_bsg.c462 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) { in ql4xxx_execute_diag_cmd()
642 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4_83xx_post_loopback_config()
676 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) { in qla4xxx_execute_diag_loopback_cmd()
Dql4_init.c413 if (test_and_clear_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags)) in qla4xxx_fw_ready()
477 &ha->dpc_flags)) in qla4xxx_fw_ready()
Dql4_mbx.c219 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_mailbox_command()
1921 test_bit(DPC_POST_IDC_ACK, &ha->dpc_flags) && in qla4xxx_disable_acb()
Dql4_nx.c1041 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) in qla4_82xx_pinit_from_rom()