Lines Matching refs:hci_dev_test_flag

118 	if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) ||  in hci_cc_inquiry_cancel()
366 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_local_name()
386 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_name()
387 hci_dev_test_flag(hdev, HCI_CONFIG)) in hci_cc_read_local_name()
416 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_auth_enable()
549 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_class_of_dev()
685 if (!hci_dev_test_flag(hdev, HCI_MGMT) && !rp->status) { in hci_cc_write_sc_support()
707 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_version()
708 hci_dev_test_flag(hdev, HCI_CONFIG)) { in hci_cc_read_local_version()
770 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_commands()
771 hci_dev_test_flag(hdev, HCI_CONFIG)) in hci_cc_read_local_commands()
964 if (hci_dev_test_flag(hdev, HCI_SETUP)) in hci_cc_read_bd_addr()
980 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_pairing_opts()
981 hci_dev_test_flag(hdev, HCI_CONFIG)) { in hci_cc_read_local_pairing_opts()
1203 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_pin_code_reply()
1231 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_pin_code_neg_reply()
1299 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_confirm_reply()
1317 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_confirm_neg_reply()
1335 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_passkey_reply()
1353 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_passkey_neg_reply()
1773 if (hci_dev_test_flag(hdev, HCI_MESH)) in le_set_scan_enable_complete()
1805 else if (!hci_dev_test_flag(hdev, HCI_LE_ADV) && in le_set_scan_enable_complete()
2568 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cs_remote_name_req()
3034 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_inquiry_complete_evt()
3050 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) || in hci_inquiry_complete_evt()
3069 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) || in hci_inquiry_complete_evt()
3094 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_inquiry_result_evt()
3303 if (hci_dev_test_flag(hdev, HCI_MGMT) && in hci_conn_request_evt()
3304 !hci_dev_test_flag(hdev, HCI_CONNECTABLE) && in hci_conn_request_evt()
3556 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_remote_name_evt()
3783 if (!hci_dev_test_flag(hdev, HCI_CMD_DRAIN_WORKQUEUE)) in handle_cmd_cnt_and_timer()
4266 if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) { in hci_cmd_complete_evt()
4382 if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) { in hci_cmd_status_evt()
4631 if (!hci_dev_test_flag(hdev, HCI_BONDABLE) && in hci_pin_code_request_evt()
4635 } else if (hci_dev_test_flag(hdev, HCI_MGMT)) { in hci_pin_code_request_evt()
4692 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_link_key_request_evt()
4773 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_link_key_notify_evt()
4795 !hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS)) { in hci_link_key_notify_evt()
4882 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_inquiry_result_with_rssi_evt()
5168 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_extended_inquiry_result_evt()
5187 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_extended_inquiry_result_evt()
5290 if (!hci_dev_test_flag(hdev, HCI_SC_ONLY)) in bredr_oob_data_present()
5332 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_io_capa_request_evt()
5338 if (hci_dev_test_flag(hdev, HCI_BONDABLE) || in hci_io_capa_request_evt()
5364 if (!hci_dev_test_flag(hdev, HCI_BONDABLE)) in hci_io_capa_request_evt()
5418 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_confirm_request_evt()
5499 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_passkey_request_evt()
5518 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_passkey_notify_evt()
5557 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_keypress_notify_evt()
5626 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_remote_oob_data_request_evt()
5643 if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) { in hci_remote_oob_data_request_evt()
5828 } else if (hci_dev_test_flag(conn->hdev, HCI_PRIVACY)) { in le_conn_update_addr()
5912 if (hci_dev_test_flag(hdev, HCI_PRIVACY)) { in le_conn_complete_evt()
6311 if (!hci_dev_test_flag(hdev, HCI_MESH) && direct_addr) { in process_adv_report()
6324 if (!hci_dev_test_flag(hdev, HCI_PRIVACY)) in process_adv_report()
6366 if (hci_dev_test_flag(hdev, HCI_MESH)) { in process_adv_report()