Lines Matching refs:resp
50 union bmi_resp resp; in ath10k_bmi_get_target_info() local
52 u32 resplen = sizeof(resp.get_target_info); in ath10k_bmi_get_target_info()
64 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); in ath10k_bmi_get_target_info()
70 if (resplen < sizeof(resp.get_target_info)) { in ath10k_bmi_get_target_info()
76 target_info->version = __le32_to_cpu(resp.get_target_info.version); in ath10k_bmi_get_target_info()
77 target_info->type = __le32_to_cpu(resp.get_target_info.type); in ath10k_bmi_get_target_info()
88 union bmi_resp resp; in ath10k_bmi_get_target_info_sdio() local
131 if (ver_len != sizeof(resp.get_target_info)) { in ath10k_bmi_get_target_info_sdio()
133 ver_len, sizeof(resp.get_target_info)); in ath10k_bmi_get_target_info_sdio()
138 resplen = sizeof(resp.get_target_info) - sizeof(u32); in ath10k_bmi_get_target_info_sdio()
140 &resp.get_target_info.version, in ath10k_bmi_get_target_info_sdio()
147 target_info->version = __le32_to_cpu(resp.get_target_info.version); in ath10k_bmi_get_target_info_sdio()
148 target_info->type = __le32_to_cpu(resp.get_target_info.type); in ath10k_bmi_get_target_info_sdio()
157 union bmi_resp resp; in ath10k_bmi_read_memory() local
178 &resp, &rxlen); in ath10k_bmi_read_memory()
185 memcpy(buffer, resp.read_mem.payload, rxlen); in ath10k_bmi_read_memory()
227 union bmi_resp resp; in ath10k_bmi_read_soc_reg() local
229 u32 resplen = sizeof(resp.read_soc_reg); in ath10k_bmi_read_soc_reg()
243 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); in ath10k_bmi_read_soc_reg()
250 *reg_val = __le32_to_cpu(resp.read_soc_reg.value); in ath10k_bmi_read_soc_reg()
307 union bmi_resp resp; in ath10k_bmi_execute() local
309 u32 resplen = sizeof(resp.execute); in ath10k_bmi_execute()
324 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, cmdlen, &resp, &resplen); in ath10k_bmi_execute()
330 if (resplen < sizeof(resp.execute)) { in ath10k_bmi_execute()
336 *result = __le32_to_cpu(resp.execute.result); in ath10k_bmi_execute()