Searched refs:adapter_state (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/scsi/bnx2i/ |
H A D | bnx2i_init.c | 175 while (!test_bit(ADAPTER_STATE_UP, &hba->adapter_state) && in bnx2i_start() 176 !test_bit(ADAPTER_STATE_INIT_FAILED, &hba->adapter_state) && i--) in bnx2i_start() 228 &hba->adapter_state)) { in bnx2i_stop() 259 clear_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state); in bnx2i_stop() 260 clear_bit(ADAPTER_STATE_UP, &hba->adapter_state); in bnx2i_stop()
|
H A D | bnx2i_hwi.c | 100 set_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state); in bnx2i_get_link_state() 102 clear_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state); in bnx2i_get_link_state() 125 set_bit(ADAPTER_STATE_INIT_FAILED, &hba->adapter_state); in bnx2i_iscsi_license_error() 2498 set_bit(ADAPTER_STATE_UP, &hba->adapter_state); in bnx2i_indicate_kcqe() 2541 if (!test_bit(ADAPTER_STATE_UP, &hba->adapter_state)) in bnx2i_indicate_netevent() 2545 clear_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state); in bnx2i_indicate_netevent() 2546 clear_bit(ADAPTER_STATE_UP, &hba->adapter_state); in bnx2i_indicate_netevent() 2549 set_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state); in bnx2i_indicate_netevent() 2573 if (test_bit(ADAPTER_STATE_GOING_DOWN, &ep->hba->adapter_state)) in bnx2i_cm_connect_cmpl()
|
H A D | bnx2i_iscsi.c | 38 if (!hba || !test_bit(ADAPTER_STATE_UP, &hba->adapter_state) || in bnx2i_adapter_ready() 39 test_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state) || in bnx2i_adapter_ready() 40 test_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state)) in bnx2i_adapter_ready() 2149 if (!test_bit(ADAPTER_STATE_UP, &hba->adapter_state) || in bnx2i_ep_disconnect()
|
H A D | bnx2i.h | 420 unsigned long adapter_state; member
|
/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 770 clear_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state); in bnx2fc_link_ok() 772 set_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state); in bnx2fc_link_ok() 788 set_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state); in bnx2fc_get_link_state() 790 clear_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state); in bnx2fc_get_link_state() 875 if (!test_bit(ADAPTER_STATE_UP, &hba->adapter_state)) in bnx2fc_indicate_netevent() 881 clear_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state); in bnx2fc_indicate_netevent() 882 clear_bit(ADAPTER_STATE_UP, &hba->adapter_state); in bnx2fc_indicate_netevent() 887 set_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state); in bnx2fc_indicate_netevent() 965 clear_bit(ADAPTER_STATE_READY, &hba->adapter_state); in bnx2fc_indicate_netevent() 1903 while (!test_bit(ADAPTER_STATE_UP, &hba->adapter_state) && i--) in bnx2fc_fw_init() [all …]
|
H A D | bnx2fc.h | 194 unsigned long adapter_state; member
|
H A D | bnx2fc_hwi.c | 1371 set_bit(ADAPTER_STATE_UP, &hba->adapter_state); in bnx2fc_indicate_kcqe()
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_83xx_hw.c | 1402 u16 adapter_state = adapter->is_up; in qlcnic_83xx_diag_alloc_res() local 1426 if (adapter_state == QLCNIC_ADAPTER_UP_MAGIC) { in qlcnic_83xx_diag_alloc_res()
|