Lines Matching full:resp

123 	struct wlfw_msa_info_resp_msg_v01 resp = {};  in ath10k_qmi_msa_mem_info_send_sync_msg()  local
135 wlfw_msa_info_resp_msg_v01_ei, &resp); in ath10k_qmi_msa_mem_info_send_sync_msg()
153 if (resp.resp.result != QMI_RESULT_SUCCESS_V01) { in ath10k_qmi_msa_mem_info_send_sync_msg()
154 ath10k_err(ar, "msa info req rejected: %d\n", resp.resp.error); in ath10k_qmi_msa_mem_info_send_sync_msg()
159 if (resp.mem_region_info_len > QMI_WLFW_MAX_MEM_REG_V01) { in ath10k_qmi_msa_mem_info_send_sync_msg()
161 resp.mem_region_info_len); in ath10k_qmi_msa_mem_info_send_sync_msg()
167 qmi->nr_mem_region = resp.mem_region_info_len; in ath10k_qmi_msa_mem_info_send_sync_msg()
168 for (i = 0; i < resp.mem_region_info_len; i++) { in ath10k_qmi_msa_mem_info_send_sync_msg()
169 if (resp.mem_region_info[i].size > ar->msa.mem_size || in ath10k_qmi_msa_mem_info_send_sync_msg()
170 resp.mem_region_info[i].region_addr > max_mapped_addr || in ath10k_qmi_msa_mem_info_send_sync_msg()
171 resp.mem_region_info[i].region_addr < ar->msa.paddr || in ath10k_qmi_msa_mem_info_send_sync_msg()
172 resp.mem_region_info[i].size + in ath10k_qmi_msa_mem_info_send_sync_msg()
173 resp.mem_region_info[i].region_addr > max_mapped_addr) { in ath10k_qmi_msa_mem_info_send_sync_msg()
175 resp.mem_region_info[i].region_addr, in ath10k_qmi_msa_mem_info_send_sync_msg()
176 resp.mem_region_info[i].size); in ath10k_qmi_msa_mem_info_send_sync_msg()
180 qmi->mem_region[i].addr = resp.mem_region_info[i].region_addr; in ath10k_qmi_msa_mem_info_send_sync_msg()
181 qmi->mem_region[i].size = resp.mem_region_info[i].size; in ath10k_qmi_msa_mem_info_send_sync_msg()
182 qmi->mem_region[i].secure = resp.mem_region_info[i].secure_flag; in ath10k_qmi_msa_mem_info_send_sync_msg()
201 struct wlfw_msa_ready_resp_msg_v01 resp = {}; in ath10k_qmi_msa_ready_send_sync_msg() local
208 wlfw_msa_ready_resp_msg_v01_ei, &resp); in ath10k_qmi_msa_ready_send_sync_msg()
226 if (resp.resp.result != QMI_RESULT_SUCCESS_V01) { in ath10k_qmi_msa_ready_send_sync_msg()
227 ath10k_err(ar, "msa ready request rejected: %d\n", resp.resp.error); in ath10k_qmi_msa_ready_send_sync_msg()
240 struct wlfw_bdf_download_resp_msg_v01 resp = {}; in ath10k_qmi_bdf_dnld_send_sync() local
276 &resp); in ath10k_qmi_bdf_dnld_send_sync()
300 if (resp.resp.result != QMI_RESULT_SUCCESS_V01 && in ath10k_qmi_bdf_dnld_send_sync()
302 resp.resp.result == QMI_ERR_MALFORMED_MSG_V01)) { in ath10k_qmi_bdf_dnld_send_sync()
304 resp.resp.error); in ath10k_qmi_bdf_dnld_send_sync()
326 struct wlfw_cal_report_resp_msg_v01 resp = {}; in ath10k_qmi_send_cal_report_req() local
340 &resp); in ath10k_qmi_send_cal_report_req()
367 if (resp.resp.result != QMI_RESULT_SUCCESS_V01) { in ath10k_qmi_send_cal_report_req()
368 ath10k_err(ar, "calibration request rejected: %d\n", resp.resp.error); in ath10k_qmi_send_cal_report_req()
385 struct wlfw_wlan_mode_resp_msg_v01 resp = {}; in ath10k_qmi_mode_send_sync_msg() local
392 &resp); in ath10k_qmi_mode_send_sync_msg()
414 if (resp.resp.result != QMI_RESULT_SUCCESS_V01) { in ath10k_qmi_mode_send_sync_msg()
415 ath10k_err(ar, "more request rejected: %d\n", resp.resp.error); in ath10k_qmi_mode_send_sync_msg()
434 struct wlfw_wlan_cfg_resp_msg_v01 resp = {}; in ath10k_qmi_cfg_send_sync_msg() local
446 &resp); in ath10k_qmi_cfg_send_sync_msg()
500 if (resp.resp.result != QMI_RESULT_SUCCESS_V01) { in ath10k_qmi_cfg_send_sync_msg()
501 ath10k_err(ar, "config request rejected: %d\n", resp.resp.error); in ath10k_qmi_cfg_send_sync_msg()
574 struct wlfw_cap_resp_msg_v01 *resp; in ath10k_qmi_cap_send_sync_msg() local
581 resp = kzalloc(sizeof(*resp), GFP_KERNEL); in ath10k_qmi_cap_send_sync_msg()
582 if (!resp) in ath10k_qmi_cap_send_sync_msg()
585 ret = qmi_txn_init(&qmi->qmi_hdl, &txn, wlfw_cap_resp_msg_v01_ei, resp); in ath10k_qmi_cap_send_sync_msg()
603 if (resp->resp.result != QMI_RESULT_SUCCESS_V01) { in ath10k_qmi_cap_send_sync_msg()
604 ath10k_err(ar, "capability req rejected: %d\n", resp->resp.error); in ath10k_qmi_cap_send_sync_msg()
609 if (resp->chip_info_valid) { in ath10k_qmi_cap_send_sync_msg()
610 qmi->chip_info.chip_id = resp->chip_info.chip_id; in ath10k_qmi_cap_send_sync_msg()
611 qmi->chip_info.chip_family = resp->chip_info.chip_family; in ath10k_qmi_cap_send_sync_msg()
616 if (resp->board_info_valid) in ath10k_qmi_cap_send_sync_msg()
617 qmi->board_info.board_id = resp->board_info.board_id; in ath10k_qmi_cap_send_sync_msg()
621 if (resp->soc_info_valid) in ath10k_qmi_cap_send_sync_msg()
622 qmi->soc_info.soc_id = resp->soc_info.soc_id; in ath10k_qmi_cap_send_sync_msg()
624 if (resp->fw_version_info_valid) { in ath10k_qmi_cap_send_sync_msg()
625 qmi->fw_version = resp->fw_version_info.fw_version; in ath10k_qmi_cap_send_sync_msg()
626 strscpy(qmi->fw_build_timestamp, resp->fw_version_info.fw_build_timestamp, in ath10k_qmi_cap_send_sync_msg()
630 if (resp->fw_build_id_valid) in ath10k_qmi_cap_send_sync_msg()
631 strscpy(qmi->fw_build_id, resp->fw_build_id, in ath10k_qmi_cap_send_sync_msg()
642 if (resp->fw_build_id_valid) in ath10k_qmi_cap_send_sync_msg()
645 kfree(resp); in ath10k_qmi_cap_send_sync_msg()
649 kfree(resp); in ath10k_qmi_cap_send_sync_msg()
655 struct wlfw_host_cap_resp_msg_v01 resp = {}; in ath10k_qmi_host_cap_send_sync() local
667 &resp); in ath10k_qmi_host_cap_send_sync()
691 if (resp.resp.result != QMI_RESULT_SUCCESS_V01 && in ath10k_qmi_host_cap_send_sync()
692 resp.resp.error != QMI_ERR_NOT_SUPPORTED_V01) { in ath10k_qmi_host_cap_send_sync()
693 ath10k_err(ar, "host capability request rejected: %d\n", resp.resp.error); in ath10k_qmi_host_cap_send_sync()
708 struct wlfw_ini_resp_msg_v01 resp = {}; in ath10k_qmi_set_fw_log_mode() local
718 &resp); in ath10k_qmi_set_fw_log_mode()
736 if (resp.resp.result != QMI_RESULT_SUCCESS_V01) { in ath10k_qmi_set_fw_log_mode()
738 resp.resp.error); in ath10k_qmi_set_fw_log_mode()
753 struct wlfw_ind_register_resp_msg_v01 resp = {}; in ath10k_qmi_ind_register_send_sync_msg() local
773 wlfw_ind_register_resp_msg_v01_ei, &resp); in ath10k_qmi_ind_register_send_sync_msg()
791 if (resp.resp.result != QMI_RESULT_SUCCESS_V01) { in ath10k_qmi_ind_register_send_sync_msg()
792 ath10k_err(ar, "indication request rejected: %d\n", resp.resp.error); in ath10k_qmi_ind_register_send_sync_msg()
797 if (resp.fw_status_valid) { in ath10k_qmi_ind_register_send_sync_msg()
798 if (resp.fw_status & QMI_WLFW_FW_READY_V01) in ath10k_qmi_ind_register_send_sync_msg()