Lines Matching refs:hci_dev_test_flag

349 	if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED))  in __hci_req_write_fast_connectable()
390 hci_dev_test_flag(hdev, HCI_SETUP) || in __hci_update_background_scan()
391 hci_dev_test_flag(hdev, HCI_CONFIG) || in __hci_update_background_scan()
392 hci_dev_test_flag(hdev, HCI_AUTO_OFF) || in __hci_update_background_scan()
393 hci_dev_test_flag(hdev, HCI_UNREGISTER)) in __hci_update_background_scan()
397 if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) in __hci_update_background_scan()
421 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN)) in __hci_update_background_scan()
442 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) in __hci_update_background_scan()
630 if (!hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) in __hci_req_update_eir()
633 if (hci_dev_test_flag(hdev, HCI_SERVICE_CACHE)) in __hci_req_update_eir()
778 return hci_dev_test_flag(hdev, HCI_PRIVACY); in scan_use_rpa()
890 if (hci_dev_test_flag(hdev, HCI_PRIVACY) && in hci_req_add_le_passive_scan()
966 if (hci_dev_test_flag(hdev, HCI_ADVERTISING_CONNECTABLE)) in get_adv_instance_flags()
969 if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) in get_adv_instance_flags()
971 else if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE)) in get_adv_instance_flags()
989 if (!hci_dev_test_flag(hdev, HCI_PRIVACY)) in adv_use_rpa()
993 if (!hci_dev_test_flag(hdev, HCI_LIMITED_PRIVACY)) in adv_use_rpa()
1000 hci_dev_test_flag(hdev, HCI_BONDABLE)) in adv_use_rpa()
1065 if (hci_dev_test_flag(hdev, HCI_LE_ADV)) in __hci_req_enable_advertising()
1189 if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) in __hci_req_update_scan_rsp_data()
1265 if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) in create_instance_adv_data()
1326 if (!hci_dev_test_flag(hdev, HCI_LE_ENABLED)) in __hci_req_update_adv_data()
1390 if (!hci_dev_test_flag(hdev, HCI_ADVERTISING) && in hci_req_reenable_advertising()
1669 if (hci_dev_test_flag(hdev, HCI_LE_ADV)) in __hci_req_start_ext_adv()
1689 if (hci_dev_test_flag(hdev, HCI_ADVERTISING) || in __hci_req_schedule_adv_instance()
1731 hci_dev_test_flag(hdev, HCI_LE_ADV)) in __hci_req_schedule_adv_instance()
1812 hci_dev_test_flag(hdev, HCI_ADVERTISING)) in hci_req_clear_adv_instance()
1834 if (hci_dev_test_flag(hdev, HCI_LE_ADV) || in set_random_addr()
1913 if (hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) || in hci_update_random_address()
1915 (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED) && in hci_update_random_address()
1955 if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) in __hci_req_update_scan()
1964 if (hci_dev_test_flag(hdev, HCI_CONNECTABLE) || in __hci_req_update_scan()
1970 if (hci_dev_test_flag(hdev, HCI_DISCOVERABLE)) in __hci_req_update_scan()
2007 if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) in connectable_update()
2011 if (hci_dev_test_flag(hdev, HCI_ADVERTISING) || in connectable_update()
2057 if (!hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) in __hci_req_update_class()
2060 if (hci_dev_test_flag(hdev, HCI_SERVICE_CACHE)) in __hci_req_update_class()
2067 if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) in __hci_req_update_class()
2081 if (!hci_dev_test_flag(hdev, HCI_DISCOVERABLE)) in write_iac()
2084 if (hci_dev_test_flag(hdev, HCI_LIMITED_DISCOVERABLE)) { in write_iac()
2111 if (hci_dev_test_flag(hdev, HCI_BREDR_ENABLED)) { in discoverable_update()
2120 if (hci_dev_test_flag(hdev, HCI_ADVERTISING)) { in discoverable_update()
2126 if (hci_dev_test_flag(hdev, HCI_LIMITED_PRIVACY)) { in discoverable_update()
2312 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN)) in le_scan_disable_work()
2368 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN)) in le_scan_restart()
2453 if (hci_dev_test_flag(hdev, HCI_LE_ADV)) { in active_scan()
2474 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) in active_scan()
2512 if (!hci_dev_test_flag(hdev, HCI_INQUIRY)) in start_discovery()
2587 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) { in hci_req_stop_discovery()
2595 if (hci_dev_test_flag(hdev, HCI_LE_SCAN)) { in hci_req_stop_discovery()
2687 if (hci_dev_test_flag(hdev, HCI_SSP_ENABLED) && in powered_update_hci()
2701 if (hci_dev_test_flag(hdev, HCI_LE_ENABLED) && in powered_update_hci()
2717 if (hci_dev_test_flag(hdev, HCI_LE_ENABLED)) { in powered_update_hci()
2722 if (hci_dev_test_flag(hdev, HCI_ADVERTISING) || in powered_update_hci()
2738 if (hci_dev_test_flag(hdev, HCI_ADVERTISING)) { in powered_update_hci()
2755 link_sec = hci_dev_test_flag(hdev, HCI_LINK_SECURITY); in powered_update_hci()
2761 if (hci_dev_test_flag(hdev, HCI_FAST_CONNECTABLE)) in powered_update_hci()