Lines Matching refs:hci_dev_test_flag
80 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) || in hci_cc_inquiry_cancel()
293 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_local_name()
310 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_name()
311 hci_dev_test_flag(hdev, HCI_CONFIG)) in hci_cc_read_local_name()
337 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_auth_enable()
455 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_class_of_dev()
548 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_ssp_mode()
580 if (!hci_dev_test_flag(hdev, HCI_MGMT) && !status) { in hci_cc_write_sc_support()
599 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_version()
600 hci_dev_test_flag(hdev, HCI_CONFIG)) { in hci_cc_read_local_version()
619 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_commands()
620 hci_dev_test_flag(hdev, HCI_CONFIG)) in hci_cc_read_local_commands()
787 if (hci_dev_test_flag(hdev, HCI_SETUP)) in hci_cc_read_bd_addr()
801 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_pairing_opts()
802 hci_dev_test_flag(hdev, HCI_CONFIG)) { in hci_cc_read_local_pairing_opts()
1004 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_pin_code_reply()
1030 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_pin_code_neg_reply()
1089 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_confirm_reply()
1105 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_confirm_neg_reply()
1120 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_passkey_reply()
1136 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_passkey_neg_reply()
1473 else if (!hci_dev_test_flag(hdev, HCI_LE_ADV) && in le_set_scan_enable_complete()
2170 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cs_remote_name_req()
2611 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_inquiry_complete_evt()
2627 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) || in hci_inquiry_complete_evt()
2645 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) || in hci_inquiry_complete_evt()
2665 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_inquiry_result_evt()
2845 if (hci_dev_test_flag(hdev, HCI_MGMT) && in hci_conn_request_evt()
2846 !hci_dev_test_flag(hdev, HCI_CONNECTABLE) && in hci_conn_request_evt()
3102 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_remote_name_evt()
3740 if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) { in hci_cmd_complete_evt()
3853 if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) { in hci_cmd_status_evt()
4080 if (!hci_dev_test_flag(hdev, HCI_BONDABLE) && in hci_pin_code_request_evt()
4084 } else if (hci_dev_test_flag(hdev, HCI_MGMT)) { in hci_pin_code_request_evt()
4140 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_link_key_request_evt()
4214 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_link_key_notify_evt()
4236 !hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS)) { in hci_link_key_notify_evt()
4319 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_inquiry_result_with_rssi_evt()
4576 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_extended_inquiry_result_evt()
4594 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_extended_inquiry_result_evt()
4697 if (!hci_dev_test_flag(hdev, HCI_SC_ONLY)) in bredr_oob_data_present()
4738 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_io_capa_request_evt()
4744 if (hci_dev_test_flag(hdev, HCI_BONDABLE) || in hci_io_capa_request_evt()
4770 if (!hci_dev_test_flag(hdev, HCI_BONDABLE)) in hci_io_capa_request_evt()
4823 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_confirm_request_evt()
4904 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_passkey_request_evt()
4923 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_passkey_notify_evt()
4961 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_keypress_notify_evt()
5030 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_remote_oob_data_request_evt()
5047 if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) { in hci_remote_oob_data_request_evt()
5232 } else if (hci_dev_test_flag(conn->hdev, HCI_PRIVACY)) { in le_conn_update_addr()
5310 if (hci_dev_test_flag(hdev, HCI_PRIVACY)) { in le_conn_complete_evt()
5446 hci_dev_test_flag(hdev, HCI_ENABLE_LL_PRIVACY) && in hci_le_enh_conn_complete_evt()
5447 hci_dev_test_flag(hdev, HCI_LL_RPA_RESOLUTION)) in hci_le_enh_conn_complete_evt()
5674 if (!hci_dev_test_flag(hdev, HCI_PRIVACY)) in process_adv_report()