drivers/bluetooth/btusb.c
1393
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
drivers/bluetooth/btusb.c
2267
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
drivers/bluetooth/btusb.c
2748
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
drivers/bluetooth/hci_qca.c
2617
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
1325
hci_dev_test_flag(d, HCI_USER_CHANNEL))
net/bluetooth/hci_conn.c
1453
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) {
net/bluetooth/hci_conn.c
1645
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) {
net/bluetooth/hci_conn.c
1696
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) {
net/bluetooth/hci_conn.c
1751
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/hci_conn.c
2442
if (hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/hci_conn.c
2491
if (hci_dev_test_flag(conn->hdev, HCI_SC_ONLY)) {
net/bluetooth/hci_conn.c
3265
if (!hci_dev_test_flag(conn->hdev, HCI_SCO_FLOWCTL))
net/bluetooth/hci_conn.c
3380
if (hci_dev_test_flag(hdev, HCI_SCO_FLOWCTL))
net/bluetooth/hci_core.c
1801
if (hci_dev_test_flag(hdev, HCI_ADVERTISING_CONNECTABLE))
net/bluetooth/hci_core.c
1804
if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE))
net/bluetooth/hci_core.c
1806
else if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE))
net/bluetooth/hci_core.c
2341
if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ||
net/bluetooth/hci_core.c
2343
(!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) &&
net/bluetooth/hci_core.c
2372
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
net/bluetooth/hci_core.c
2681
!hci_dev_test_flag(hdev, HCI_SETUP) &&
net/bluetooth/hci_core.c
2682
!hci_dev_test_flag(hdev, HCI_CONFIG)) {
net/bluetooth/hci_core.c
2779
if (hci_dev_test_flag(hdev, HCI_UNREGISTER)) {
net/bluetooth/hci_core.c
2801
hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/hci_core.c
2832
hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/hci_core.c
338
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
343
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/hci_core.c
348
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/hci_core.c
3565
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_core.c
3613
if (!hci_dev_test_flag(hdev, HCI_SCO_FLOWCTL))
net/bluetooth/hci_core.c
3635
if (!pkts && !hci_dev_test_flag(hdev, HCI_SCO_FLOWCTL))
net/bluetooth/hci_core.c
3776
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
4018
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
net/bluetooth/hci_core.c
4121
hci_dev_test_flag(hdev, HCI_CMD_DRAIN_WORKQUEUE))
net/bluetooth/hci_core.c
454
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED) &&
net/bluetooth/hci_core.c
455
!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
480
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
net/bluetooth/hci_core.c
481
!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_core.c
515
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
561
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
566
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/hci_core.c
587
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
592
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/hci_core.c
626
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_core.c
633
if (hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/hci_core.c
654
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_core.c
659
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/hci_core.c
664
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/hci_core.c
775
if (hci_dev_test_flag(hdev, HCI_AUTO_OFF))
net/bluetooth/hci_core.c
811
if (hci_dev_test_flag(hdev, HCI_AUTO_OFF))
net/bluetooth/hci_core.c
870
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
net/bluetooth/hci_core.c
873
if (blocked == hci_dev_test_flag(hdev, HCI_RFKILLED))
net/bluetooth/hci_core.c
879
if (!hci_dev_test_flag(hdev, HCI_SETUP) &&
net/bluetooth/hci_core.c
880
!hci_dev_test_flag(hdev, HCI_CONFIG)) {
net/bluetooth/hci_core.c
912
hci_dev_test_flag(hdev, HCI_MGMT) &&
net/bluetooth/hci_core.c
932
if (hci_dev_test_flag(hdev, HCI_RFKILLED) ||
net/bluetooth/hci_core.c
933
hci_dev_test_flag(hdev, HCI_UNCONFIGURED) ||
net/bluetooth/hci_core.c
938
} else if (hci_dev_test_flag(hdev, HCI_AUTO_OFF)) {
net/bluetooth/hci_core.c
947
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_core.c
962
if (!hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_debugfs.c
1153
buf[0] = hci_dev_test_flag(hdev, HCI_FORCE_NO_MITM) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
1175
if (enable == hci_dev_test_flag(hdev, HCI_FORCE_NO_MITM))
net/bluetooth/hci_debugfs.c
1278
buf[0] = hci_dev_test_flag(hdev, HCI_DUT_MODE) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
1299
if (enable == hci_dev_test_flag(hdev, HCI_DUT_MODE))
net/bluetooth/hci_debugfs.c
1334
buf[0] = hci_dev_test_flag(hdev, HCI_VENDOR_DIAG) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
1358
hci_dev_test_flag(hdev, HCI_USER_CHANNEL)))
net/bluetooth/hci_debugfs.c
279
buf[0] = hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
297
buf[0] = hci_dev_test_flag(hdev, HCI_SC_ONLY) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
506
buf[0] = hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
751
buf[0] = hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ? 'Y' : 'N';
net/bluetooth/hci_debugfs.c
772
if (enable == hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR))
net/bluetooth/hci_event.c
114
if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) ||
net/bluetooth/hci_event.c
1166
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
1194
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
1265
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
1283
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
1301
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
1319
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
1782
else if (!hci_dev_test_flag(hdev, HCI_LE_ADV) &&
net/bluetooth/hci_event.c
2505
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
2996
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
3012
if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) ||
net/bluetooth/hci_event.c
3031
if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) ||
net/bluetooth/hci_event.c
3056
if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ))
net/bluetooth/hci_event.c
3320
if (hci_dev_test_flag(hdev, HCI_MGMT) &&
net/bluetooth/hci_event.c
3321
!hci_dev_test_flag(hdev, HCI_CONNECTABLE) &&
net/bluetooth/hci_event.c
3552
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
358
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
3766
if (!hci_dev_test_flag(hdev, HCI_CMD_DRAIN_WORKQUEUE))
net/bluetooth/hci_event.c
378
if (hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_event.c
379
hci_dev_test_flag(hdev, HCI_CONFIG))
net/bluetooth/hci_event.c
408
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
4300
if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) {
net/bluetooth/hci_event.c
4420
if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) {
net/bluetooth/hci_event.c
4604
if (!hci_dev_test_flag(hdev, HCI_BONDABLE) &&
net/bluetooth/hci_event.c
4608
} else if (hci_dev_test_flag(hdev, HCI_MGMT)) {
net/bluetooth/hci_event.c
4665
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
4746
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
4768
!hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS)) {
net/bluetooth/hci_event.c
4855
if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ))
net/bluetooth/hci_event.c
5143
if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ))
net/bluetooth/hci_event.c
5162
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5265
if (!hci_dev_test_flag(hdev, HCI_SC_ONLY))
net/bluetooth/hci_event.c
5302
if (!conn || !hci_dev_test_flag(hdev, HCI_SSP_ENABLED))
net/bluetooth/hci_event.c
5310
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5316
if (hci_dev_test_flag(hdev, HCI_BONDABLE) ||
net/bluetooth/hci_event.c
5342
if (!hci_dev_test_flag(hdev, HCI_BONDABLE))
net/bluetooth/hci_event.c
5396
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
544
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5474
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5495
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5539
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5611
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_event.c
5628
if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) {
net/bluetooth/hci_event.c
5669
} else if (hci_dev_test_flag(conn->hdev, HCI_PRIVACY)) {
net/bluetooth/hci_event.c
5764
if (hci_dev_test_flag(hdev, HCI_PRIVACY)) {
net/bluetooth/hci_event.c
6235
if (!hci_dev_test_flag(hdev, HCI_MESH) && direct_addr &&
net/bluetooth/hci_event.c
6236
hci_dev_test_flag(hdev, HCI_PRIVACY)) {
net/bluetooth/hci_event.c
6285
if (hci_dev_test_flag(hdev, HCI_MESH)) {
net/bluetooth/hci_event.c
6517
if (hci_dev_test_flag(hdev, HCI_PA_SYNC)) {
net/bluetooth/hci_event.c
680
if (!hci_dev_test_flag(hdev, HCI_MGMT) && !rp->status) {
net/bluetooth/hci_event.c
702
if (hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_event.c
703
hci_dev_test_flag(hdev, HCI_CONFIG)) {
net/bluetooth/hci_event.c
790
if (hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_event.c
791
hci_dev_test_flag(hdev, HCI_CONFIG))
net/bluetooth/hci_event.c
973
if (hci_dev_test_flag(hdev, HCI_SETUP))
net/bluetooth/hci_event.c
989
if (hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_event.c
990
hci_dev_test_flag(hdev, HCI_CONFIG)) {
net/bluetooth/hci_sock.c
1009
if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
net/bluetooth/hci_sock.c
1012
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_sock.c
1214
if (hdev && hci_dev_test_flag(hdev, HCI_UNREGISTER)) {
net/bluetooth/hci_sock.c
1297
hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_sock.c
1298
hci_dev_test_flag(hdev, HCI_CONFIG) ||
net/bluetooth/hci_sock.c
1299
(!hci_dev_test_flag(hdev, HCI_AUTO_OFF) &&
net/bluetooth/hci_sock.c
1681
if (hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_sock.c
1682
hci_dev_test_flag(hdev, HCI_CONFIG) ||
net/bluetooth/hci_sock.c
1683
hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_sock.c
1689
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED) &&
net/bluetooth/hci_sock.c
67
if (hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/hci_sock.c
748
else if (hci_dev_test_flag(hdev, HCI_SETUP))
net/bluetooth/hci_sock.c
936
!hci_dev_test_flag(hdev, HCI_UNREGISTER)) {
net/bluetooth/hci_sync.c
1034
if (!hci_dev_test_flag(hdev, HCI_PRIVACY))
net/bluetooth/hci_sync.c
1038
if (!hci_dev_test_flag(hdev, HCI_LIMITED_PRIVACY))
net/bluetooth/hci_sync.c
1045
hci_dev_test_flag(hdev, HCI_BONDABLE))
net/bluetooth/hci_sync.c
1069
(hci_dev_test_flag(hdev, HCI_LE_ADV) ||
net/bluetooth/hci_sync.c
1154
if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ||
net/bluetooth/hci_sync.c
1156
(!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) &&
net/bluetooth/hci_sync.c
1362
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/hci_sync.c
1610
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/hci_sync.c
1975
if (!hci_dev_test_flag(hdev, HCI_DISCOVERABLE) ||
net/bluetooth/hci_sync.c
1976
hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) {
net/bluetooth/hci_sync.c
2003
if (!hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
net/bluetooth/hci_sync.c
2049
if (hci_dev_test_flag(hdev, HCI_ADVERTISING) && !ext_adv_capable(hdev))
net/bluetooth/hci_sync.c
2091
hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/hci_sync.c
2215
if (!hdev_is_powered(hdev) || hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/hci_sync.c
2254
if (!hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/hci_sync.c
2272
if (hci_dev_test_flag(hdev, HCI_MESH))
net/bluetooth/hci_sync.c
2292
if (val && hci_dev_test_flag(hdev, HCI_MESH))
net/bluetooth/hci_sync.c
2307
if (val == hci_dev_test_flag(hdev, HCI_LL_RPA_RESOLUTION))
net/bluetooth/hci_sync.c
2319
if (!hci_dev_test_flag(hdev, HCI_LE_SCAN))
net/bluetooth/hci_sync.c
2338
return hci_dev_test_flag(hdev, HCI_PRIVACY);
net/bluetooth/hci_sync.c
2467
if (!hci_dev_test_flag(hdev, HCI_PRIVACY))
net/bluetooth/hci_sync.c
2505
if (hci_dev_test_flag(hdev, HCI_PRIVACY))
net/bluetooth/hci_sync.c
2622
if (!hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/hci_sync.c
2632
old_state = hci_dev_test_flag(hdev, HCI_ADVERTISING);
net/bluetooth/hci_sync.c
2721
if (!hci_dev_test_flag(hdev, HCI_LL_RPA_RESOLUTION))
net/bluetooth/hci_sync.c
2729
if (hci_dev_test_flag(hdev, HCI_LE_SCAN) ||
net/bluetooth/hci_sync.c
2872
if (hci_dev_test_flag(hdev, HCI_PA_SYNC)) {
net/bluetooth/hci_sync.c
3044
if (hci_dev_test_flag(hdev, HCI_PA_SYNC)) {
net/bluetooth/hci_sync.c
3222
if (hci_dev_test_flag(hdev, HCI_PRIVACY) &&
net/bluetooth/hci_sync.c
3255
if (hci_dev_test_flag(hdev, HCI_MESH)) {
net/bluetooth/hci_sync.c
3287
hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_sync.c
3288
hci_dev_test_flag(hdev, HCI_CONFIG) ||
net/bluetooth/hci_sync.c
3289
hci_dev_test_flag(hdev, HCI_AUTO_OFF) ||
net/bluetooth/hci_sync.c
3290
hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/hci_sync.c
3294
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/hci_sync.c
3313
if (!hci_dev_test_flag(hdev, HCI_MESH) &&
net/bluetooth/hci_sync.c
3317
!hci_dev_test_flag(hdev, HCI_PA_SYNC)) {
net/bluetooth/hci_sync.c
3378
hci_dev_test_flag(hdev, HCI_SETUP) ||
net/bluetooth/hci_sync.c
3379
hci_dev_test_flag(hdev, HCI_CONFIG) ||
net/bluetooth/hci_sync.c
3380
hci_dev_test_flag(hdev, HCI_AUTO_OFF) ||
net/bluetooth/hci_sync.c
3381
hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/hci_sync.c
3416
if (!hci_dev_test_flag(hdev, HCI_SSP_ENABLED) ||
net/bluetooth/hci_sync.c
3420
if (!mode && hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS)) {
net/bluetooth/hci_sync.c
3437
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED) ||
net/bluetooth/hci_sync.c
3462
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/hci_sync.c
3470
if (!hci_dev_test_flag(hdev, HCI_LL_RPA_RESOLUTION)) {
net/bluetooth/hci_sync.c
3479
if (hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
net/bluetooth/hci_sync.c
3491
if (hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/hci_sync.c
3506
link_sec = hci_dev_test_flag(hdev, HCI_LINK_SECURITY);
net/bluetooth/hci_sync.c
3521
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_sync.c
3589
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_sync.c
3603
if (hci_dev_test_flag(hdev, HCI_CONNECTABLE) ||
net/bluetooth/hci_sync.c
3611
if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE))
net/bluetooth/hci_sync.c
3674
if (hci_dev_test_flag(hdev, HCI_FAST_CONNECTABLE))
net/bluetooth/hci_sync.c
3693
if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ||
net/bluetooth/hci_sync.c
3695
!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))) {
net/bluetooth/hci_sync.c
373
if (!hci_dev_test_flag(hdev, HCI_LE_SCAN))
net/bluetooth/hci_sync.c
3822
if (hci_dev_test_flag(hdev, HCI_SETUP))
net/bluetooth/hci_sync.c
3932
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_sync.c
3955
if (!hci_dev_test_flag(hdev, HCI_EVENT_FILTER_CONFIGURED))
net/bluetooth/hci_sync.c
4027
if (!lmp_ssp_capable(hdev) || !hci_dev_test_flag(hdev, HCI_SSP_ENABLED))
net/bluetooth/hci_sync.c
4046
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
4687
if (hci_dev_test_flag(hdev, HCI_LE_ENABLED)) {
net/bluetooth/hci_sync.c
4931
if (!hci_dev_test_flag(hdev, HCI_SSP_ENABLED) ||
net/bluetooth/hci_sync.c
4946
bool enabled = hci_dev_test_flag(hdev, HCI_WIDEBAND_SPEECH_ENABLED);
net/bluetooth/hci_sync.c
5069
if (hci_dev_test_flag(hdev, HCI_SETUP))
net/bluetooth/hci_sync.c
5096
if (!hci_dev_test_flag(hdev, HCI_SETUP) &&
net/bluetooth/hci_sync.c
5097
!hci_dev_test_flag(hdev, HCI_CONFIG))
net/bluetooth/hci_sync.c
5162
if (!hci_dev_test_flag(hdev, HCI_SETUP) &&
net/bluetooth/hci_sync.c
5219
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_sync.c
5241
if (hci_dev_test_flag(hdev, HCI_CONFIG)) {
net/bluetooth/hci_sync.c
5255
if (!hci_dev_test_flag(hdev, HCI_UNCONFIGURED) &&
net/bluetooth/hci_sync.c
5256
!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_sync.c
5268
!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
net/bluetooth/hci_sync.c
5269
hci_dev_test_flag(hdev, HCI_VENDOR_DIAG) && hdev->set_diag)
net/bluetooth/hci_sync.c
5272
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_sync.c
528
if (!hdev_is_powered(hdev) || hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/hci_sync.c
5288
if (hci_dev_test_flag(hdev, HCI_UNREGISTER)) {
net/bluetooth/hci_sync.c
5293
if (!hci_dev_test_flag(hdev, HCI_SETUP) &&
net/bluetooth/hci_sync.c
5294
!hci_dev_test_flag(hdev, HCI_CONFIG)) {
net/bluetooth/hci_sync.c
5298
if (hci_dev_test_flag(hdev, HCI_RFKILLED)) {
net/bluetooth/hci_sync.c
5312
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
net/bluetooth/hci_sync.c
5343
if (!hci_dev_test_flag(hdev, HCI_SETUP) &&
net/bluetooth/hci_sync.c
5344
!hci_dev_test_flag(hdev, HCI_CONFIG) &&
net/bluetooth/hci_sync.c
5345
!hci_dev_test_flag(hdev, HCI_UNCONFIGURED) &&
net/bluetooth/hci_sync.c
5346
!hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
net/bluetooth/hci_sync.c
5347
hci_dev_test_flag(hdev, HCI_MGMT)) {
net/bluetooth/hci_sync.c
5419
if (!hci_dev_test_flag(hdev, HCI_UNREGISTER) &&
net/bluetooth/hci_sync.c
5445
if (hci_dev_test_flag(hdev, HCI_UNREGISTER)) {
net/bluetooth/hci_sync.c
5487
if (hci_dev_test_flag(hdev, HCI_MGMT)) {
net/bluetooth/hci_sync.c
5507
if (!auto_off && !hci_dev_test_flag(hdev, HCI_USER_CHANNEL) &&
net/bluetooth/hci_sync.c
5508
hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/hci_sync.c
5520
if (!hci_dev_test_flag(hdev, HCI_USER_CHANNEL)) {
net/bluetooth/hci_sync.c
5536
!auto_off && !hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/hci_sync.c
5594
hci_dev_test_flag(hdev, HCI_MGMT) &&
net/bluetooth/hci_sync.c
5608
if (hci_dev_test_flag(hdev, HCI_RFKILLED) ||
net/bluetooth/hci_sync.c
5609
hci_dev_test_flag(hdev, HCI_UNCONFIGURED) ||
net/bluetooth/hci_sync.c
5614
} else if (hci_dev_test_flag(hdev, HCI_AUTO_OFF)) {
net/bluetooth/hci_sync.c
5623
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_sync.c
5638
if (!hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/hci_sync.c
5678
if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) {
net/bluetooth/hci_sync.c
6001
if (!hci_dev_test_flag(hdev, HCI_DISCOVERABLE))
net/bluetooth/hci_sync.c
6006
if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) {
net/bluetooth/hci_sync.c
6032
if (hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/hci_sync.c
6049
if (hci_dev_test_flag(hdev, HCI_ADVERTISING)) {
net/bluetooth/hci_sync.c
6057
if (hci_dev_test_flag(hdev, HCI_LIMITED_PRIVACY)) {
net/bluetooth/hci_sync.c
6077
hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
net/bluetooth/hci_sync.c
6078
hci_dev_test_flag(hdev, HCI_DISCOVERABLE) &&
net/bluetooth/hci_sync.c
6079
hci_dev_test_flag(hdev, HCI_LIMITED_PRIVACY))
net/bluetooth/hci_sync.c
6098
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_sync.c
6102
if (hci_dev_test_flag(hdev, HCI_ADVERTISING) ||
net/bluetooth/hci_sync.c
6320
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_sync.c
6540
return hci_dev_test_flag(hdev, HCI_PRIVACY);
net/bluetooth/hci_sync.c
6752
if (hci_dev_test_flag(hdev, HCI_LE_SCAN) &&
net/bluetooth/hci_sync.c
6754
!hci_dev_test_flag(hdev, HCI_LE_SIMULTANEOUS_ROLES)) {
net/bluetooth/hci_sync.c
6769
if (!hci_dev_test_flag(hdev, HCI_LE_SIMULTANEOUS_ROLES))
net/bluetooth/hci_sync.c
6795
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
7408
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
967
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/hci_sync.c
970
if (hci_dev_test_flag(hdev, HCI_SERVICE_CACHE))
net/bluetooth/hci_sync.c
978
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
7182
if (hci_dev_test_flag(hcon->hdev, HCI_LE_ENABLED) &&
net/bluetooth/l2cap_core.c
7184
hci_dev_test_flag(hcon->hdev, HCI_FORCE_BREDR_SMP)))
net/bluetooth/l2cap_core.c
7335
if (hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/mgmt.c
1001
return hci_dev_test_flag(hdev, HCI_CONNECTABLE);
net/bluetooth/mgmt.c
10273
if (hci_dev_test_flag(hdev, HCI_POWERING_DOWN))
net/bluetooth/mgmt.c
1044
if (!hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/mgmt.c
10577
if (hci_dev_test_flag(hdev, HCI_MESH) && link_type == LE_LINK)
net/bluetooth/mgmt.c
1129
if (!hci_dev_test_flag(hdev, HCI_MESH_SENDING))
net/bluetooth/mgmt.c
1137
if (hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/mgmt.c
1192
if (hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/mgmt.c
1196
if (hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
1409
if (hci_dev_test_flag(hdev, HCI_POWERING_DOWN)) {
net/bluetooth/mgmt.c
1515
else if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/mgmt.c
1525
else if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
1551
if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE) &&
net/bluetooth/mgmt.c
1585
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED) &&
net/bluetooth/mgmt.c
1586
!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/mgmt.c
1619
if (!hci_dev_test_flag(hdev, HCI_CONNECTABLE)) {
net/bluetooth/mgmt.c
1638
if (!!cp->val != hci_dev_test_flag(hdev, HCI_DISCOVERABLE)) {
net/bluetooth/mgmt.c
1657
if (!!cp->val == hci_dev_test_flag(hdev, HCI_DISCOVERABLE) &&
net/bluetooth/mgmt.c
1658
(cp->val == 0x02) == hci_dev_test_flag(hdev,
net/bluetooth/mgmt.c
1742
if (!!val != hci_dev_test_flag(hdev, HCI_CONNECTABLE))
net/bluetooth/mgmt.c
1784
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED) &&
net/bluetooth/mgmt.c
1785
!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/mgmt.c
1897
if (!!cp->val != hci_dev_test_flag(hdev, HCI_LINK_SECURITY)) {
net/bluetooth/mgmt.c
2067
if (!!cp->val == hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) {
net/bluetooth/mgmt.c
2149
if (hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/mgmt.c
2165
if (!err && hci_dev_test_flag(hdev, HCI_LE_ENABLED)) {
net/bluetooth/mgmt.c
2254
!hci_dev_test_flag(hdev, HCI_MESH_EXPERIMENTAL))
net/bluetooth/mgmt.c
2391
!hci_dev_test_flag(hdev, HCI_MESH_EXPERIMENTAL))
net/bluetooth/mgmt.c
2397
if (hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
2446
!hci_dev_test_flag(hdev, HCI_MESH_EXPERIMENTAL))
net/bluetooth/mgmt.c
2450
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
2483
!hci_dev_test_flag(hdev, HCI_MESH_EXPERIMENTAL))
net/bluetooth/mgmt.c
2486
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
2512
sending = hci_dev_test_flag(hdev, HCI_MESH_SENDING);
net/bluetooth/mgmt.c
2568
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/mgmt.c
2584
if (val != hci_dev_test_flag(hdev, HCI_LE_ENABLED)) {
net/bluetooth/mgmt.c
2589
if (!val && hci_dev_test_flag(hdev, HCI_ADVERTISING)) {
net/bluetooth/mgmt.c
4025
if (hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/mgmt.c
4056
if (lmp_le_capable(hdev) && hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/mgmt.c
4156
if (hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/mgmt.c
443
if (!hci_dev_test_flag(d, HCI_UNCONFIGURED))
net/bluetooth/mgmt.c
4481
!!cp->val != hci_dev_test_flag(hdev,
net/bluetooth/mgmt.c
456
if (hci_dev_test_flag(d, HCI_SETUP) ||
net/bluetooth/mgmt.c
457
hci_dev_test_flag(d, HCI_CONFIG) ||
net/bluetooth/mgmt.c
458
hci_dev_test_flag(d, HCI_USER_CHANNEL))
net/bluetooth/mgmt.c
4639
if (hci_dev_test_flag(hdev, HCI_LE_SIMULTANEOUS_ROLES))
net/bluetooth/mgmt.c
4651
if (hci_dev_test_flag(hdev, HCI_QUALITY_REPORT))
net/bluetooth/mgmt.c
4662
if (hci_dev_test_flag(hdev, HCI_OFFLOAD_CODECS_ENABLED))
net/bluetooth/mgmt.c
467
if (!hci_dev_test_flag(d, HCI_UNCONFIGURED)) {
net/bluetooth/mgmt.c
4680
if (hci_dev_test_flag(hdev, HCI_MESH_EXPERIMENTAL))
net/bluetooth/mgmt.c
4879
changed = (val != hci_dev_test_flag(hdev, HCI_QUALITY_REPORT));
net/bluetooth/mgmt.c
4951
changed = (val != hci_dev_test_flag(hdev, HCI_OFFLOAD_CODECS_ENABLED));
net/bluetooth/mgmt.c
5009
changed = (val != hci_dev_test_flag(hdev, HCI_LE_SIMULTANEOUS_ROLES));
net/bluetooth/mgmt.c
501
if (hci_dev_test_flag(d, HCI_UNCONFIGURED))
net/bluetooth/mgmt.c
514
if (hci_dev_test_flag(d, HCI_SETUP) ||
net/bluetooth/mgmt.c
515
hci_dev_test_flag(d, HCI_CONFIG) ||
net/bluetooth/mgmt.c
516
hci_dev_test_flag(d, HCI_USER_CHANNEL))
net/bluetooth/mgmt.c
525
if (hci_dev_test_flag(d, HCI_UNCONFIGURED)) {
net/bluetooth/mgmt.c
568
if (hci_dev_test_flag(d, HCI_SETUP) ||
net/bluetooth/mgmt.c
569
hci_dev_test_flag(d, HCI_CONFIG) ||
net/bluetooth/mgmt.c
570
hci_dev_test_flag(d, HCI_USER_CHANNEL))
net/bluetooth/mgmt.c
579
if (hci_dev_test_flag(d, HCI_UNCONFIGURED))
net/bluetooth/mgmt.c
6077
hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) {
net/bluetooth/mgmt.c
613
!hci_dev_test_flag(hdev, HCI_EXT_CONFIGURED))
net/bluetooth/mgmt.c
6166
hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) {
net/bluetooth/mgmt.c
629
!hci_dev_test_flag(hdev, HCI_EXT_CONFIGURED))
net/bluetooth/mgmt.c
6501
if (hci_dev_test_flag(hdev, HCI_LE_ADV))
net/bluetooth/mgmt.c
6517
if (hci_dev_test_flag(hdev, HCI_ADVERTISING) ||
net/bluetooth/mgmt.c
6616
(val == hci_dev_test_flag(hdev, HCI_ADVERTISING) &&
net/bluetooth/mgmt.c
6617
(cp->val == 0x02) == hci_dev_test_flag(hdev, HCI_ADVERTISING_CONNECTABLE)) ||
net/bluetooth/mgmt.c
6618
hci_dev_test_flag(hdev, HCI_MESH) ||
net/bluetooth/mgmt.c
6620
(hci_dev_test_flag(hdev, HCI_LE_SCAN) &&
net/bluetooth/mgmt.c
6753
if (hci_dev_test_flag(hdev, HCI_LE_SCAN) &&
net/bluetooth/mgmt.c
6803
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) ||
net/bluetooth/mgmt.c
6816
if (!!cp->val == hci_dev_test_flag(hdev, HCI_FAST_CONNECTABLE)) {
net/bluetooth/mgmt.c
6903
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
6913
if (cp->val == hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/mgmt.c
6956
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) &&
net/bluetooth/mgmt.c
6958
hci_dev_test_flag(hdev, HCI_SC_ENABLED))) {
net/bluetooth/mgmt.c
7052
!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
7056
if (hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) &&
net/bluetooth/mgmt.c
7058
!hci_dev_test_flag(hdev, HCI_SSP_ENABLED))
net/bluetooth/mgmt.c
7069
!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) {
net/bluetooth/mgmt.c
7097
if (val == hci_dev_test_flag(hdev, HCI_SC_ENABLED) &&
net/bluetooth/mgmt.c
7098
(cp->val == 0x02) == hci_dev_test_flag(hdev, HCI_SC_ONLY)) {
net/bluetooth/mgmt.c
7151
hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) {
net/bluetooth/mgmt.c
8210
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED) == is_configured(hdev)) {
net/bluetooth/mgmt.c
8262
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED))
net/bluetooth/mgmt.c
8339
if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) {
net/bluetooth/mgmt.c
8479
if (hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) {
net/bluetooth/mgmt.c
8494
if (hci_dev_test_flag(hdev, HCI_SC_ENABLED) &&
net/bluetooth/mgmt.c
8511
if (hci_dev_test_flag(hdev, HCI_PRIVACY)) {
net/bluetooth/mgmt.c
8517
if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ||
net/bluetooth/mgmt.c
8519
(!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) &&
net/bluetooth/mgmt.c
8531
if (hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/mgmt.c
8539
if (hci_dev_test_flag(hdev, HCI_SC_ENABLED)) {
net/bluetooth/mgmt.c
8551
if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/mgmt.c
876
if (hci_dev_test_flag(hdev, HCI_CONNECTABLE))
net/bluetooth/mgmt.c
879
if (hci_dev_test_flag(hdev, HCI_FAST_CONNECTABLE))
net/bluetooth/mgmt.c
882
if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE))
net/bluetooth/mgmt.c
885
if (hci_dev_test_flag(hdev, HCI_BONDABLE))
net/bluetooth/mgmt.c
888
if (hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))
net/bluetooth/mgmt.c
891
if (hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/mgmt.c
894
if (hci_dev_test_flag(hdev, HCI_LINK_SECURITY))
net/bluetooth/mgmt.c
8961
hci_dev_test_flag(hdev, HCI_ADVERTISING) ||
net/bluetooth/mgmt.c
897
if (hci_dev_test_flag(hdev, HCI_SSP_ENABLED))
net/bluetooth/mgmt.c
900
if (hci_dev_test_flag(hdev, HCI_ADVERTISING))
net/bluetooth/mgmt.c
903
if (hci_dev_test_flag(hdev, HCI_SC_ENABLED))
net/bluetooth/mgmt.c
906
if (hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS))
net/bluetooth/mgmt.c
909
if (hci_dev_test_flag(hdev, HCI_PRIVACY))
net/bluetooth/mgmt.c
924
if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ||
net/bluetooth/mgmt.c
925
!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) ||
net/bluetooth/mgmt.c
9291
if (hci_dev_test_flag(hdev, HCI_ADVERTISING) || !schedule_instance) {
net/bluetooth/mgmt.c
931
if (hci_dev_test_flag(hdev, HCI_WIDEBAND_SPEECH_ENABLED))
net/bluetooth/mgmt.c
9599
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/mgmt.c
9625
if (hci_dev_test_flag(hdev, HCI_UNCONFIGURED)) {
net/bluetooth/mgmt.c
9641
if (!hci_dev_test_flag(hdev, HCI_MGMT))
net/bluetooth/mgmt.c
9688
if (hci_dev_test_flag(hdev, HCI_UNREGISTER))
net/bluetooth/mgmt.c
978
if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE))
net/bluetooth/mgmt.c
980
else if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE))
net/bluetooth/mgmt.c
9941
if (hci_dev_test_flag(hdev, HCI_POWERING_DOWN))
net/bluetooth/sco.c
1058
if (!hci_dev_test_flag(hdev, HCI_OFFLOAD_CODECS_ENABLED)) {
net/bluetooth/sco.c
1257
if (!hci_dev_test_flag(hdev, HCI_OFFLOAD_CODECS_ENABLED)) {
net/bluetooth/smp.c
1098
if (!hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS) &&
net/bluetooth/smp.c
1670
if (hci_dev_test_flag(hdev, HCI_BONDABLE)) {
net/bluetooth/smp.c
1675
if (hci_dev_test_flag(hdev, HCI_RPA_RESOLVING))
net/bluetooth/smp.c
1678
if (hci_dev_test_flag(hdev, HCI_PRIVACY))
net/bluetooth/smp.c
1730
if (!hci_dev_test_flag(hdev, HCI_BONDABLE) &&
net/bluetooth/smp.c
1734
if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC))
net/bluetooth/smp.c
1752
!hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP))
net/bluetooth/smp.c
1868
if (hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS)) {
net/bluetooth/smp.c
1924
if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC))
net/bluetooth/smp.c
2031
if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) {
net/bluetooth/smp.c
2279
if (hci_dev_test_flag(hdev, HCI_SC_ONLY) && !(auth & SMP_AUTH_SC))
net/bluetooth/smp.c
2306
if (!hci_dev_test_flag(hdev, HCI_BONDABLE) &&
net/bluetooth/smp.c
2343
if (!hci_dev_test_flag(hcon->hdev, HCI_LE_ENABLED))
net/bluetooth/smp.c
2378
if (hci_dev_test_flag(hcon->hdev, HCI_SC_ENABLED)) {
net/bluetooth/smp.c
2380
if (hci_dev_test_flag(hcon->hdev, HCI_SSP_ENABLED))
net/bluetooth/smp.c
2387
if (!hci_dev_test_flag(hcon->hdev, HCI_FORCE_NO_MITM)) {
net/bluetooth/smp.c
2918
if (!hci_dev_test_flag(hcon->hdev, HCI_LE_ENABLED)) {
net/bluetooth/smp.c
3072
if (!hci_dev_test_flag(hdev, HCI_SC_ENABLED))
net/bluetooth/smp.c
3077
!hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP))
net/bluetooth/smp.c
3081
if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED))
net/bluetooth/smp.c
3321
if (enable == hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP))
net/bluetooth/smp.c
3371
if (!hci_dev_test_flag(hdev, HCI_FORCE_BREDR_SMP))
net/bluetooth/smp.c
528
if (hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS)) {
net/bluetooth/smp.c
59
#define AUTH_REQ_MASK(dev) (hci_dev_test_flag(dev, HCI_SC_ENABLED) ? \
net/bluetooth/smp.c
635
if (hci_dev_test_flag(hdev, HCI_BONDABLE)) {
net/bluetooth/smp.c
643
if (hci_dev_test_flag(hdev, HCI_RPA_RESOLVING))
net/bluetooth/smp.c
646
if (hci_dev_test_flag(hdev, HCI_PRIVACY))
net/bluetooth/smp.c
649
if (hci_dev_test_flag(hdev, HCI_SC_ENABLED) &&
net/bluetooth/smp.c
654
if (hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) {
net/bluetooth/smp.c
744
!hci_dev_test_flag(hcon->hdev, HCI_KEEP_DEBUG_KEYS)) {