drivers/bluetooth/btusb.c
1346
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
drivers/bluetooth/btusb.c
2220
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
drivers/bluetooth/btusb.c
2700
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
drivers/bluetooth/hci_qca.c
2598
hci_dev_test_flag(hdev, HCI_SETUP))
include/net/bluetooth/hci_core.h
1003
return hci_dev_test_flag(hdev, HCI_SSP_ENABLED) &&
include/net/bluetooth/hci_core.h
1010
return hci_dev_test_flag(hdev, HCI_SC_ENABLED) &&
include/net/bluetooth/hci_core.h
1968
!hci_dev_test_flag(dev, HCI_AUTO_OFF))
include/net/bluetooth/hci_core.h
1970
hci_dev_test_flag(dev, HCI_SC_ENABLED))
include/net/bluetooth/hci_core.h
1972
!hci_dev_test_flag(dev, HCI_RPA_EXPIRED))
include/net/bluetooth/hci_core.h
1976
hci_dev_test_flag(dev, HCI_LE_ENABLED))
net/bluetooth/eir.c
276
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_conn.c
1257
hci_dev_test_flag(d, HCI_USER_CHANNEL))
net/bluetooth/hci_conn.c
1385
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) {
net/bluetooth/hci_conn.c
1577
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) {
net/bluetooth/hci_conn.c
1628
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) {
net/bluetooth/hci_conn.c
1683
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/hci_conn.c
2357
if (hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/hci_conn.c
2406
if (hci_dev_test_flag(conn->hdev, HCI_SC_ONLY)) {
net/bluetooth/hci_conn.c
3183
if (!hci_dev_test_flag(conn->hdev, HCI_SCO_FLOWCTL))
net/bluetooth/hci_conn.c
3298
if (hci_dev_test_flag(hdev, HCI_SCO_FLOWCTL))
net/bluetooth/hci_core.c
1002
if (!hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_core.c
1841
if (hci_dev_test_flag(hdev, HCI_ADVERTISING_CONNECTABLE))
net/bluetooth/hci_core.c
1844
if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE))
net/bluetooth/hci_core.c
1846
else if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE))
net/bluetooth/hci_core.c
2381
if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ||
net/bluetooth/hci_core.c
2383
(!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) &&
net/bluetooth/hci_core.c
2412
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
net/bluetooth/hci_core.c
2719
!hci_dev_test_flag(hdev, HCI_SETUP) &&
net/bluetooth/hci_core.c
2720
!hci_dev_test_flag(hdev, HCI_CONFIG)) {
net/bluetooth/hci_core.c
2817
if (hci_dev_test_flag(hdev, HCI_UNREGISTER)) {
net/bluetooth/hci_core.c
2839
hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/hci_core.c
2870
hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/hci_core.c
341
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
346
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/hci_core.c
351
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/hci_core.c
3603
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_core.c
3651
if (!hci_dev_test_flag(hdev, HCI_SCO_FLOWCTL))
net/bluetooth/hci_core.c
3673
if (!pkts && !hci_dev_test_flag(hdev, HCI_SCO_FLOWCTL))
net/bluetooth/hci_core.c
3814
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
4056
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
net/bluetooth/hci_core.c
4159
hci_dev_test_flag(hdev, HCI_CMD_DRAIN_WORKQUEUE))
net/bluetooth/hci_core.c
457
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED) &&
net/bluetooth/hci_core.c
458
!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
483
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
net/bluetooth/hci_core.c
484
!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_core.c
518
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
601
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
606
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/hci_core.c
627
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
632
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/hci_core.c
666
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_core.c
673
if (hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/hci_core.c
694
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
699
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/hci_core.c
704
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/hci_core.c
815
if (hci_dev_test_flag(hdev, HCI_AUTO_OFF))
net/bluetooth/hci_core.c
851
if (hci_dev_test_flag(hdev, HCI_AUTO_OFF))
net/bluetooth/hci_core.c
910
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
net/bluetooth/hci_core.c
913
if (blocked == hci_dev_test_flag(hdev, HCI_RFKILLED))
net/bluetooth/hci_core.c
919
if (!hci_dev_test_flag(hdev, HCI_SETUP) &&
net/bluetooth/hci_core.c
920
!hci_dev_test_flag(hdev, HCI_CONFIG)) {
net/bluetooth/hci_core.c
952
hci_dev_test_flag(hdev, HCI_MGMT) &&
net/bluetooth/hci_core.c
972
if (hci_dev_test_flag(hdev, HCI_RFKILLED) ||
net/bluetooth/hci_core.c
973
hci_dev_test_flag(hdev, HCI_UNCONFIGURED) ||
net/bluetooth/hci_core.c
978
} else if (hci_dev_test_flag(hdev, HCI_AUTO_OFF)) {
net/bluetooth/hci_core.c
987
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_debugfs.c
1156
buf[0] = hci_dev_test_flag(hdev, HCI_FORCE_NO_MITM) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
1178
if (enable == hci_dev_test_flag(hdev, HCI_FORCE_NO_MITM))
net/bluetooth/hci_debugfs.c
1281
buf[0] = hci_dev_test_flag(hdev, HCI_DUT_MODE) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
1302
if (enable == hci_dev_test_flag(hdev, HCI_DUT_MODE))
net/bluetooth/hci_debugfs.c
1337
buf[0] = hci_dev_test_flag(hdev, HCI_VENDOR_DIAG) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
1361
hci_dev_test_flag(hdev, HCI_USER_CHANNEL)))
net/bluetooth/hci_debugfs.c
282
buf[0] = hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
300
buf[0] = hci_dev_test_flag(hdev, HCI_SC_ONLY) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
509
buf[0] = hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
754
buf[0] = hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
775
if (enable == hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR))
net/bluetooth/hci_event.c
1169
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
117
if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) ||
net/bluetooth/hci_event.c
1197
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
1268
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
1286
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
1304
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
1322
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
1778
else if (!hci_dev_test_flag(hdev, HCI_LE_ADV) &&
net/bluetooth/hci_event.c
2501
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
2992
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
3008
if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) ||
net/bluetooth/hci_event.c
3027
if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) ||
net/bluetooth/hci_event.c
3052
if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ))
net/bluetooth/hci_event.c
3316
if (hci_dev_test_flag(hdev, HCI_MGMT) &&
net/bluetooth/hci_event.c
3317
!hci_dev_test_flag(hdev, HCI_CONNECTABLE) &&
net/bluetooth/hci_event.c
3567
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
361
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
3781
if (!hci_dev_test_flag(hdev, HCI_CMD_DRAIN_WORKQUEUE))
net/bluetooth/hci_event.c
381
if (hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_event.c
382
hci_dev_test_flag(hdev, HCI_CONFIG))
net/bluetooth/hci_event.c
411
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
4315
if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) {
net/bluetooth/hci_event.c
4435
if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) {
net/bluetooth/hci_event.c
4619
if (!hci_dev_test_flag(hdev, HCI_BONDABLE) &&
net/bluetooth/hci_event.c
4623
} else if (hci_dev_test_flag(hdev, HCI_MGMT)) {
net/bluetooth/hci_event.c
4680
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
4761
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
4783
!hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS)) {
net/bluetooth/hci_event.c
4870
if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ))
net/bluetooth/hci_event.c
5158
if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ))
net/bluetooth/hci_event.c
5177
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5280
if (!hci_dev_test_flag(hdev, HCI_SC_ONLY))
net/bluetooth/hci_event.c
5317
if (!conn || !hci_dev_test_flag(hdev, HCI_SSP_ENABLED))
net/bluetooth/hci_event.c
5325
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5331
if (hci_dev_test_flag(hdev, HCI_BONDABLE) ||
net/bluetooth/hci_event.c
5357
if (!hci_dev_test_flag(hdev, HCI_BONDABLE))
net/bluetooth/hci_event.c
5411
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
547
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5489
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5508
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5547
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5616
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5633
if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) {
net/bluetooth/hci_event.c
5674
} else if (hci_dev_test_flag(conn->hdev, HCI_PRIVACY)) {
net/bluetooth/hci_event.c
5769
if (hci_dev_test_flag(hdev, HCI_PRIVACY)) {
net/bluetooth/hci_event.c
6240
if (!hci_dev_test_flag(hdev, HCI_MESH) && direct_addr &&
net/bluetooth/hci_event.c
6241
hci_dev_test_flag(hdev, HCI_PRIVACY)) {
net/bluetooth/hci_event.c
6290
if (hci_dev_test_flag(hdev, HCI_MESH)) {
net/bluetooth/hci_event.c
6522
if (hci_dev_test_flag(hdev, HCI_PA_SYNC)) {
net/bluetooth/hci_event.c
683
if (!hci_dev_test_flag(hdev, HCI_MGMT) && !rp->status) {
net/bluetooth/hci_event.c
705
if (hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_event.c
706
hci_dev_test_flag(hdev, HCI_CONFIG)) {
net/bluetooth/hci_event.c
793
if (hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_event.c
794
hci_dev_test_flag(hdev, HCI_CONFIG))
net/bluetooth/hci_event.c
976
if (hci_dev_test_flag(hdev, HCI_SETUP))
net/bluetooth/hci_event.c
992
if (hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_event.c
993
hci_dev_test_flag(hdev, HCI_CONFIG)) {
net/bluetooth/hci_sock.c
1011
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
net/bluetooth/hci_sock.c
1014
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_sock.c
1216
if (hdev && hci_dev_test_flag(hdev, HCI_UNREGISTER)) {
net/bluetooth/hci_sock.c
1299
hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_sock.c
1300
hci_dev_test_flag(hdev, HCI_CONFIG) ||
net/bluetooth/hci_sock.c
1301
(!hci_dev_test_flag(hdev, HCI_AUTO_OFF) &&
net/bluetooth/hci_sock.c
1683
if (hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_sock.c
1684
hci_dev_test_flag(hdev, HCI_CONFIG) ||
net/bluetooth/hci_sock.c
1685
hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_sock.c
1691
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED) &&
net/bluetooth/hci_sock.c
69
if (hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/hci_sock.c
750
else if (hci_dev_test_flag(hdev, HCI_SETUP))
net/bluetooth/hci_sock.c
938
!hci_dev_test_flag(hdev, HCI_UNREGISTER)) {
net/bluetooth/hci_sync.c
1025
if (!hci_dev_test_flag(hdev, HCI_PRIVACY))
net/bluetooth/hci_sync.c
1029
if (!hci_dev_test_flag(hdev, HCI_LIMITED_PRIVACY))
net/bluetooth/hci_sync.c
1036
hci_dev_test_flag(hdev, HCI_BONDABLE))
net/bluetooth/hci_sync.c
1058
(hci_dev_test_flag(hdev, HCI_LE_ADV) ||
net/bluetooth/hci_sync.c
1140
if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ||
net/bluetooth/hci_sync.c
1142
(!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) &&
net/bluetooth/hci_sync.c
1328
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/hci_sync.c
1540
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/hci_sync.c
1893
if (!hci_dev_test_flag(hdev, HCI_DISCOVERABLE) ||
net/bluetooth/hci_sync.c
1894
hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) {
net/bluetooth/hci_sync.c
1921
if (!hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
net/bluetooth/hci_sync.c
1967
if (hci_dev_test_flag(hdev, HCI_ADVERTISING) && !ext_adv_capable(hdev))
net/bluetooth/hci_sync.c
2009
hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/hci_sync.c
2133
if (!hdev_is_powered(hdev) || hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/hci_sync.c
2172
if (!hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/hci_sync.c
2190
if (hci_dev_test_flag(hdev, HCI_MESH))
net/bluetooth/hci_sync.c
2210
if (val && hci_dev_test_flag(hdev, HCI_MESH))
net/bluetooth/hci_sync.c
2225
if (val == hci_dev_test_flag(hdev, HCI_LL_RPA_RESOLUTION))
net/bluetooth/hci_sync.c
2237
if (!hci_dev_test_flag(hdev, HCI_LE_SCAN))
net/bluetooth/hci_sync.c
2256
return hci_dev_test_flag(hdev, HCI_PRIVACY);
net/bluetooth/hci_sync.c
2385
if (!hci_dev_test_flag(hdev, HCI_PRIVACY))
net/bluetooth/hci_sync.c
2423
if (hci_dev_test_flag(hdev, HCI_PRIVACY))
net/bluetooth/hci_sync.c
2540
if (!hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/hci_sync.c
2550
old_state = hci_dev_test_flag(hdev, HCI_ADVERTISING);
net/bluetooth/hci_sync.c
2639
if (!hci_dev_test_flag(hdev, HCI_LL_RPA_RESOLUTION))
net/bluetooth/hci_sync.c
2645
if (hci_dev_test_flag(hdev, HCI_LE_SCAN) ||
net/bluetooth/hci_sync.c
2785
if (hci_dev_test_flag(hdev, HCI_PA_SYNC)) {
net/bluetooth/hci_sync.c
2946
if (hci_dev_test_flag(hdev, HCI_PA_SYNC)) {
net/bluetooth/hci_sync.c
3118
if (hci_dev_test_flag(hdev, HCI_PRIVACY) &&
net/bluetooth/hci_sync.c
3151
if (hci_dev_test_flag(hdev, HCI_MESH)) {
net/bluetooth/hci_sync.c
3183
hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_sync.c
3184
hci_dev_test_flag(hdev, HCI_CONFIG) ||
net/bluetooth/hci_sync.c
3185
hci_dev_test_flag(hdev, HCI_AUTO_OFF) ||
net/bluetooth/hci_sync.c
3186
hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/hci_sync.c
3190
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/hci_sync.c
3209
if (!hci_dev_test_flag(hdev, HCI_MESH) &&
net/bluetooth/hci_sync.c
3213
!hci_dev_test_flag(hdev, HCI_PA_SYNC)) {
net/bluetooth/hci_sync.c
3270
hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_sync.c
3271
hci_dev_test_flag(hdev, HCI_CONFIG) ||
net/bluetooth/hci_sync.c
3272
hci_dev_test_flag(hdev, HCI_AUTO_OFF) ||
net/bluetooth/hci_sync.c
3273
hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/hci_sync.c
3308
if (!hci_dev_test_flag(hdev, HCI_SSP_ENABLED) ||
net/bluetooth/hci_sync.c
3312
if (!mode && hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS)) {
net/bluetooth/hci_sync.c
3329
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED) ||
net/bluetooth/hci_sync.c
3354
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/hci_sync.c
3362
if (!hci_dev_test_flag(hdev, HCI_LL_RPA_RESOLUTION)) {
net/bluetooth/hci_sync.c
3371
if (hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
net/bluetooth/hci_sync.c
3383
if (hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/hci_sync.c
3398
link_sec = hci_dev_test_flag(hdev, HCI_LINK_SECURITY);
net/bluetooth/hci_sync.c
3413
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_sync.c
3480
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_sync.c
3492
if (hci_dev_test_flag(hdev, HCI_CONNECTABLE) ||
net/bluetooth/hci_sync.c
3498
if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE))
net/bluetooth/hci_sync.c
3561
if (hci_dev_test_flag(hdev, HCI_FAST_CONNECTABLE))
net/bluetooth/hci_sync.c
3580
if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ||
net/bluetooth/hci_sync.c
3582
!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))) {
net/bluetooth/hci_sync.c
3709
if (hci_dev_test_flag(hdev, HCI_SETUP))
net/bluetooth/hci_sync.c
373
if (!hci_dev_test_flag(hdev, HCI_LE_SCAN))
net/bluetooth/hci_sync.c
3819
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_sync.c
3842
if (!hci_dev_test_flag(hdev, HCI_EVENT_FILTER_CONFIGURED))
net/bluetooth/hci_sync.c
3914
if (!lmp_ssp_capable(hdev) || !hci_dev_test_flag(hdev, HCI_SSP_ENABLED))
net/bluetooth/hci_sync.c
3933
if (!lmp_ssp_capable(hdev) || hci_dev_test_flag(hdev, HCI_SSP_ENABLED))
net/bluetooth/hci_sync.c
426
if (!hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
net/bluetooth/hci_sync.c
4571
if (hci_dev_test_flag(hdev, HCI_LE_ENABLED)) {
net/bluetooth/hci_sync.c
4793
if (!hci_dev_test_flag(hdev, HCI_SSP_ENABLED) ||
net/bluetooth/hci_sync.c
4808
bool enabled = hci_dev_test_flag(hdev, HCI_WIDEBAND_SPEECH_ENABLED);
net/bluetooth/hci_sync.c
4931
if (hci_dev_test_flag(hdev, HCI_SETUP))
net/bluetooth/hci_sync.c
4958
if (!hci_dev_test_flag(hdev, HCI_SETUP) &&
net/bluetooth/hci_sync.c
4959
!hci_dev_test_flag(hdev, HCI_CONFIG))
net/bluetooth/hci_sync.c
5024
if (!hci_dev_test_flag(hdev, HCI_SETUP) &&
net/bluetooth/hci_sync.c
5081
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_sync.c
5103
if (hci_dev_test_flag(hdev, HCI_CONFIG)) {
net/bluetooth/hci_sync.c
5117
if (!hci_dev_test_flag(hdev, HCI_UNCONFIGURED) &&
net/bluetooth/hci_sync.c
5118
!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_sync.c
5130
!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
net/bluetooth/hci_sync.c
5131
hci_dev_test_flag(hdev, HCI_VENDOR_DIAG) && hdev->set_diag)
net/bluetooth/hci_sync.c
5134
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_sync.c
5150
if (hci_dev_test_flag(hdev, HCI_UNREGISTER)) {
net/bluetooth/hci_sync.c
5155
if (!hci_dev_test_flag(hdev, HCI_SETUP) &&
net/bluetooth/hci_sync.c
5156
!hci_dev_test_flag(hdev, HCI_CONFIG)) {
net/bluetooth/hci_sync.c
5160
if (hci_dev_test_flag(hdev, HCI_RFKILLED)) {
net/bluetooth/hci_sync.c
5174
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
net/bluetooth/hci_sync.c
5205
if (!hci_dev_test_flag(hdev, HCI_SETUP) &&
net/bluetooth/hci_sync.c
5206
!hci_dev_test_flag(hdev, HCI_CONFIG) &&
net/bluetooth/hci_sync.c
5207
!hci_dev_test_flag(hdev, HCI_UNCONFIGURED) &&
net/bluetooth/hci_sync.c
5208
!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
net/bluetooth/hci_sync.c
5209
hci_dev_test_flag(hdev, HCI_MGMT)) {
net/bluetooth/hci_sync.c
528
if (!hdev_is_powered(hdev) || hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/hci_sync.c
5281
if (!hci_dev_test_flag(hdev, HCI_UNREGISTER) &&
net/bluetooth/hci_sync.c
5301
if (hci_dev_test_flag(hdev, HCI_UNREGISTER)) {
net/bluetooth/hci_sync.c
5342
if (hci_dev_test_flag(hdev, HCI_MGMT)) {
net/bluetooth/hci_sync.c
5362
if (!auto_off && !hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
net/bluetooth/hci_sync.c
5363
hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_sync.c
5375
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_sync.c
5387
!auto_off && !hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/hci_sync.c
5444
hci_dev_test_flag(hdev, HCI_MGMT) &&
net/bluetooth/hci_sync.c
5458
if (hci_dev_test_flag(hdev, HCI_RFKILLED) ||
net/bluetooth/hci_sync.c
5459
hci_dev_test_flag(hdev, HCI_UNCONFIGURED) ||
net/bluetooth/hci_sync.c
5464
} else if (hci_dev_test_flag(hdev, HCI_AUTO_OFF)) {
net/bluetooth/hci_sync.c
5473
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_sync.c
5488
if (!hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_sync.c
5528
if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) {
net/bluetooth/hci_sync.c
5851
if (!hci_dev_test_flag(hdev, HCI_DISCOVERABLE))
net/bluetooth/hci_sync.c
5856
if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) {
net/bluetooth/hci_sync.c
5882
if (hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/hci_sync.c
5899
if (hci_dev_test_flag(hdev, HCI_ADVERTISING)) {
net/bluetooth/hci_sync.c
5907
if (hci_dev_test_flag(hdev, HCI_LIMITED_PRIVACY)) {
net/bluetooth/hci_sync.c
5927
hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
net/bluetooth/hci_sync.c
5928
hci_dev_test_flag(hdev, HCI_DISCOVERABLE) &&
net/bluetooth/hci_sync.c
5929
hci_dev_test_flag(hdev, HCI_LIMITED_PRIVACY))
net/bluetooth/hci_sync.c
5948
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_sync.c
5952
if (hci_dev_test_flag(hdev, HCI_ADVERTISING) ||
net/bluetooth/hci_sync.c
6170
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_sync.c
6390
return hci_dev_test_flag(hdev, HCI_PRIVACY);
net/bluetooth/hci_sync.c
6602
if (hci_dev_test_flag(hdev, HCI_LE_SCAN) &&
net/bluetooth/hci_sync.c
6604
!hci_dev_test_flag(hdev, HCI_LE_SIMULTANEOUS_ROLES)) {
net/bluetooth/hci_sync.c
6617
if (!hci_dev_test_flag(hdev, HCI_LE_SIMULTANEOUS_ROLES))
net/bluetooth/hci_sync.c
6639
if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) {
net/bluetooth/hci_sync.c
709
if (hci_dev_test_flag(hdev, HCI_UNREGISTER)) {
net/bluetooth/hci_sync.c
7140
hci_dev_test_flag(hdev, HCI_LE_SCAN)) {
net/bluetooth/hci_sync.c
924
if (!hci_dev_test_flag(hdev, HCI_SSP_ENABLED))
net/bluetooth/hci_sync.c
927
if (hci_dev_test_flag(hdev, HCI_SERVICE_CACHE))
net/bluetooth/hci_sync.c
963
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_sync.c
966
if (hci_dev_test_flag(hdev, HCI_SERVICE_CACHE))
net/bluetooth/hci_sync.c
973
if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE))
net/bluetooth/hci_sysfs.c
86
if (hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/l2cap_core.c
7014
if (hci_dev_test_flag(hcon->hdev, HCI_LE_ENABLED) &&
net/bluetooth/l2cap_core.c
7016
hci_dev_test_flag(hcon->hdev, HCI_FORCE_BREDR_SMP)))
net/bluetooth/l2cap_core.c
7167
if (hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/mgmt.c
1004
return hci_dev_test_flag(hdev, HCI_CONNECTABLE);
net/bluetooth/mgmt.c
10143
if (hci_dev_test_flag(hdev, HCI_POWERING_DOWN))
net/bluetooth/mgmt.c
10447
if (hci_dev_test_flag(hdev, HCI_MESH) && link_type == LE_LINK)
net/bluetooth/mgmt.c
1047
if (!hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/mgmt.c
1132
if (!hci_dev_test_flag(hdev, HCI_MESH_SENDING))
net/bluetooth/mgmt.c
1140
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/mgmt.c
1195
if (hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/mgmt.c
1199
if (hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
1412
if (hci_dev_test_flag(hdev, HCI_POWERING_DOWN)) {
net/bluetooth/mgmt.c
1518
else if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/mgmt.c
1528
else if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
1554
if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE) &&
net/bluetooth/mgmt.c
1588
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED) &&
net/bluetooth/mgmt.c
1589
!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/mgmt.c
1622
if (!hci_dev_test_flag(hdev, HCI_CONNECTABLE)) {
net/bluetooth/mgmt.c
1641
if (!!cp->val != hci_dev_test_flag(hdev, HCI_DISCOVERABLE)) {
net/bluetooth/mgmt.c
1660
if (!!cp->val == hci_dev_test_flag(hdev, HCI_DISCOVERABLE) &&
net/bluetooth/mgmt.c
1661
(cp->val == 0x02) == hci_dev_test_flag(hdev,
net/bluetooth/mgmt.c
1745
if (!!val != hci_dev_test_flag(hdev, HCI_CONNECTABLE))
net/bluetooth/mgmt.c
1787
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED) &&
net/bluetooth/mgmt.c
1788
!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/mgmt.c
1900
if (!!cp->val != hci_dev_test_flag(hdev, HCI_LINK_SECURITY)) {
net/bluetooth/mgmt.c
2070
if (!!cp->val == hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) {
net/bluetooth/mgmt.c
2152
if (hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/mgmt.c
2168
if (!err && hci_dev_test_flag(hdev, HCI_LE_ENABLED)) {
net/bluetooth/mgmt.c
2257
!hci_dev_test_flag(hdev, HCI_MESH_EXPERIMENTAL))
net/bluetooth/mgmt.c
2394
!hci_dev_test_flag(hdev, HCI_MESH_EXPERIMENTAL))
net/bluetooth/mgmt.c
2400
if (hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
2449
!hci_dev_test_flag(hdev, HCI_MESH_EXPERIMENTAL))
net/bluetooth/mgmt.c
2453
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
2486
!hci_dev_test_flag(hdev, HCI_MESH_EXPERIMENTAL))
net/bluetooth/mgmt.c
2489
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
2515
sending = hci_dev_test_flag(hdev, HCI_MESH_SENDING);
net/bluetooth/mgmt.c
2571
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/mgmt.c
2587
if (val != hci_dev_test_flag(hdev, HCI_LE_ENABLED)) {
net/bluetooth/mgmt.c
2592
if (!val && hci_dev_test_flag(hdev, HCI_ADVERTISING)) {
net/bluetooth/mgmt.c
3974
if (hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/mgmt.c
4005
if (lmp_le_capable(hdev) && hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/mgmt.c
4099
if (hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/mgmt.c
4424
!!cp->val != hci_dev_test_flag(hdev,
net/bluetooth/mgmt.c
446
if (!hci_dev_test_flag(d, HCI_UNCONFIGURED))
net/bluetooth/mgmt.c
4582
if (hci_dev_test_flag(hdev, HCI_LE_SIMULTANEOUS_ROLES))
net/bluetooth/mgmt.c
459
if (hci_dev_test_flag(d, HCI_SETUP) ||
net/bluetooth/mgmt.c
4594
if (hci_dev_test_flag(hdev, HCI_QUALITY_REPORT))
net/bluetooth/mgmt.c
460
hci_dev_test_flag(d, HCI_CONFIG) ||
net/bluetooth/mgmt.c
4605
if (hci_dev_test_flag(hdev, HCI_OFFLOAD_CODECS_ENABLED))
net/bluetooth/mgmt.c
461
hci_dev_test_flag(d, HCI_USER_CHANNEL))
net/bluetooth/mgmt.c
4623
if (hci_dev_test_flag(hdev, HCI_MESH_EXPERIMENTAL))
net/bluetooth/mgmt.c
470
if (!hci_dev_test_flag(d, HCI_UNCONFIGURED)) {
net/bluetooth/mgmt.c
4822
changed = (val != hci_dev_test_flag(hdev, HCI_QUALITY_REPORT));
net/bluetooth/mgmt.c
4894
changed = (val != hci_dev_test_flag(hdev, HCI_OFFLOAD_CODECS_ENABLED));
net/bluetooth/mgmt.c
4952
changed = (val != hci_dev_test_flag(hdev, HCI_LE_SIMULTANEOUS_ROLES));
net/bluetooth/mgmt.c
504
if (hci_dev_test_flag(d, HCI_UNCONFIGURED))
net/bluetooth/mgmt.c
517
if (hci_dev_test_flag(d, HCI_SETUP) ||
net/bluetooth/mgmt.c
518
hci_dev_test_flag(d, HCI_CONFIG) ||
net/bluetooth/mgmt.c
519
hci_dev_test_flag(d, HCI_USER_CHANNEL))
net/bluetooth/mgmt.c
528
if (hci_dev_test_flag(d, HCI_UNCONFIGURED)) {
net/bluetooth/mgmt.c
571
if (hci_dev_test_flag(d, HCI_SETUP) ||
net/bluetooth/mgmt.c
572
hci_dev_test_flag(d, HCI_CONFIG) ||
net/bluetooth/mgmt.c
573
hci_dev_test_flag(d, HCI_USER_CHANNEL))
net/bluetooth/mgmt.c
582
if (hci_dev_test_flag(d, HCI_UNCONFIGURED))
net/bluetooth/mgmt.c
6018
hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) {
net/bluetooth/mgmt.c
6107
hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) {
net/bluetooth/mgmt.c
616
!hci_dev_test_flag(hdev, HCI_EXT_CONFIGURED))
net/bluetooth/mgmt.c
632
!hci_dev_test_flag(hdev, HCI_EXT_CONFIGURED))
net/bluetooth/mgmt.c
6442
if (hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/mgmt.c
6458
if (hci_dev_test_flag(hdev, HCI_ADVERTISING) ||
net/bluetooth/mgmt.c
6557
(val == hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
net/bluetooth/mgmt.c
6558
(cp->val == 0x02) == hci_dev_test_flag(hdev, HCI_ADVERTISING_CONNECTABLE)) ||
net/bluetooth/mgmt.c
6559
hci_dev_test_flag(hdev, HCI_MESH) ||
net/bluetooth/mgmt.c
6561
(hci_dev_test_flag(hdev, HCI_LE_SCAN) &&
net/bluetooth/mgmt.c
6694
if (hci_dev_test_flag(hdev, HCI_LE_SCAN) &&
net/bluetooth/mgmt.c
6744
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) ||
net/bluetooth/mgmt.c
6757
if (!!cp->val == hci_dev_test_flag(hdev, HCI_FAST_CONNECTABLE)) {
net/bluetooth/mgmt.c
6844
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
6854
if (cp->val == hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/mgmt.c
6897
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) &&
net/bluetooth/mgmt.c
6899
hci_dev_test_flag(hdev, HCI_SC_ENABLED))) {
net/bluetooth/mgmt.c
6993
!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
6997
if (hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) &&
net/bluetooth/mgmt.c
6999
!hci_dev_test_flag(hdev, HCI_SSP_ENABLED))
net/bluetooth/mgmt.c
7010
!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/mgmt.c
7038
if (val == hci_dev_test_flag(hdev, HCI_SC_ENABLED) &&
net/bluetooth/mgmt.c
7039
(cp->val == 0x02) == hci_dev_test_flag(hdev, HCI_SC_ONLY)) {
net/bluetooth/mgmt.c
7092
hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) {
net/bluetooth/mgmt.c
8104
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED) == is_configured(hdev)) {
net/bluetooth/mgmt.c
8156
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/mgmt.c
8233
if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) {
net/bluetooth/mgmt.c
8373
if (hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) {
net/bluetooth/mgmt.c
8388
if (hci_dev_test_flag(hdev, HCI_SC_ENABLED) &&
net/bluetooth/mgmt.c
8405
if (hci_dev_test_flag(hdev, HCI_PRIVACY)) {
net/bluetooth/mgmt.c
8411
if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ||
net/bluetooth/mgmt.c
8413
(!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) &&
net/bluetooth/mgmt.c
8425
if (hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/mgmt.c
8433
if (hci_dev_test_flag(hdev, HCI_SC_ENABLED)) {
net/bluetooth/mgmt.c
8445
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/mgmt.c
879
if (hci_dev_test_flag(hdev, HCI_CONNECTABLE))
net/bluetooth/mgmt.c
882
if (hci_dev_test_flag(hdev, HCI_FAST_CONNECTABLE))
net/bluetooth/mgmt.c
885
if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE))
net/bluetooth/mgmt.c
8855
hci_dev_test_flag(hdev, HCI_ADVERTISING) ||
net/bluetooth/mgmt.c
888
if (hci_dev_test_flag(hdev, HCI_BONDABLE))
net/bluetooth/mgmt.c
891
if (hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/mgmt.c
894
if (hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
897
if (hci_dev_test_flag(hdev, HCI_LINK_SECURITY))
net/bluetooth/mgmt.c
900
if (hci_dev_test_flag(hdev, HCI_SSP_ENABLED))
net/bluetooth/mgmt.c
903
if (hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/mgmt.c
906
if (hci_dev_test_flag(hdev, HCI_SC_ENABLED))
net/bluetooth/mgmt.c
909
if (hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS))
net/bluetooth/mgmt.c
912
if (hci_dev_test_flag(hdev, HCI_PRIVACY))
net/bluetooth/mgmt.c
9178
if (hci_dev_test_flag(hdev, HCI_ADVERTISING) || !schedule_instance) {
net/bluetooth/mgmt.c
927
if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ||
net/bluetooth/mgmt.c
928
!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) ||
net/bluetooth/mgmt.c
934
if (hci_dev_test_flag(hdev, HCI_WIDEBAND_SPEECH_ENABLED))
net/bluetooth/mgmt.c
9486
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/mgmt.c
9512
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/mgmt.c
9528
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/mgmt.c
9575
if (hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/mgmt.c
981
if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE))
net/bluetooth/mgmt.c
9828
if (hci_dev_test_flag(hdev, HCI_POWERING_DOWN))
net/bluetooth/mgmt.c
983
else if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE))
net/bluetooth/sco.c
1020
if (!hci_dev_test_flag(hdev, HCI_OFFLOAD_CODECS_ENABLED)) {
net/bluetooth/sco.c
1215
if (!hci_dev_test_flag(hdev, HCI_OFFLOAD_CODECS_ENABLED)) {
net/bluetooth/smp.c
1121
if (!hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS) &&
net/bluetooth/smp.c
1702
if (hci_dev_test_flag(hdev, HCI_BONDABLE)) {
net/bluetooth/smp.c
1707
if (hci_dev_test_flag(hdev, HCI_RPA_RESOLVING))
net/bluetooth/smp.c
1710
if (hci_dev_test_flag(hdev, HCI_PRIVACY))
net/bluetooth/smp.c
1762
if (!hci_dev_test_flag(hdev, HCI_BONDABLE) &&
net/bluetooth/smp.c
1766
if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC))
net/bluetooth/smp.c
1784
!hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP))
net/bluetooth/smp.c
1900
if (hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS)) {
net/bluetooth/smp.c
1956
if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC))
net/bluetooth/smp.c
2063
if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) {
net/bluetooth/smp.c
2312
if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC))
net/bluetooth/smp.c
2339
if (!hci_dev_test_flag(hdev, HCI_BONDABLE) &&
net/bluetooth/smp.c
2376
if (!hci_dev_test_flag(hcon->hdev, HCI_LE_ENABLED))
net/bluetooth/smp.c
2411
if (hci_dev_test_flag(hcon->hdev, HCI_SC_ENABLED)) {
net/bluetooth/smp.c
2413
if (hci_dev_test_flag(hcon->hdev, HCI_SSP_ENABLED))
net/bluetooth/smp.c
2420
if (!hci_dev_test_flag(hcon->hdev, HCI_FORCE_NO_MITM)) {
net/bluetooth/smp.c
2951
if (!hci_dev_test_flag(hcon->hdev, HCI_LE_ENABLED)) {
net/bluetooth/smp.c
3105
if (!hci_dev_test_flag(hdev, HCI_SC_ENABLED))
net/bluetooth/smp.c
3110
!hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP))
net/bluetooth/smp.c
3114
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/smp.c
3381
if (enable == hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP))
net/bluetooth/smp.c
3431
if (!hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP))
net/bluetooth/smp.c
549
if (hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS)) {
net/bluetooth/smp.c
62
#define AUTH_REQ_MASK(dev) (hci_dev_test_flag(dev, HCI_SC_ENABLED) ? \
net/bluetooth/smp.c
657
if (hci_dev_test_flag(hdev, HCI_BONDABLE)) {
net/bluetooth/smp.c
665
if (hci_dev_test_flag(hdev, HCI_RPA_RESOLVING))
net/bluetooth/smp.c
668
if (hci_dev_test_flag(hdev, HCI_PRIVACY))
net/bluetooth/smp.c
671
if (hci_dev_test_flag(hdev, HCI_SC_ENABLED) &&
net/bluetooth/smp.c
676
if (hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) {
net/bluetooth/smp.c
767
!hci_dev_test_flag(hcon->hdev, HCI_KEEP_DEBUG_KEYS)) {