Lines Matching refs:pending_find
900 static struct mgmt_pending_cmd *pending_find(u16 opcode, struct hci_dev *hdev) in pending_find() function
919 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in mgmt_get_adv_discov_flags()
943 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in mgmt_get_connectable()
1219 if (pending_find(MGMT_OP_SET_POWERED, hdev)) { in set_powered()
1356 cmd = pending_find(MGMT_OP_SET_DISCOVERABLE, hdev); in mgmt_set_discoverable_complete()
1420 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_discoverable()
1421 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_discoverable()
1521 cmd = pending_find(MGMT_OP_SET_CONNECTABLE, hdev); in mgmt_set_connectable_complete()
1595 if (pending_find(MGMT_OP_SET_DISCOVERABLE, hdev) || in set_connectable()
1596 pending_find(MGMT_OP_SET_CONNECTABLE, hdev)) { in set_connectable()
1709 if (pending_find(MGMT_OP_SET_LINK_SECURITY, hdev)) { in set_link_security()
1788 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_ssp()
1851 if (pending_find(MGMT_OP_SET_SSP, hdev)) { in set_hs()
1995 if (pending_find(MGMT_OP_SET_LE, hdev) || in set_le()
1996 pending_find(MGMT_OP_SET_ADVERTISING, hdev)) { in set_le()
2083 cmd = pending_find(mgmt_op, hdev); in mgmt_class_complete()
2597 if (pending_find(MGMT_OP_DISCONNECT, hdev)) { in disconnect()
3056 cmd = pending_find(MGMT_OP_PAIR_DEVICE, hdev); in cancel_pair_device()
3268 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in set_name_complete()
3437 cmd = pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev); in set_default_phy_complete()
3503 if (pending_find(MGMT_OP_SET_PHY_CONFIGURATION, hdev)) { in set_phy_configuration()
3684 if (pending_find(MGMT_OP_SET_WIDEBAND_SPEECH, hdev)) { in set_wideband_speech()
4187 cmd = pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev); in mgmt_adv_monitor_removed()
4258 cmd = pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR_RSSI, hdev); in mgmt_add_adv_patterns_monitor_complete()
4260 cmd = pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR, hdev); in mgmt_add_adv_patterns_monitor_complete()
4302 if (pending_find(MGMT_OP_SET_LE, hdev) || in __add_adv_patterns_monitor()
4303 pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR, hdev) || in __add_adv_patterns_monitor()
4304 pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR_RSSI, hdev) || in __add_adv_patterns_monitor()
4305 pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev)) { in __add_adv_patterns_monitor()
4491 cmd = pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev); in mgmt_remove_adv_monitor_complete()
4528 if (pending_find(MGMT_OP_SET_LE, hdev) || in remove_adv_monitor()
4529 pending_find(MGMT_OP_REMOVE_ADV_MONITOR, hdev) || in remove_adv_monitor()
4530 pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR, hdev) || in remove_adv_monitor()
4531 pending_find(MGMT_OP_ADD_ADV_PATTERNS_MONITOR_RSSI, hdev)) { in remove_adv_monitor()
4587 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev); in read_local_oob_data_complete()
4660 if (pending_find(MGMT_OP_READ_LOCAL_OOB_DATA, hdev)) { in read_local_oob_data()
4841 cmd = pending_find(MGMT_OP_START_DISCOVERY, hdev); in mgmt_start_discovery_complete()
4843 cmd = pending_find(MGMT_OP_START_SERVICE_DISCOVERY, hdev); in mgmt_start_discovery_complete()
4846 cmd = pending_find(MGMT_OP_START_LIMITED_DISCOVERY, hdev); in mgmt_start_discovery_complete()
5097 cmd = pending_find(MGMT_OP_STOP_DISCOVERY, hdev); in mgmt_stop_discovery_complete()
5453 if (pending_find(MGMT_OP_SET_ADVERTISING, hdev) || in set_advertising()
5454 pending_find(MGMT_OP_SET_LE, hdev)) { in set_advertising()
5612 cmd = pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev); in fast_connectable_complete()
5658 if (pending_find(MGMT_OP_SET_FAST_CONNECTABLE, hdev)) { in set_fast_connectable()
5710 cmd = pending_find(MGMT_OP_SET_BREDR, hdev); in set_bredr_complete()
5810 if (pending_find(MGMT_OP_SET_BREDR, hdev)) { in set_bredr()
5855 cmd = pending_find(MGMT_OP_SET_SECURE_CONN, hdev); in sc_enable_complete()
5946 if (pending_find(MGMT_OP_SET_SECURE_CONN, hdev)) { in set_secure_conn()
7148 cmd = pending_find(MGMT_OP_READ_LOCAL_OOB_EXT_DATA, hdev); in read_local_oob_ext_data_complete()
7641 return (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in adv_busy()
7642 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in adv_busy()
7643 pending_find(MGMT_OP_SET_LE, hdev) || in adv_busy()
7644 pending_find(MGMT_OP_ADD_EXT_ADV_PARAMS, hdev) || in adv_busy()
7645 pending_find(MGMT_OP_ADD_EXT_ADV_DATA, hdev)); in adv_busy()
7661 cmd = pending_find(MGMT_OP_ADD_ADVERTISING, hdev); in add_advertising_complete()
7663 cmd = pending_find(MGMT_OP_ADD_EXT_ADV_DATA, hdev); in add_advertising_complete()
7862 cmd = pending_find(MGMT_OP_ADD_EXT_ADV_PARAMS, hdev); in add_ext_adv_params_complete()
8195 cmd = pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev); in remove_advertising_complete()
8237 if (pending_find(MGMT_OP_ADD_ADVERTISING, hdev) || in remove_advertising()
8238 pending_find(MGMT_OP_REMOVE_ADVERTISING, hdev) || in remove_advertising()
8239 pending_find(MGMT_OP_SET_LE, hdev)) { in remove_advertising()
8617 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_set_powered_failed()
8846 cmd = pending_find(MGMT_OP_SET_POWERED, hdev); in mgmt_powering_down()
8907 cmd = pending_find(MGMT_OP_DISCONNECT, hdev); in mgmt_disconnect_failed()
8959 cmd = pending_find(MGMT_OP_PIN_CODE_REPLY, hdev); in mgmt_pin_code_reply_complete()
8972 cmd = pending_find(MGMT_OP_PIN_CODE_NEG_REPLY, hdev); in mgmt_pin_code_neg_reply_complete()
9017 cmd = pending_find(opcode, hdev); in user_pairing_resp_complete()
9230 cmd = pending_find(MGMT_OP_SET_LOCAL_NAME, hdev); in mgmt_set_local_name_complete()
9237 if (pending_find(MGMT_OP_SET_POWERED, hdev)) in mgmt_set_local_name_complete()