Lines Matching refs:test_bit
118 if (test_bit(HCI_CONN_PARAM_REMOVAL_PEND, &conn->flags)) in hci_conn_cleanup()
414 test_bit(HCI_CONN_SCANNING, &conn->flags)) { in hci_conn_timeout()
622 if (!test_bit(HCI_UP, &d->flags) || in hci_get_route()
814 test_bit(HCI_CONN_SCANNING, &conn->flags)) { in hci_connect_le()
1135 if (test_bit(HCI_CONN_MODE_CHANGE_PEND, &acl->flags)) { in hci_connect_sco()
1158 !test_bit(HCI_CONN_AES_CCM, &conn->flags) || in hci_conn_check_link_mode()
1164 !test_bit(HCI_CONN_ENCRYPT, &conn->flags)) in hci_conn_check_link_mode()
1180 else if (test_bit(HCI_CONN_AUTH, &conn->flags)) in hci_conn_auth()
1198 if (test_bit(HCI_CONN_ENCRYPT, &conn->flags)) in hci_conn_auth()
1240 if (!test_bit(HCI_CONN_AUTH, &conn->flags)) in hci_conn_security()
1273 if (test_bit(HCI_CONN_ENCRYPT_PEND, &conn->flags)) in hci_conn_security()
1283 if (test_bit(HCI_CONN_ENCRYPT, &conn->flags)) in hci_conn_security()
1339 if (!test_bit(HCI_CONN_POWER_SAVE, &conn->flags) && !force_active) in hci_conn_enter_active_mode()
1393 if (test_bit(HCI_CONN_ENCRYPT, &conn->flags)) in get_link_mode()
1396 if (test_bit(HCI_CONN_AUTH, &conn->flags)) in get_link_mode()
1399 if (test_bit(HCI_CONN_SECURE, &conn->flags)) in get_link_mode()
1402 if (test_bit(HCI_CONN_FIPS, &conn->flags)) in get_link_mode()
1516 if (test_bit(HCI_CONN_DROP, &conn->flags)) { in hci_chan_create()