Lines Matching refs:hci_dev_test_flag

354 	if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))  in __hci_req_write_fast_connectable()
393 hci_dev_test_flag(hdev, HCI_SETUP) || in __hci_update_background_scan()
394 hci_dev_test_flag(hdev, HCI_CONFIG) || in __hci_update_background_scan()
395 hci_dev_test_flag(hdev, HCI_AUTO_OFF) || in __hci_update_background_scan()
396 hci_dev_test_flag(hdev, HCI_UNREGISTER)) in __hci_update_background_scan()
400 if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) in __hci_update_background_scan()
428 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN)) in __hci_update_background_scan()
449 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) in __hci_update_background_scan()
637 if (!hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) in __hci_req_update_eir()
640 if (hci_dev_test_flag(hdev, HCI_SERVICE_CACHE)) in __hci_req_update_eir()
681 hci_dev_test_flag(hdev, HCI_ENABLE_LL_PRIVACY) && in hci_req_add_le_scan_disable()
682 hci_dev_test_flag(hdev, HCI_LL_RPA_RESOLUTION) && !rpa_le_conn) { in hci_req_add_le_scan_disable()
765 if (hci_dev_test_flag(hdev, HCI_PRIVACY)) in add_to_white_list()
861 return hci_dev_test_flag(hdev, HCI_PRIVACY); in scan_use_rpa()
876 hci_dev_test_flag(hdev, HCI_ENABLE_LL_PRIVACY) && in hci_req_start_scan()
1020 if (hci_dev_test_flag(hdev, HCI_PRIVACY) && in hci_req_add_le_passive_scan()
1107 if (hci_dev_test_flag(req->hdev, HCI_LE_SCAN)) in hci_req_config_le_suspend_scan()
1207 old_state = hci_dev_test_flag(hdev, HCI_ADVERTISING); in hci_req_prepare_suspend()
1226 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) in hci_req_prepare_suspend()
1348 if (hci_dev_test_flag(hdev, HCI_ADVERTISING_CONNECTABLE)) in get_adv_instance_flags()
1351 if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) in get_adv_instance_flags()
1353 else if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE)) in get_adv_instance_flags()
1371 if (!hci_dev_test_flag(hdev, HCI_PRIVACY)) in adv_use_rpa()
1375 if (!hci_dev_test_flag(hdev, HCI_LIMITED_PRIVACY)) in adv_use_rpa()
1382 hci_dev_test_flag(hdev, HCI_BONDABLE)) in adv_use_rpa()
1448 if (hci_dev_test_flag(hdev, HCI_LE_ADV)) in __hci_req_enable_advertising()
1480 if (!hci_dev_test_flag(hdev, HCI_DISCOVERABLE) || in __hci_req_enable_advertising()
1481 hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) { in __hci_req_enable_advertising()
1586 if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) in __hci_req_update_scan_rsp_data()
1673 if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) in create_instance_adv_data()
1735 if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) in __hci_req_update_adv_data()
1802 !hci_dev_test_flag(hdev, HCI_LL_RPA_RESOLUTION)) in hci_req_disable_address_resolution()
1821 if (!hci_dev_test_flag(hdev, HCI_ADVERTISING) && in hci_req_reenable_advertising()
2193 if (hci_dev_test_flag(hdev, HCI_ADVERTISING) || in __hci_req_schedule_adv_instance()
2238 hci_dev_test_flag(hdev, HCI_LE_ADV)) in __hci_req_schedule_adv_instance()
2311 hci_dev_test_flag(hdev, HCI_ADVERTISING)) in hci_req_clear_adv_instance()
2333 if (hci_dev_test_flag(hdev, HCI_LE_ADV) || in set_random_addr()
2418 if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) || in hci_update_random_address()
2420 (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) && in hci_update_random_address()
2460 if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) in __hci_req_update_scan()
2472 if (hci_dev_test_flag(hdev, HCI_CONNECTABLE) || in __hci_req_update_scan()
2478 if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE)) in __hci_req_update_scan()
2515 if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) in connectable_update()
2519 if (hci_dev_test_flag(hdev, HCI_ADVERTISING) || in connectable_update()
2565 if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) in __hci_req_update_class()
2568 if (hci_dev_test_flag(hdev, HCI_SERVICE_CACHE)) in __hci_req_update_class()
2575 if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) in __hci_req_update_class()
2589 if (!hci_dev_test_flag(hdev, HCI_DISCOVERABLE)) in write_iac()
2592 if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) { in write_iac()
2619 if (hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) { in discoverable_update()
2628 if (hci_dev_test_flag(hdev, HCI_ADVERTISING)) { in discoverable_update()
2634 if (hci_dev_test_flag(hdev, HCI_LIMITED_PRIVACY)) { in discoverable_update()
2820 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN)) in le_scan_disable_work()
2876 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN)) in le_scan_restart()
2974 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) in active_scan()
3013 if (!hci_dev_test_flag(hdev, HCI_INQUIRY)) in start_discovery()
3088 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) { in hci_req_stop_discovery()
3096 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) { in hci_req_stop_discovery()
3188 if (hci_dev_test_flag(hdev, HCI_SSP_ENABLED) && in powered_update_hci()
3202 if (hci_dev_test_flag(hdev, HCI_LE_ENABLED) && in powered_update_hci()
3218 if (hci_dev_test_flag(hdev, HCI_LE_ENABLED)) { in powered_update_hci()
3223 if (hci_dev_test_flag(hdev, HCI_ADVERTISING) || in powered_update_hci()
3239 if (hci_dev_test_flag(hdev, HCI_ADVERTISING)) { in powered_update_hci()
3257 link_sec = hci_dev_test_flag(hdev, HCI_LINK_SECURITY); in powered_update_hci()
3263 if (hci_dev_test_flag(hdev, HCI_FAST_CONNECTABLE)) in powered_update_hci()