Lines Matching refs:pending_find

895 static struct mgmt_pending_cmd *pending_find(u16 opcode, struct hci_dev *hdev)  in pending_find()  function
914 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in mgmt_get_adv_discov_flags()
938 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in mgmt_get_connectable()
1214 if (pending_find(MGMT_OP_SET_POWERED, hdev)) { in set_powered()
1351 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in mgmt_set_discoverable_complete()
1415 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_discoverable()
1416 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_discoverable()
1516 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in mgmt_set_connectable_complete()
1590 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_connectable()
1591 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_connectable()
1704 if (pending_find(MGMT_OP_SET_LINK_SECURITY, hdev)) { in set_link_security()
1783 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_ssp()
1846 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_hs()
1990 if (pending_find(MGMT_OP_SET_LE, hdev) || in set_le()
1991 pending_find(MGMT_OP_SET_ADVERTISING, hdev)) { in set_le()
2078 cmd = pending_find(mgmt_op, hdev); in mgmt_class_complete()
2592 if (pending_find(MGMT_OP_DISCONNECT, hdev)) { in disconnect()
3051 cmd = pending_find(MGMT_OP_PAIR_DEVICE, hdev); in cancel_pair_device()
3263 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in set_name_complete()
3432 cmd = pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev); in set_default_phy_complete()
3498 if (pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev)) { in set_phy_configuration()
3679 if (pending_find(MGMT_OP_SET_WIDEBAND_SPEECH, hdev)) { in set_wideband_speech()
4365 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev); in read_local_oob_data_complete()
4438 if (pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev)) { in read_local_oob_data()
4619 cmd = pending_find(MGMT_OP_START_DISCOVERY, hdev); in mgmt_start_discovery_complete()
4621 cmd = pending_find(MGMT_OP_START_SERVICE_DISCOVERY, hdev); in mgmt_start_discovery_complete()
4624 cmd = pending_find(MGMT_OP_START_LIMITED_DISCOVERY, hdev); in mgmt_start_discovery_complete()
4867 cmd = pending_find(MGMT_OP_STOP_DISCOVERY, hdev); in mgmt_stop_discovery_complete()
5223 if (pending_find(MGMT_OP_SET_ADVERTISING, hdev) || in set_advertising()
5224 pending_find(MGMT_OP_SET_LE, hdev)) { in set_advertising()
5382 cmd = pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev); in fast_connectable_complete()
5428 if (pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev)) { in set_fast_connectable()
5480 cmd = pending_find(MGMT_OP_SET_BREDR, hdev); in set_bredr_complete()
5580 if (pending_find(MGMT_OP_SET_BREDR, hdev)) { in set_bredr()
5625 cmd = pending_find(MGMT_OP_SET_SECURE_CONN, hdev); in sc_enable_complete()
5716 if (pending_find(MGMT_OP_SET_SECURE_CONN, hdev)) { in set_secure_conn()
6918 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_EXT_DATA, hdev); in read_local_oob_ext_data_complete()
7401 cmd = pending_find(MGMT_OP_ADD_ADVERTISING, hdev); in add_advertising_complete()
7500 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in add_advertising()
7501 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in add_advertising()
7502 pending_find(MGMT_OP_SET_LE, hdev)) { in add_advertising()
7608 cmd = pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev); in remove_advertising_complete()
7650 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in remove_advertising()
7651 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in remove_advertising()
7652 pending_find(MGMT_OP_SET_LE, hdev)) { in remove_advertising()
8023 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_set_powered_failed()
8248 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_powering_down()
8309 cmd = pending_find(MGMT_OP_DISCONNECT, hdev); in mgmt_disconnect_failed()
8361 cmd = pending_find(MGMT_OP_PIN_CODE_REPLY, hdev); in mgmt_pin_code_reply_complete()
8374 cmd = pending_find(MGMT_OP_PIN_CODE_NEG_REPLY, hdev); in mgmt_pin_code_neg_reply_complete()
8419 cmd = pending_find(opcode, hdev); in user_pairing_resp_complete()
8632 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in mgmt_set_local_name_complete()
8639 if (pending_find(MGMT_OP_SET_POWERED, hdev)) in mgmt_set_local_name_complete()