Lines Matching refs:test_bit
830 #define hci_dev_test_flag(hdev, nr) test_bit((nr), (hdev)->dev_flags)
845 (!test_bit(HCI_QUIRK_BROKEN_LE_STATES, &(hdev)->quirks) && \
982 test_bit(HCI_CONN_SSP_ENABLED, &conn->flags); in hci_conn_ssp_enabled()
989 test_bit(HCI_CONN_SC_ENABLED, &conn->flags); in hci_conn_sc_enabled()
1138 if (!test_bit(HCI_CONN_CREATE_PA_SYNC, &c->flags)) in hci_conn_hash_lookup_create_pa_sync()
1162 !test_bit(HCI_CONN_PER_ADV, &c->flags)) in hci_conn_hash_lookup_per_adv_bis()
1399 !test_bit(HCI_CONN_PA_SYNC, &c->flags)) in hci_conn_hash_lookup_pa_sync_big_handle()
1495 if (c->type == type && test_bit(flag, &c->flags)) in hci_conn_hash_list_flag()
1511 !test_bit(HCI_CONN_SCANNING, &c->flags)) { in hci_lookup_le_connect()
1532 test_bit(HCI_CONN_SCANNING, &c->flags)) { in hci_is_le_conn_scanning()
1924 #define hdev_is_powered(dev) (test_bit(HCI_UP, &(dev)->flags) && \
1942 !test_bit(HCI_QUIRK_BROKEN_LE_CODED, \
1959 !test_bit(HCI_QUIRK_BROKEN_READ_ENC_KEY_SIZE, &hdev->quirks))
1963 !test_bit(HCI_QUIRK_BROKEN_READ_VOICE_SETTING, &(dev)->quirks))
1970 !test_bit(HCI_QUIRK_BROKEN_ENHANCED_SETUP_SYNC_CONN, &(dev)->quirks))
1975 !test_bit(HCI_QUIRK_BROKEN_EXT_SCAN, &(dev)->quirks))
1979 !test_bit(HCI_QUIRK_BROKEN_EXT_CREATE_CONN, &(dev)->quirks))
1994 !test_bit(HCI_QUIRK_BROKEN_EXT_CREATE_CONN, \
2012 (!test_bit(HCI_QUIRK_BROKEN_MWS_TRANSPORT_CONFIG, &(dev)->quirks)))
2096 if (test_bit(HCI_CONN_ENCRYPT_PEND, &conn->flags)) in hci_auth_cfm()
2099 encrypt = test_bit(HCI_CONN_ENCRYPT, &conn->flags) ? 0x01 : 0x00; in hci_auth_cfm()
2126 if (!test_bit(HCI_CONN_ENCRYPT, &conn->flags)) in hci_encrypt_cfm()
2128 else if (test_bit(HCI_CONN_AES_CCM, &conn->flags)) in hci_encrypt_cfm()