Lines Matching refs:pending_find

892 static struct mgmt_pending_cmd *pending_find(u16 opcode, struct hci_dev *hdev)  in pending_find()  function
911 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in mgmt_get_adv_discov_flags()
935 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in mgmt_get_connectable()
1211 if (pending_find(MGMT_OP_SET_POWERED, hdev)) { in set_powered()
1348 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in mgmt_set_discoverable_complete()
1412 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_discoverable()
1413 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_discoverable()
1513 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in mgmt_set_connectable_complete()
1587 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_connectable()
1588 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_connectable()
1701 if (pending_find(MGMT_OP_SET_LINK_SECURITY, hdev)) { in set_link_security()
1780 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_ssp()
1843 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_hs()
1987 if (pending_find(MGMT_OP_SET_LE, hdev) || in set_le()
1988 pending_find(MGMT_OP_SET_ADVERTISING, hdev)) { in set_le()
2075 cmd = pending_find(mgmt_op, hdev); in mgmt_class_complete()
2589 if (pending_find(MGMT_OP_DISCONNECT, hdev)) { in disconnect()
3048 cmd = pending_find(MGMT_OP_PAIR_DEVICE, hdev); in cancel_pair_device()
3260 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in set_name_complete()
3429 cmd = pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev); in set_default_phy_complete()
3495 if (pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev)) { in set_phy_configuration()
3676 if (pending_find(MGMT_OP_SET_WIDEBAND_SPEECH, hdev)) { in set_wideband_speech()
4360 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev); in read_local_oob_data_complete()
4433 if (pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev)) { in read_local_oob_data()
4614 cmd = pending_find(MGMT_OP_START_DISCOVERY, hdev); in mgmt_start_discovery_complete()
4616 cmd = pending_find(MGMT_OP_START_SERVICE_DISCOVERY, hdev); in mgmt_start_discovery_complete()
4619 cmd = pending_find(MGMT_OP_START_LIMITED_DISCOVERY, hdev); in mgmt_start_discovery_complete()
4862 cmd = pending_find(MGMT_OP_STOP_DISCOVERY, hdev); in mgmt_stop_discovery_complete()
5218 if (pending_find(MGMT_OP_SET_ADVERTISING, hdev) || in set_advertising()
5219 pending_find(MGMT_OP_SET_LE, hdev)) { in set_advertising()
5377 cmd = pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev); in fast_connectable_complete()
5423 if (pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev)) { in set_fast_connectable()
5475 cmd = pending_find(MGMT_OP_SET_BREDR, hdev); in set_bredr_complete()
5575 if (pending_find(MGMT_OP_SET_BREDR, hdev)) { in set_bredr()
5620 cmd = pending_find(MGMT_OP_SET_SECURE_CONN, hdev); in sc_enable_complete()
5711 if (pending_find(MGMT_OP_SET_SECURE_CONN, hdev)) { in set_secure_conn()
6913 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_EXT_DATA, hdev); in read_local_oob_ext_data_complete()
7393 cmd = pending_find(MGMT_OP_ADD_ADVERTISING, hdev); in add_advertising_complete()
7492 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in add_advertising()
7493 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in add_advertising()
7494 pending_find(MGMT_OP_SET_LE, hdev)) { in add_advertising()
7600 cmd = pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev); in remove_advertising_complete()
7642 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in remove_advertising()
7643 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in remove_advertising()
7644 pending_find(MGMT_OP_SET_LE, hdev)) { in remove_advertising()
8015 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_set_powered_failed()
8240 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_powering_down()
8301 cmd = pending_find(MGMT_OP_DISCONNECT, hdev); in mgmt_disconnect_failed()
8353 cmd = pending_find(MGMT_OP_PIN_CODE_REPLY, hdev); in mgmt_pin_code_reply_complete()
8366 cmd = pending_find(MGMT_OP_PIN_CODE_NEG_REPLY, hdev); in mgmt_pin_code_neg_reply_complete()
8411 cmd = pending_find(opcode, hdev); in user_pairing_resp_complete()
8624 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in mgmt_set_local_name_complete()
8631 if (pending_find(MGMT_OP_SET_POWERED, hdev)) in mgmt_set_local_name_complete()