Lines Matching refs:test_bit
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()
768 if (test_bit(BNX2I_NX2_DEV_5708, &hba->cnic_dev_type)) in bnx2i_setup_host_queue_size()
770 else if (test_bit(BNX2I_NX2_DEV_5709, &hba->cnic_dev_type)) in bnx2i_setup_host_queue_size()
772 else if (test_bit(BNX2I_NX2_DEV_57710, &hba->cnic_dev_type)) in bnx2i_setup_host_queue_size()
818 if (test_bit(BNX2I_NX2_DEV_5709, &hba->cnic_dev_type)) { in bnx2i_alloc_hba()
822 } else if (test_bit(BNX2I_NX2_DEV_57710, &hba->cnic_dev_type)) { in bnx2i_alloc_hba()
845 if (test_bit(BNX2I_NX2_DEV_57710, &hba->cnic_dev_type)) { in bnx2i_alloc_hba()
859 if (test_bit(BNX2I_NX2_DEV_57710, &hba->cnic_dev_type)) { in bnx2i_alloc_hba()
870 if (test_bit(BNX2I_NX2_DEV_57710, &hba->cnic_dev_type)) { in bnx2i_alloc_hba()
1460 if (test_bit(BNX2I_NX2_DEV_57710, &bnx2i_ep->hba->cnic_dev_type)) in bnx2i_conn_bind()
1582 if (test_bit(SK_F_IPV6, &csk->flags)) in bnx2i_host_get_param()
1709 if (test_bit(BNX2I_CNIC_REGISTERED, &hba->reg_with_cnic) && ep->cm_sk) in bnx2i_tear_down_conn()
1712 if (test_bit(BNX2I_NX2_DEV_57710, &hba->cnic_dev_type) && in bnx2i_tear_down_conn()
1902 if (!test_bit(BNX2I_CNIC_REGISTERED, &hba->reg_with_cnic)) { in bnx2i_ep_connect()
1987 if (test_bit(BNX2I_NX2_DEV_57710, &bnx2i_ep->hba->cnic_dev_type)) in bnx2i_ep_tcp_conn_active()
2062 if (!test_bit(BNX2I_CNIC_REGISTERED, &hba->reg_with_cnic)) in bnx2i_hw_ep_disconnect()
2153 if (!test_bit(ADAPTER_STATE_UP, &hba->adapter_state) || in bnx2i_ep_disconnect()