Lines Matching refs:pending_find
823 static struct mgmt_pending_cmd *pending_find(u16 opcode, struct hci_dev *hdev) in pending_find() function
927 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()
1562 if (pending_find(MGMT_OP_SET_POWERED, hdev)) { in set_powered()
1714 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in set_discoverable_complete()
1799 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_discoverable()
1800 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_discoverable()
1971 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in set_connectable_complete()
2066 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_connectable()
2067 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_connectable()
2207 if (pending_find(MGMT_OP_SET_LINK_SECURITY, hdev)) { in set_link_security()
2286 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_ssp()
2345 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_hs()
2479 if (pending_find(MGMT_OP_SET_LE, hdev) || in set_le()
2480 pending_find(MGMT_OP_SET_ADVERTISING, hdev)) { in set_le()
2564 cmd = pending_find(mgmt_op, hdev); in mgmt_class_complete()
3060 if (pending_find(MGMT_OP_DISCONNECT, hdev)) { in disconnect()
3524 cmd = pending_find(MGMT_OP_PAIR_DEVICE, hdev); in cancel_pair_device()
3702 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in set_name_complete()
3799 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev); in read_local_oob_data_complete()
3872 if (pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev)) { in read_local_oob_data()
4187 cmd = pending_find(MGMT_OP_START_DISCOVERY, hdev); in start_discovery_complete()
4189 cmd = pending_find(MGMT_OP_START_SERVICE_DISCOVERY, hdev); in start_discovery_complete()
4444 cmd = pending_find(MGMT_OP_STOP_DISCOVERY, hdev); in stop_discovery_complete()
4775 if (pending_find(MGMT_OP_SET_ADVERTISING, hdev) || in set_advertising()
4776 pending_find(MGMT_OP_SET_LE, hdev)) { in set_advertising()
4923 cmd = pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev); in fast_connectable_complete()
4969 if (pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev)) { in set_fast_connectable()
5021 cmd = pending_find(MGMT_OP_SET_BREDR, hdev); in set_bredr_complete()
5121 if (pending_find(MGMT_OP_SET_BREDR, hdev)) { in set_bredr()
5166 cmd = pending_find(MGMT_OP_SET_SECURE_CONN, hdev); in sc_enable_complete()
5257 if (pending_find(MGMT_OP_SET_SECURE_CONN, hdev)) { in set_secure_conn()
6005 cmd = pending_find(MGMT_OP_ADD_DEVICE, hdev); in add_device_complete()
6128 cmd = pending_find(MGMT_OP_REMOVE_DEVICE, hdev); in remove_device_complete()
6483 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_EXT_DATA, hdev); in read_local_oob_ext_data_complete()
6893 cmd = pending_find(MGMT_OP_ADD_ADVERTISING, hdev); in add_advertising_complete()
6970 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in add_advertising()
6971 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in add_advertising()
6972 pending_find(MGMT_OP_SET_LE, hdev)) { in add_advertising()
7063 cmd = pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev); in remove_advertising_complete()
7097 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in remove_advertising()
7098 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in remove_advertising()
7099 pending_find(MGMT_OP_SET_LE, hdev)) { in remove_advertising()
7488 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_set_powered_failed()
7759 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_powering_down()
7816 cmd = pending_find(MGMT_OP_DISCONNECT, hdev); in mgmt_disconnect_failed()
7868 cmd = pending_find(MGMT_OP_PIN_CODE_REPLY, hdev); in mgmt_pin_code_reply_complete()
7881 cmd = pending_find(MGMT_OP_PIN_CODE_NEG_REPLY, hdev); in mgmt_pin_code_neg_reply_complete()
7926 cmd = pending_find(opcode, hdev); in user_pairing_resp_complete()
8137 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in mgmt_set_local_name_complete()
8144 if (pending_find(MGMT_OP_SET_POWERED, hdev)) in mgmt_set_local_name_complete()