Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/scsi/qla4xxx/
Dql4_os.c509 if (test_bit(DPC_RESET_HA_INTR, &ha->dpc_flags) || in qla4xxx_queuecommand_lck()
510 test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in qla4xxx_queuecommand_lck()
511 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in qla4xxx_queuecommand_lck()
512 test_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags) || in qla4xxx_queuecommand_lck()
513 test_bit(DPC_HA_NEED_QUIESCENT, &ha->dpc_flags) || in qla4xxx_queuecommand_lck()
515 test_bit(DPC_RESET_HA_FW_CONTEXT, &ha->dpc_flags)) in qla4xxx_queuecommand_lck()
688 set_bit(DPC_HA_UNRECOVERABLE, &ha->dpc_flags); in qla4_8xxx_check_fw_alive()
692 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4_8xxx_check_fw_alive()
716 if (!(test_bit(DPC_RESET_ACTIVE, &ha->dpc_flags) || in qla4_8xxx_watchdog()
717 test_bit(DPC_RESET_HA, &ha->dpc_flags) || in qla4_8xxx_watchdog()
[all …]
Dql4_isr.c127 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_status_entry()
435 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_process_response_queue()
497 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
508 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
514 set_bit(DPC_LINK_CHANGED, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
522 set_bit(DPC_LINK_CHANGED, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
534 set_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
559 set_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
562 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
608 set_bit(DPC_AEN, &ha->dpc_flags); in qla4xxx_isr_decode_mailbox()
[all …]
Dql4_init.c303 if (test_and_clear_bit(DPC_GET_DHCP_IP_ADDR, &ha->dpc_flags)) in qla4xxx_fw_ready()
367 &ha->dpc_flags)) in qla4xxx_fw_ready()
743 if (test_and_clear_bit(DPC_AEN, &ha->dpc_flags)) in qla4xxx_flush_AENS()
Dql4_def.h386 unsigned long dpc_flags; member
Dql4_mbx.c225 set_bit(DPC_RESET_HA, &ha->dpc_flags); in qla4xxx_mailbox_command()
Dql4_nx.c976 if (test_bit(DPC_RESET_HA, &ha->dpc_flags)) in qla4_8xxx_pinit_from_rom()
/linux-2.6.39/drivers/scsi/qla2xxx/
Dqla_os.c658 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_hba_online()
659 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
660 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_hba_online()
700 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_reset_ready()
701 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_reset_ready()
702 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_reset_ready()
726 while (((test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags)) || in qla2x00_wait_for_chip_reset()
727 test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
728 test_bit(ISP_ABORT_RETRY, &base_vha->dpc_flags) || in qla2x00_wait_for_chip_reset()
733 if (!test_bit(ISP_ABORT_NEEDED, &base_vha->dpc_flags) && in qla2x00_wait_for_chip_reset()
[all …]
Dqla_mid.c286 if (!test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla2x00_vp_abort_isp()
305 if (test_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags)) { in qla2x00_do_dpc_vp()
307 clear_bit(FCPORT_UPDATE_NEEDED, &vha->dpc_flags); in qla2x00_do_dpc_vp()
310 if ((test_and_clear_bit(RELOGIN_NEEDED, &vha->dpc_flags)) && in qla2x00_do_dpc_vp()
311 !test_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp()
322 if (test_and_clear_bit(RESET_MARKER_NEEDED, &vha->dpc_flags) && in qla2x00_do_dpc_vp()
323 (!(test_and_set_bit(RESET_ACTIVE, &vha->dpc_flags)))) { in qla2x00_do_dpc_vp()
324 clear_bit(RESET_ACTIVE, &vha->dpc_flags); in qla2x00_do_dpc_vp()
327 if (test_and_clear_bit(LOOP_RESYNC_NEEDED, &vha->dpc_flags)) { in qla2x00_do_dpc_vp()
328 if (!(test_and_set_bit(LOOP_RESYNC_ACTIVE, &vha->dpc_flags))) { in qla2x00_do_dpc_vp()
[all …]
Dqla_bsg.c111 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla24xx_proc_fcp_prio_cfg_cmd()
112 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla24xx_proc_fcp_prio_cfg_cmd()
113 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla24xx_proc_fcp_prio_cfg_cmd()
630 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla2x00_process_loopback()
631 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla2x00_process_loopback()
632 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) in qla2x00_process_loopback()
768 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_process_loopback()
852 if (test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) || in qla84xx_reset()
853 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla84xx_reset()
854 test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) in qla84xx_reset()
[all …]
Dqla_isr.c73 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2100_intr_handler()
178 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2300_intr_handler()
399 set_bit(RESET_MARKER_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
420 &vha->dpc_flags); in qla2x00_async_event()
422 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
430 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
439 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
447 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
471 set_bit(REGISTER_FC4_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
472 set_bit(REGISTER_FDMI_NEEDED, &vha->dpc_flags); in qla2x00_async_event()
[all …]
Dqla_init.c398 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_login_done()
442 set_bit(RELOGIN_NEEDED, &vha->dpc_flags); in qla2x00_async_adisc_done()
505 vha->dpc_flags = 0; in qla2x00_initialize_adapter()
1019 if (test_and_clear_bit(MPI_RESET_NEEDED, &vha->dpc_flags)) { in qla24xx_reset_risc()
1022 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla24xx_reset_risc()
1023 set_bit(MPI_RESET_NEEDED, &vha->dpc_flags); in qla24xx_reset_risc()
2034 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_configure_hba()
2566 if (test_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags)) { in qla2x00_configure_loop()
2575 save_flags = flags = vha->dpc_flags; in qla2x00_configure_loop()
2583 clear_bit(LOCAL_LOOP_UPDATE, &vha->dpc_flags); in qla2x00_configure_loop()
[all …]
Dqla_attr.c162 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_nvram()
545 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset()
577 set_bit(FCOE_CTX_RESET_NEEDED, &vha->dpc_flags); in qla2x00_sysfs_write_reset()
1000 test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla2x00_link_state_show()
1001 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) in qla2x00_link_state_show()
1069 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_zio_store()
1128 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) { in qla2x00_beacon_store()
1323 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla2x00_thermal_temp_show()
1324 test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) in qla2x00_thermal_temp_show()
1344 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) || in qla2x00_fw_state_show()
[all …]
Dqla_nx.c1114 if (test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags)) in qla82xx_pinit_from_rom()
3622 !test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog()
3625 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla82xx_watchdog()
3628 !test_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags)) { in qla82xx_watchdog()
3632 set_bit(ISP_QUIESCE_NEEDED, &vha->dpc_flags); in qla82xx_watchdog()
3641 &vha->dpc_flags); in qla82xx_watchdog()
3647 &vha->dpc_flags); in qla82xx_watchdog()
3723 if (test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla82xx_abort_isp()
3735 &vha->dpc_flags); in qla82xx_abort_isp()
3749 set_bit(ISP_ABORT_RETRY, &vha->dpc_flags); in qla82xx_abort_isp()
[all …]
Dqla_mbx.c64 abort_active = test_bit(ABORT_ISP_ACTIVE, &base_vha->dpc_flags); in qla2x00_mailbox_command()
301 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qla2x00_mailbox_command()
302 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_mailbox_command()
303 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla2x00_mailbox_command()
309 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_mailbox_command()
319 if (!test_bit(ISP_ABORT_NEEDED, &vha->dpc_flags) && in qla2x00_mailbox_command()
320 !test_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags) && in qla2x00_mailbox_command()
321 !test_bit(ISP_ABORT_RETRY, &vha->dpc_flags)) { in qla2x00_mailbox_command()
327 set_bit(ABORT_ISP_ACTIVE, &vha->dpc_flags); in qla2x00_mailbox_command()
328 clear_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_mailbox_command()
[all …]
Dqla_def.h2851 unsigned long dpc_flags; member
2945 (test_bit(ISP_ABORT_NEEDED, &ha->dpc_flags) || \
2946 test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) || \
Dqla_sup.c2071 set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); in qla2x00_resume_hba()