Lines Matching refs:pending_find
938 static struct mgmt_pending_cmd *pending_find(u16 opcode, struct hci_dev *hdev) in pending_find() function
950 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in mgmt_get_adv_discov_flags()
974 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in mgmt_get_connectable()
1318 if (cmd != pending_find(MGMT_OP_SET_POWERED, hdev)) in mgmt_set_powered_complete()
1373 if (pending_find(MGMT_OP_SET_POWERED, hdev)) { in set_powered()
1490 if (cmd != pending_find(MGMT_OP_SET_DISCOVERABLE, hdev)) in mgmt_set_discoverable_complete()
1560 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_discoverable()
1561 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_discoverable()
1664 if (cmd != pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) in mgmt_set_connectable_complete()
1746 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_connectable()
1747 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_connectable()
1858 if (pending_find(MGMT_OP_SET_LINK_SECURITY, hdev)) { in set_link_security()
1897 if (cmd != pending_find(MGMT_OP_SET_SSP, hdev)) in set_ssp_complete()
2004 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_ssp()
2066 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_hs()
2534 if (pending_find(MGMT_OP_SET_LE, hdev) || in set_le()
2535 pending_find(MGMT_OP_SET_ADVERTISING, hdev)) { in set_le()
3122 if (pending_find(MGMT_OP_DISCONNECT, hdev)) { in disconnect()
3593 cmd = pending_find(MGMT_OP_PAIR_DEVICE, hdev); in cancel_pair_device()
3804 if (cmd != pending_find(MGMT_OP_SET_LOCAL_NAME, hdev)) in set_name_complete()
3979 if (cmd != pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev)) in set_default_phy_complete()
4091 if (pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev)) { in set_phy_configuration()
5196 cmd = pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev); in mgmt_adv_monitor_removed()
5306 if (pending_find(MGMT_OP_SET_LE, hdev) || in __add_adv_patterns_monitor()
5307 pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR, hdev) || in __add_adv_patterns_monitor()
5308 pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR_RSSI, hdev) || in __add_adv_patterns_monitor()
5309 pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev)) { in __add_adv_patterns_monitor()
5515 if (pending_find(MGMT_OP_SET_LE, hdev) || in remove_adv_monitor()
5516 pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev) || in remove_adv_monitor()
5517 pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR, hdev) || in remove_adv_monitor()
5518 pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR_RSSI, hdev)) { in remove_adv_monitor()
5830 cmd = pending_find(MGMT_OP_START_DISCOVERY, hdev); in mgmt_start_discovery_complete()
5832 cmd = pending_find(MGMT_OP_START_SERVICE_DISCOVERY, hdev); in mgmt_start_discovery_complete()
5835 cmd = pending_find(MGMT_OP_START_LIMITED_DISCOVERY, hdev); in mgmt_start_discovery_complete()
5876 if (cmd != pending_find(MGMT_OP_START_DISCOVERY, hdev) && in start_discovery_complete()
5877 cmd != pending_find(MGMT_OP_START_LIMITED_DISCOVERY, hdev) && in start_discovery_complete()
5878 cmd != pending_find(MGMT_OP_START_SERVICE_DISCOVERY, hdev)) in start_discovery_complete()
6102 cmd = pending_find(MGMT_OP_STOP_DISCOVERY, hdev); in mgmt_stop_discovery_complete()
6115 if (cmd != pending_find(MGMT_OP_STOP_DISCOVERY, hdev)) in stop_discovery_complete()
6482 if (pending_find(MGMT_OP_SET_ADVERTISING, hdev) || in set_advertising()
6483 pending_find(MGMT_OP_SET_LE, hdev)) { in set_advertising()
8069 if (cmd != pending_find(MGMT_OP_READ_LOCAL_OOB_EXT_DATA, hdev)) in read_local_oob_ext_data_complete()
8572 return pending_find(MGMT_OP_SET_LE, hdev); in adv_busy()
9165 if (pending_find(MGMT_OP_SET_LE, hdev)) { in remove_advertising()
9500 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_set_powered_failed()
9735 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_powering_down()
9796 cmd = pending_find(MGMT_OP_DISCONNECT, hdev); in mgmt_disconnect_failed()
9848 cmd = pending_find(MGMT_OP_PIN_CODE_REPLY, hdev); in mgmt_pin_code_reply_complete()
9861 cmd = pending_find(MGMT_OP_PIN_CODE_NEG_REPLY, hdev); in mgmt_pin_code_neg_reply_complete()
9906 cmd = pending_find(opcode, hdev); in user_pairing_resp_complete()
10051 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in mgmt_set_local_name_complete()
10058 if (pending_find(MGMT_OP_SET_POWERED, hdev)) in mgmt_set_local_name_complete()