Lines Matching refs:mgmt_status
312 static u8 mgmt_status(int err) in mgmt_status() function
1345 mgmt_status(err)); in mgmt_set_powered_complete()
1420 u8 mgmt_status; member
1457 cmd->cmd_complete(cmd, match->mgmt_status); in cmd_complete_rsp()
1512 u8 mgmt_err = mgmt_status(err); in mgmt_set_discoverable_complete()
1686 u8 mgmt_err = mgmt_status(err); in mgmt_set_connectable_complete()
1917 u8 mgmt_err = mgmt_status(err); in set_ssp_complete()
2050 u8 status = mgmt_status(err); in set_le_complete()
2115 u8 status = mgmt_status(err); in set_mesh_complete()
2194 u8 mgmt_err = mgmt_status(err); in mesh_send_start_complete()
2561 mgmt_status(err), hdev->dev_class, 3); in mgmt_class_complete()
3067 cmd->cmd_complete(cmd, mgmt_status(err)); in disconnect_complete()
3392 cmd->cmd_complete(cmd, mgmt_status(status)); in pairing_complete_cb()
3411 cmd->cmd_complete(cmd, mgmt_status(status)); in le_pairing_complete_cb()
3774 u8 status = mgmt_status(err); in set_name_complete()
3951 u8 status = mgmt_status(err); in set_default_phy_complete()
3960 status = mgmt_status(PTR_ERR(skb)); in set_default_phy_complete()
3962 status = mgmt_status(skb->data[0]); in set_default_phy_complete()
5246 mgmt_status(status), &rp, sizeof(rp)); in mgmt_add_adv_patterns_monitor_complete()
5455 mgmt_status(status), &rp, sizeof(rp)); in mgmt_remove_adv_monitor_complete()
5527 u8 status = mgmt_status(err); in read_local_oob_data_complete()
5533 status = mgmt_status(PTR_ERR(skb)); in read_local_oob_data_complete()
5535 status = mgmt_status(skb->data[0]); in read_local_oob_data_complete()
5806 cmd->cmd_complete(cmd, mgmt_status(status)); in mgmt_start_discovery_complete()
5814 uint8_t *mgmt_status) in discovery_type_is_valid() argument
5818 *mgmt_status = mgmt_le_support(hdev); in discovery_type_is_valid()
5819 if (*mgmt_status) in discovery_type_is_valid()
5823 *mgmt_status = mgmt_le_support(hdev); in discovery_type_is_valid()
5824 if (*mgmt_status) in discovery_type_is_valid()
5828 *mgmt_status = mgmt_bredr_support(hdev); in discovery_type_is_valid()
5829 if (*mgmt_status) in discovery_type_is_valid()
5833 *mgmt_status = MGMT_STATUS_INVALID_PARAMS; in discovery_type_is_valid()
5851 mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, mgmt_status(err), in start_discovery_complete()
6072 cmd->cmd_complete(cmd, mgmt_status(status)); in mgmt_stop_discovery_complete()
6088 mgmt_cmd_complete(cmd->sk, cmd->index, cmd->opcode, mgmt_status(err), in stop_discovery_complete()
6310 u8 status = mgmt_status(err); in set_advertising_complete()
6573 mgmt_status(err)); in fast_connectable_complete()
6660 u8 mgmt_err = mgmt_status(err); in set_bredr_complete()
6802 u8 mgmt_err = mgmt_status(err); in set_secure_conn_complete()
7240 status = mgmt_status(err); in get_conn_info_complete()
7392 u8 status = mgmt_status(err); in get_clock_info_complete()
8025 u8 status = mgmt_status(err); in read_local_oob_ext_data_complete()
8035 status = mgmt_status(PTR_ERR(skb)); in read_local_oob_ext_data_complete()
8037 status = mgmt_status(skb->data[0]); in read_local_oob_ext_data_complete()
8045 status = mgmt_status(status); in read_local_oob_ext_data_complete()
8578 mgmt_status(err)); in add_advertising_complete()
8581 mgmt_status(err), &rp, sizeof(rp)); in add_advertising_complete()
8769 mgmt_status(err)); in add_ext_adv_params_complete()
8772 mgmt_status(err), &rp, sizeof(rp)); in add_ext_adv_params_complete()
8920 mgmt_status(err)); in add_ext_adv_data_complete()
8923 mgmt_status(err), &rp, sizeof(rp)); in add_ext_adv_data_complete()
9082 mgmt_status(err)); in remove_advertising_complete()
9418 match.mgmt_status = MGMT_STATUS_INVALID_INDEX; in __mgmt_power_off()
9420 match.mgmt_status = MGMT_STATUS_NOT_POWERED; in __mgmt_power_off()
9728 cmd->cmd_complete(cmd, mgmt_status(status)); in mgmt_disconnect_failed()
9744 ev.status = mgmt_status(status); in mgmt_connect_failed()
9769 cmd->cmd_complete(cmd, mgmt_status(status)); in mgmt_pin_code_reply_complete()
9782 cmd->cmd_complete(cmd, mgmt_status(status)); in mgmt_pin_code_neg_reply_complete()
9827 cmd->cmd_complete(cmd, mgmt_status(status)); in user_pairing_resp_complete()
9883 u8 status = mgmt_status(hci_status); in mgmt_auth_failed()
9906 u8 mgmt_err = mgmt_status(status); in mgmt_auth_enable_complete()
9940 struct cmd_lookup match = { NULL, hdev, mgmt_status(status) }; in mgmt_set_class_of_dev_complete()