Home
last modified time | relevance | path

Searched refs:adapter_state (Results 1 – 9 of 9) sorted by relevance

/linux-4.1.27/drivers/scsi/bnx2i/
Dbnx2i_init.c183 while (!test_bit(ADAPTER_STATE_UP, &hba->adapter_state) && in bnx2i_start()
184 !test_bit(ADAPTER_STATE_INIT_FAILED, &hba->adapter_state) && i--) in bnx2i_start()
236 &hba->adapter_state)) { in bnx2i_stop()
267 clear_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state); in bnx2i_stop()
268 clear_bit(ADAPTER_STATE_UP, &hba->adapter_state); in bnx2i_stop()
Dbnx2i_hwi.c100 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()
2523 set_bit(ADAPTER_STATE_UP, &hba->adapter_state); in bnx2i_indicate_kcqe()
2566 if (!test_bit(ADAPTER_STATE_UP, &hba->adapter_state)) in bnx2i_indicate_netevent()
2570 clear_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state); in bnx2i_indicate_netevent()
2571 clear_bit(ADAPTER_STATE_UP, &hba->adapter_state); in bnx2i_indicate_netevent()
2574 set_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state); in bnx2i_indicate_netevent()
2598 if (test_bit(ADAPTER_STATE_GOING_DOWN, &ep->hba->adapter_state)) in bnx2i_cm_connect_cmpl()
Dbnx2i_iscsi.c38 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()
2150 if (!test_bit(ADAPTER_STATE_UP, &hba->adapter_state) || in bnx2i_ep_disconnect()
Dbnx2i.h420 unsigned long adapter_state; member
/linux-4.1.27/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c719 clear_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state); in bnx2fc_link_ok()
721 set_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state); in bnx2fc_link_ok()
737 set_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state); in bnx2fc_get_link_state()
739 clear_bit(ADAPTER_STATE_LINK_DOWN, &hba->adapter_state); in bnx2fc_get_link_state()
824 if (!test_bit(ADAPTER_STATE_UP, &hba->adapter_state)) in bnx2fc_indicate_netevent()
830 clear_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state); in bnx2fc_indicate_netevent()
831 clear_bit(ADAPTER_STATE_UP, &hba->adapter_state); in bnx2fc_indicate_netevent()
836 set_bit(ADAPTER_STATE_GOING_DOWN, &hba->adapter_state); in bnx2fc_indicate_netevent()
920 clear_bit(ADAPTER_STATE_READY, &hba->adapter_state); in bnx2fc_indicate_netevent()
1843 while (!test_bit(ADAPTER_STATE_UP, &hba->adapter_state) && i--) in bnx2fc_fw_init()
[all …]
Dbnx2fc.h194 unsigned long adapter_state; member
Dbnx2fc_hwi.c1340 set_bit(ADAPTER_STATE_UP, &hba->adapter_state); in bnx2fc_indicate_kcqe()
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/
Dos_intfs.c292 dir_dev, proc_getstruct adapter_state, dev);
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_83xx_hw.c1396 u16 adapter_state = adapter->is_up; in qlcnic_83xx_diag_alloc_res() local
1420 if (adapter_state == QLCNIC_ADAPTER_UP_MAGIC) { in qlcnic_83xx_diag_alloc_res()