Lines Matching refs:hci_dev_test_flag
114 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) || in hci_cc_inquiry_cancel()
362 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_local_name()
382 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_name()
383 hci_dev_test_flag(hdev, HCI_CONFIG)) in hci_cc_read_local_name()
412 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_auth_enable()
545 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_class_of_dev()
681 if (!hci_dev_test_flag(hdev, HCI_MGMT) && !rp->status) { in hci_cc_write_sc_support()
703 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_version()
704 hci_dev_test_flag(hdev, HCI_CONFIG)) { in hci_cc_read_local_version()
766 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_commands()
767 hci_dev_test_flag(hdev, HCI_CONFIG)) in hci_cc_read_local_commands()
955 if (hci_dev_test_flag(hdev, HCI_SETUP)) in hci_cc_read_bd_addr()
971 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_pairing_opts()
972 hci_dev_test_flag(hdev, HCI_CONFIG)) { in hci_cc_read_local_pairing_opts()
1194 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_pin_code_reply()
1222 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_pin_code_neg_reply()
1290 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_confirm_reply()
1308 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_confirm_neg_reply()
1326 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_passkey_reply()
1344 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_passkey_neg_reply()
1764 if (hci_dev_test_flag(hdev, HCI_MESH)) in le_set_scan_enable_complete()
1796 else if (!hci_dev_test_flag(hdev, HCI_LE_ADV) && in le_set_scan_enable_complete()
2557 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cs_remote_name_req()
3043 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_inquiry_complete_evt()
3059 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) || in hci_inquiry_complete_evt()
3078 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) || in hci_inquiry_complete_evt()
3103 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_inquiry_result_evt()
3306 if (hci_dev_test_flag(hdev, HCI_MGMT) && in hci_conn_request_evt()
3307 !hci_dev_test_flag(hdev, HCI_CONNECTABLE) && in hci_conn_request_evt()
3559 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_remote_name_evt()
3786 if (!hci_dev_test_flag(hdev, HCI_CMD_DRAIN_WORKQUEUE)) in handle_cmd_cnt_and_timer()
4216 if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) { in hci_cmd_complete_evt()
4325 if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) { in hci_cmd_status_evt()
4574 if (!hci_dev_test_flag(hdev, HCI_BONDABLE) && in hci_pin_code_request_evt()
4578 } else if (hci_dev_test_flag(hdev, HCI_MGMT)) { in hci_pin_code_request_evt()
4635 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_link_key_request_evt()
4707 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_link_key_notify_evt()
4729 !hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS)) { in hci_link_key_notify_evt()
4816 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_inquiry_result_with_rssi_evt()
5105 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_extended_inquiry_result_evt()
5124 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_extended_inquiry_result_evt()
5227 if (!hci_dev_test_flag(hdev, HCI_SC_ONLY)) in bredr_oob_data_present()
5269 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_io_capa_request_evt()
5275 if (hci_dev_test_flag(hdev, HCI_BONDABLE) || in hci_io_capa_request_evt()
5301 if (!hci_dev_test_flag(hdev, HCI_BONDABLE)) in hci_io_capa_request_evt()
5355 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_confirm_request_evt()
5436 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_passkey_request_evt()
5455 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_passkey_notify_evt()
5494 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_keypress_notify_evt()
5563 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_remote_oob_data_request_evt()
5580 if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) { in hci_remote_oob_data_request_evt()
5765 } else if (hci_dev_test_flag(conn->hdev, HCI_PRIVACY)) { in le_conn_update_addr()
5849 if (hci_dev_test_flag(hdev, HCI_PRIVACY)) { in le_conn_complete_evt()
6241 if (!hci_dev_test_flag(hdev, HCI_MESH) && direct_addr) { in process_adv_report()
6254 if (!hci_dev_test_flag(hdev, HCI_PRIVACY)) in process_adv_report()
6295 if (hci_dev_test_flag(hdev, HCI_MESH)) { in process_adv_report()