Lines Matching refs:pending_find

831 static struct mgmt_pending_cmd *pending_find(u16 opcode, struct hci_dev *hdev)  in pending_find()  function
941 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in get_adv_discov_flags()
965 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in get_connectable()
1668 if (pending_find(MGMT_OP_SET_POWERED, hdev)) { in set_powered()
1820 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in set_discoverable_complete()
1905 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_discoverable()
1906 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_discoverable()
2077 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in set_connectable_complete()
2172 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_connectable()
2173 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_connectable()
2313 if (pending_find(MGMT_OP_SET_LINK_SECURITY, hdev)) { in set_link_security()
2392 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_ssp()
2451 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_hs()
2588 if (pending_find(MGMT_OP_SET_LE, hdev) || in set_le()
2589 pending_find(MGMT_OP_SET_ADVERTISING, hdev)) { in set_le()
2673 cmd = pending_find(mgmt_op, hdev); in mgmt_class_complete()
3183 if (pending_find(MGMT_OP_DISCONNECT, hdev)) { in disconnect()
3646 cmd = pending_find(MGMT_OP_PAIR_DEVICE, hdev); in cancel_pair_device()
3825 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in set_name_complete()
3922 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev); in read_local_oob_data_complete()
3995 if (pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev)) { in read_local_oob_data()
4311 cmd = pending_find(MGMT_OP_START_DISCOVERY, hdev); in start_discovery_complete()
4313 cmd = pending_find(MGMT_OP_START_SERVICE_DISCOVERY, hdev); in start_discovery_complete()
4568 cmd = pending_find(MGMT_OP_STOP_DISCOVERY, hdev); in stop_discovery_complete()
4915 if (pending_find(MGMT_OP_SET_ADVERTISING, hdev) || in set_advertising()
4916 pending_find(MGMT_OP_SET_LE, hdev)) { in set_advertising()
5068 cmd = pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev); in fast_connectable_complete()
5114 if (pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev)) { in set_fast_connectable()
5166 cmd = pending_find(MGMT_OP_SET_BREDR, hdev); in set_bredr_complete()
5266 if (pending_find(MGMT_OP_SET_BREDR, hdev)) { in set_bredr()
5311 cmd = pending_find(MGMT_OP_SET_SECURE_CONN, hdev); in sc_enable_complete()
5402 if (pending_find(MGMT_OP_SET_SECURE_CONN, hdev)) { in set_secure_conn()
6153 cmd = pending_find(MGMT_OP_ADD_DEVICE, hdev); in add_device_complete()
6284 cmd = pending_find(MGMT_OP_REMOVE_DEVICE, hdev); in remove_device_complete()
6653 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_EXT_DATA, hdev); in read_local_oob_ext_data_complete()
7068 cmd = pending_find(MGMT_OP_ADD_ADVERTISING, hdev); in add_advertising_complete()
7182 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in add_advertising()
7183 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in add_advertising()
7184 pending_find(MGMT_OP_SET_LE, hdev)) { in add_advertising()
7289 cmd = pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev); in remove_advertising_complete()
7324 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in remove_advertising()
7325 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in remove_advertising()
7326 pending_find(MGMT_OP_SET_LE, hdev)) { in remove_advertising()
7726 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_set_powered_failed()
7988 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_powering_down()
8045 cmd = pending_find(MGMT_OP_DISCONNECT, hdev); in mgmt_disconnect_failed()
8097 cmd = pending_find(MGMT_OP_PIN_CODE_REPLY, hdev); in mgmt_pin_code_reply_complete()
8110 cmd = pending_find(MGMT_OP_PIN_CODE_NEG_REPLY, hdev); in mgmt_pin_code_neg_reply_complete()
8155 cmd = pending_find(opcode, hdev); in user_pairing_resp_complete()
8366 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in mgmt_set_local_name_complete()
8373 if (pending_find(MGMT_OP_SET_POWERED, hdev)) in mgmt_set_local_name_complete()