Lines Matching refs:pending_find

956 static struct mgmt_pending_cmd *pending_find(u16 opcode, struct hci_dev *hdev)  in pending_find()  function
968 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in mgmt_get_adv_discov_flags()
992 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in mgmt_get_connectable()
1336 if (cmd != pending_find(MGMT_OP_SET_POWERED, hdev)) in mgmt_set_powered_complete()
1391 if (pending_find(MGMT_OP_SET_POWERED, hdev)) { in set_powered()
1516 if (cmd != pending_find(MGMT_OP_SET_DISCOVERABLE, hdev)) in mgmt_set_discoverable_complete()
1586 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_discoverable()
1587 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_discoverable()
1690 if (cmd != pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) in mgmt_set_connectable_complete()
1772 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_connectable()
1773 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_connectable()
1884 if (pending_find(MGMT_OP_SET_LINK_SECURITY, hdev)) { in set_link_security()
1923 if (cmd != pending_find(MGMT_OP_SET_SSP, hdev)) in set_ssp_complete()
2030 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_ssp()
2092 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_hs()
2560 if (pending_find(MGMT_OP_SET_LE, hdev) || in set_le()
2561 pending_find(MGMT_OP_SET_ADVERTISING, hdev)) { in set_le()
3148 if (pending_find(MGMT_OP_DISCONNECT, hdev)) { in disconnect()
3607 cmd = pending_find(MGMT_OP_PAIR_DEVICE, hdev); in cancel_pair_device()
3817 if (cmd != pending_find(MGMT_OP_SET_LOCAL_NAME, hdev)) in set_name_complete()
3992 if (cmd != pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev)) in set_default_phy_complete()
4104 if (pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev)) { in set_phy_configuration()
5203 cmd = pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev); in mgmt_adv_monitor_removed()
5313 if (pending_find(MGMT_OP_SET_LE, hdev) || in __add_adv_patterns_monitor()
5314 pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR, hdev) || in __add_adv_patterns_monitor()
5315 pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR_RSSI, hdev) || in __add_adv_patterns_monitor()
5316 pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev)) { in __add_adv_patterns_monitor()
5522 if (pending_find(MGMT_OP_SET_LE, hdev) || in remove_adv_monitor()
5523 pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev) || in remove_adv_monitor()
5524 pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR, hdev) || in remove_adv_monitor()
5525 pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR_RSSI, hdev)) { in remove_adv_monitor()
5837 cmd = pending_find(MGMT_OP_START_DISCOVERY, hdev); in mgmt_start_discovery_complete()
5839 cmd = pending_find(MGMT_OP_START_SERVICE_DISCOVERY, hdev); in mgmt_start_discovery_complete()
5842 cmd = pending_find(MGMT_OP_START_LIMITED_DISCOVERY, hdev); in mgmt_start_discovery_complete()
5883 if (cmd != pending_find(MGMT_OP_START_DISCOVERY, hdev) && in start_discovery_complete()
5884 cmd != pending_find(MGMT_OP_START_LIMITED_DISCOVERY, hdev) && in start_discovery_complete()
5885 cmd != pending_find(MGMT_OP_START_SERVICE_DISCOVERY, hdev)) in start_discovery_complete()
6109 cmd = pending_find(MGMT_OP_STOP_DISCOVERY, hdev); in mgmt_stop_discovery_complete()
6122 if (cmd != pending_find(MGMT_OP_STOP_DISCOVERY, hdev)) in stop_discovery_complete()
6489 if (pending_find(MGMT_OP_SET_ADVERTISING, hdev) || in set_advertising()
6490 pending_find(MGMT_OP_SET_LE, hdev)) { in set_advertising()
8071 if (cmd != pending_find(MGMT_OP_READ_LOCAL_OOB_EXT_DATA, hdev)) in read_local_oob_ext_data_complete()
8574 return pending_find(MGMT_OP_SET_LE, hdev); in adv_busy()
9167 if (pending_find(MGMT_OP_SET_LE, hdev)) { in remove_advertising()
9503 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_set_powered_failed()
9738 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_powering_down()
9799 cmd = pending_find(MGMT_OP_DISCONNECT, hdev); in mgmt_disconnect_failed()
9851 cmd = pending_find(MGMT_OP_PIN_CODE_REPLY, hdev); in mgmt_pin_code_reply_complete()
9864 cmd = pending_find(MGMT_OP_PIN_CODE_NEG_REPLY, hdev); in mgmt_pin_code_neg_reply_complete()
9909 cmd = pending_find(opcode, hdev); in user_pairing_resp_complete()
10054 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in mgmt_set_local_name_complete()
10061 if (pending_find(MGMT_OP_SET_POWERED, hdev)) in mgmt_set_local_name_complete()