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()
2531 if (pending_find(MGMT_OP_DISCONNECT, hdev)) { in disconnect()
2995 cmd = pending_find(MGMT_OP_PAIR_DEVICE, hdev); in cancel_pair_device()
3193 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in set_name_complete()
3362 cmd = pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev); in set_default_phy_complete()
3428 if (pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev)) { in set_phy_configuration()
3548 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev); in read_local_oob_data_complete()
3621 if (pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev)) { in read_local_oob_data()
3802 cmd = pending_find(MGMT_OP_START_DISCOVERY, hdev); in mgmt_start_discovery_complete()
3804 cmd = pending_find(MGMT_OP_START_SERVICE_DISCOVERY, hdev); in mgmt_start_discovery_complete()
3807 cmd = pending_find(MGMT_OP_START_LIMITED_DISCOVERY, hdev); in mgmt_start_discovery_complete()
4036 cmd = pending_find(MGMT_OP_STOP_DISCOVERY, hdev); in mgmt_stop_discovery_complete()
4364 if (pending_find(MGMT_OP_SET_ADVERTISING, hdev) || in set_advertising()
4365 pending_find(MGMT_OP_SET_LE, hdev)) { in set_advertising()
4523 cmd = pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev); in fast_connectable_complete()
4569 if (pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev)) { in set_fast_connectable()
4621 cmd = pending_find(MGMT_OP_SET_BREDR, hdev); in set_bredr_complete()
4721 if (pending_find(MGMT_OP_SET_BREDR, hdev)) { in set_bredr()
4766 cmd = pending_find(MGMT_OP_SET_SECURE_CONN, hdev); in sc_enable_complete()
4857 if (pending_find(MGMT_OP_SET_SECURE_CONN, hdev)) { in set_secure_conn()
6035 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_EXT_DATA, hdev); in read_local_oob_ext_data_complete()
6506 cmd = pending_find(MGMT_OP_ADD_ADVERTISING, hdev); in add_advertising_complete()
6598 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in add_advertising()
6599 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in add_advertising()
6600 pending_find(MGMT_OP_SET_LE, hdev)) { in add_advertising()
6703 cmd = pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev); in remove_advertising_complete()
6738 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in remove_advertising()
6739 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in remove_advertising()
6740 pending_find(MGMT_OP_SET_LE, hdev)) { in remove_advertising()
7080 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_set_powered_failed()
7305 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_powering_down()
7362 cmd = pending_find(MGMT_OP_DISCONNECT, hdev); in mgmt_disconnect_failed()
7414 cmd = pending_find(MGMT_OP_PIN_CODE_REPLY, hdev); in mgmt_pin_code_reply_complete()
7427 cmd = pending_find(MGMT_OP_PIN_CODE_NEG_REPLY, hdev); in mgmt_pin_code_neg_reply_complete()
7472 cmd = pending_find(opcode, hdev); in user_pairing_resp_complete()
7685 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in mgmt_set_local_name_complete()
7692 if (pending_find(MGMT_OP_SET_POWERED, hdev)) in mgmt_set_local_name_complete()