Lines Matching refs:hci_dev_test_flag

354 	if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))  in __hci_req_write_fast_connectable()
395 hci_dev_test_flag(hdev, HCI_SETUP) || in __hci_update_background_scan()
396 hci_dev_test_flag(hdev, HCI_CONFIG) || in __hci_update_background_scan()
397 hci_dev_test_flag(hdev, HCI_AUTO_OFF) || in __hci_update_background_scan()
398 hci_dev_test_flag(hdev, HCI_UNREGISTER)) in __hci_update_background_scan()
402 if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) in __hci_update_background_scan()
426 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN)) in __hci_update_background_scan()
447 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) in __hci_update_background_scan()
635 if (!hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) in __hci_req_update_eir()
638 if (hci_dev_test_flag(hdev, HCI_SERVICE_CACHE)) in __hci_req_update_eir()
783 return hci_dev_test_flag(hdev, HCI_PRIVACY); in scan_use_rpa()
895 if (hci_dev_test_flag(hdev, HCI_PRIVACY) && in hci_req_add_le_passive_scan()
971 if (hci_dev_test_flag(hdev, HCI_ADVERTISING_CONNECTABLE)) in get_adv_instance_flags()
974 if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) in get_adv_instance_flags()
976 else if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE)) in get_adv_instance_flags()
994 if (!hci_dev_test_flag(hdev, HCI_PRIVACY)) in adv_use_rpa()
998 if (!hci_dev_test_flag(hdev, HCI_LIMITED_PRIVACY)) in adv_use_rpa()
1005 hci_dev_test_flag(hdev, HCI_BONDABLE)) in adv_use_rpa()
1071 if (hci_dev_test_flag(hdev, HCI_LE_ADV)) in __hci_req_enable_advertising()
1103 if (!hci_dev_test_flag(hdev, HCI_DISCOVERABLE) || in __hci_req_enable_advertising()
1104 hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) { in __hci_req_enable_advertising()
1209 if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) in __hci_req_update_scan_rsp_data()
1285 if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) in create_instance_adv_data()
1346 if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) in __hci_req_update_adv_data()
1410 if (!hci_dev_test_flag(hdev, HCI_ADVERTISING) && in hci_req_reenable_advertising()
1711 if (hci_dev_test_flag(hdev, HCI_LE_ADV)) in __hci_req_start_ext_adv()
1731 if (hci_dev_test_flag(hdev, HCI_ADVERTISING) || in __hci_req_schedule_adv_instance()
1776 hci_dev_test_flag(hdev, HCI_LE_ADV)) in __hci_req_schedule_adv_instance()
1857 hci_dev_test_flag(hdev, HCI_ADVERTISING)) in hci_req_clear_adv_instance()
1879 if (hci_dev_test_flag(hdev, HCI_LE_ADV) || in set_random_addr()
1958 if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) || in hci_update_random_address()
1960 (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) && in hci_update_random_address()
2000 if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) in __hci_req_update_scan()
2009 if (hci_dev_test_flag(hdev, HCI_CONNECTABLE) || in __hci_req_update_scan()
2015 if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE)) in __hci_req_update_scan()
2052 if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) in connectable_update()
2056 if (hci_dev_test_flag(hdev, HCI_ADVERTISING) || in connectable_update()
2102 if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) in __hci_req_update_class()
2105 if (hci_dev_test_flag(hdev, HCI_SERVICE_CACHE)) in __hci_req_update_class()
2112 if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) in __hci_req_update_class()
2126 if (!hci_dev_test_flag(hdev, HCI_DISCOVERABLE)) in write_iac()
2129 if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) { in write_iac()
2156 if (hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) { in discoverable_update()
2165 if (hci_dev_test_flag(hdev, HCI_ADVERTISING)) { in discoverable_update()
2171 if (hci_dev_test_flag(hdev, HCI_LIMITED_PRIVACY)) { in discoverable_update()
2357 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN)) in le_scan_disable_work()
2413 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN)) in le_scan_restart()
2498 if (hci_dev_test_flag(hdev, HCI_LE_ADV)) { in active_scan()
2519 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) in active_scan()
2557 if (!hci_dev_test_flag(hdev, HCI_INQUIRY)) in start_discovery()
2632 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) { in hci_req_stop_discovery()
2640 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) { in hci_req_stop_discovery()
2732 if (hci_dev_test_flag(hdev, HCI_SSP_ENABLED) && in powered_update_hci()
2746 if (hci_dev_test_flag(hdev, HCI_LE_ENABLED) && in powered_update_hci()
2762 if (hci_dev_test_flag(hdev, HCI_LE_ENABLED)) { in powered_update_hci()
2767 if (hci_dev_test_flag(hdev, HCI_ADVERTISING) || in powered_update_hci()
2783 if (hci_dev_test_flag(hdev, HCI_ADVERTISING)) { in powered_update_hci()
2801 link_sec = hci_dev_test_flag(hdev, HCI_LINK_SECURITY); in powered_update_hci()
2807 if (hci_dev_test_flag(hdev, HCI_FAST_CONNECTABLE)) in powered_update_hci()