Lines Matching refs:hci_dev_test_flag

113 	if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) ||  in hci_cc_inquiry_cancel()
357 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_local_name()
377 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_name()
378 hci_dev_test_flag(hdev, HCI_CONFIG)) in hci_cc_read_local_name()
407 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_auth_enable()
543 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_write_class_of_dev()
679 if (!hci_dev_test_flag(hdev, HCI_MGMT) && !rp->status) { in hci_cc_write_sc_support()
701 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_version()
702 hci_dev_test_flag(hdev, HCI_CONFIG)) { in hci_cc_read_local_version()
778 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_commands()
779 hci_dev_test_flag(hdev, HCI_CONFIG)) in hci_cc_read_local_commands()
958 if (hci_dev_test_flag(hdev, HCI_SETUP)) in hci_cc_read_bd_addr()
974 if (hci_dev_test_flag(hdev, HCI_SETUP) || in hci_cc_read_local_pairing_opts()
975 hci_dev_test_flag(hdev, HCI_CONFIG)) { in hci_cc_read_local_pairing_opts()
1151 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_pin_code_reply()
1179 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_pin_code_neg_reply()
1250 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_confirm_reply()
1268 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_confirm_neg_reply()
1286 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_passkey_reply()
1304 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cc_user_passkey_neg_reply()
1756 else if (!hci_dev_test_flag(hdev, HCI_LE_ADV) && in le_set_scan_enable_complete()
2513 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_cs_remote_name_req()
2977 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_inquiry_complete_evt()
2993 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) || in hci_inquiry_complete_evt()
3012 if (!hci_dev_test_flag(hdev, HCI_LE_SCAN) || in hci_inquiry_complete_evt()
3037 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_inquiry_result_evt()
3269 if (hci_dev_test_flag(hdev, HCI_MGMT) && in hci_conn_request_evt()
3270 !hci_dev_test_flag(hdev, HCI_CONNECTABLE) && in hci_conn_request_evt()
3520 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_remote_name_evt()
3751 if (!hci_dev_test_flag(hdev, HCI_CMD_DRAIN_WORKQUEUE)) in handle_cmd_cnt_and_timer()
4236 if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) { in hci_cmd_complete_evt()
4353 if (hci_dev_test_flag(hdev, HCI_CMD_PENDING)) { in hci_cmd_status_evt()
4527 if (!hci_dev_test_flag(hdev, HCI_BONDABLE) && in hci_pin_code_request_evt()
4531 } else if (hci_dev_test_flag(hdev, HCI_MGMT)) { in hci_pin_code_request_evt()
4588 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_link_key_request_evt()
4669 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_link_key_notify_evt()
4691 !hci_dev_test_flag(hdev, HCI_KEEP_DEBUG_KEYS)) { in hci_link_key_notify_evt()
4778 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_inquiry_result_with_rssi_evt()
5065 if (hci_dev_test_flag(hdev, HCI_PERIODIC_INQ)) in hci_extended_inquiry_result_evt()
5084 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_extended_inquiry_result_evt()
5187 if (!hci_dev_test_flag(hdev, HCI_SC_ONLY)) in bredr_oob_data_present()
5224 if (!conn || !hci_dev_test_flag(hdev, HCI_SSP_ENABLED)) in hci_io_capa_request_evt()
5232 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_io_capa_request_evt()
5238 if (hci_dev_test_flag(hdev, HCI_BONDABLE) || in hci_io_capa_request_evt()
5264 if (!hci_dev_test_flag(hdev, HCI_BONDABLE)) in hci_io_capa_request_evt()
5318 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_confirm_request_evt()
5396 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_passkey_request_evt()
5415 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_user_passkey_notify_evt()
5454 if (hci_dev_test_flag(hdev, HCI_MGMT)) in hci_keypress_notify_evt()
5523 if (!hci_dev_test_flag(hdev, HCI_MGMT)) in hci_remote_oob_data_request_evt()
5540 if (hci_dev_test_flag(hdev, HCI_SC_ONLY)) { in hci_remote_oob_data_request_evt()
5581 } else if (hci_dev_test_flag(conn->hdev, HCI_PRIVACY)) { in le_conn_update_addr()
5665 if (hci_dev_test_flag(hdev, HCI_PRIVACY)) { in le_conn_complete_evt()
6065 if (!hci_dev_test_flag(hdev, HCI_MESH) && direct_addr && in process_adv_report()
6066 hci_dev_test_flag(hdev, HCI_PRIVACY)) { in process_adv_report()
6115 if (hci_dev_test_flag(hdev, HCI_MESH)) { in process_adv_report()