Lines Matching refs:pending_find

851 static struct mgmt_pending_cmd *pending_find(u16 opcode, struct hci_dev *hdev)  in pending_find()  function
870 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in mgmt_get_adv_discov_flags()
894 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in mgmt_get_connectable()
1170 if (pending_find(MGMT_OP_SET_POWERED, hdev)) { in set_powered()
1307 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in mgmt_set_discoverable_complete()
1371 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_discoverable()
1372 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_discoverable()
1466 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in mgmt_set_connectable_complete()
1540 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_connectable()
1541 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_connectable()
1654 if (pending_find(MGMT_OP_SET_LINK_SECURITY, hdev)) { in set_link_security()
1733 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_ssp()
1792 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_hs()
1936 if (pending_find(MGMT_OP_SET_LE, hdev) || in set_le()
1937 pending_find(MGMT_OP_SET_ADVERTISING, hdev)) { in set_le()
2024 cmd = pending_find(mgmt_op, hdev); in mgmt_class_complete()
2530 if (pending_find(MGMT_OP_DISCONNECT, hdev)) { in disconnect()
2990 cmd = pending_find(MGMT_OP_PAIR_DEVICE, hdev); in cancel_pair_device()
3188 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in set_name_complete()
3357 cmd = pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev); in set_default_phy_complete()
3423 if (pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev)) { in set_phy_configuration()
3543 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev); in read_local_oob_data_complete()
3616 if (pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev)) { in read_local_oob_data()
3797 cmd = pending_find(MGMT_OP_START_DISCOVERY, hdev); in mgmt_start_discovery_complete()
3799 cmd = pending_find(MGMT_OP_START_SERVICE_DISCOVERY, hdev); in mgmt_start_discovery_complete()
3802 cmd = pending_find(MGMT_OP_START_LIMITED_DISCOVERY, hdev); in mgmt_start_discovery_complete()
4031 cmd = pending_find(MGMT_OP_STOP_DISCOVERY, hdev); in mgmt_stop_discovery_complete()
4359 if (pending_find(MGMT_OP_SET_ADVERTISING, hdev) || in set_advertising()
4360 pending_find(MGMT_OP_SET_LE, hdev)) { in set_advertising()
4518 cmd = pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev); in fast_connectable_complete()
4564 if (pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev)) { in set_fast_connectable()
4616 cmd = pending_find(MGMT_OP_SET_BREDR, hdev); in set_bredr_complete()
4716 if (pending_find(MGMT_OP_SET_BREDR, hdev)) { in set_bredr()
4761 cmd = pending_find(MGMT_OP_SET_SECURE_CONN, hdev); in sc_enable_complete()
4852 if (pending_find(MGMT_OP_SET_SECURE_CONN, hdev)) { in set_secure_conn()
6028 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_EXT_DATA, hdev); in read_local_oob_ext_data_complete()
6499 cmd = pending_find(MGMT_OP_ADD_ADVERTISING, hdev); in add_advertising_complete()
6591 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in add_advertising()
6592 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in add_advertising()
6593 pending_find(MGMT_OP_SET_LE, hdev)) { in add_advertising()
6696 cmd = pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev); in remove_advertising_complete()
6731 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in remove_advertising()
6732 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in remove_advertising()
6733 pending_find(MGMT_OP_SET_LE, hdev)) { in remove_advertising()
7073 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_set_powered_failed()
7298 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_powering_down()
7355 cmd = pending_find(MGMT_OP_DISCONNECT, hdev); in mgmt_disconnect_failed()
7407 cmd = pending_find(MGMT_OP_PIN_CODE_REPLY, hdev); in mgmt_pin_code_reply_complete()
7420 cmd = pending_find(MGMT_OP_PIN_CODE_NEG_REPLY, hdev); in mgmt_pin_code_neg_reply_complete()
7465 cmd = pending_find(opcode, hdev); in user_pairing_resp_complete()
7678 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in mgmt_set_local_name_complete()
7685 if (pending_find(MGMT_OP_SET_POWERED, hdev)) in mgmt_set_local_name_complete()