Lines Matching refs:fw_file

130 			  ar->normal_mode_fw.fw_file.wmi_op_version);  in ath10k_tm_cmd_get_version()
140 struct ath10k_fw_file *fw_file) in ath10k_tm_fetch_utf_firmware_api_1() argument
149 ret = firmware_request_nowarn(&fw_file->firmware, filename, ar->dev); in ath10k_tm_fetch_utf_firmware_api_1()
165 fw_file->wmi_op_version = ATH10K_FW_WMI_OP_VERSION_10_1; in ath10k_tm_fetch_utf_firmware_api_1()
166 fw_file->htt_op_version = ATH10K_FW_HTT_OP_VERSION_10_1; in ath10k_tm_fetch_utf_firmware_api_1()
167 fw_file->firmware_data = fw_file->firmware->data; in ath10k_tm_fetch_utf_firmware_api_1()
168 fw_file->firmware_len = fw_file->firmware->size; in ath10k_tm_fetch_utf_firmware_api_1()
194 &ar->testmode.utf_mode_fw.fw_file); in ath10k_tm_fetch_firmware()
200 ret = ath10k_tm_fetch_utf_firmware_api_1(ar, &ar->testmode.utf_mode_fw.fw_file); in ath10k_tm_fetch_firmware()
217 if (!utf_mode_fw->fw_file.otp_data) { in ath10k_tm_fetch_firmware()
219 utf_mode_fw->fw_file.otp_data = ar->normal_mode_fw.fw_file.otp_data; in ath10k_tm_fetch_firmware()
220 utf_mode_fw->fw_file.otp_len = ar->normal_mode_fw.fw_file.otp_len; in ath10k_tm_fetch_firmware()
246 if (WARN_ON(ar->testmode.utf_mode_fw.fw_file.firmware != NULL)) { in ath10k_tm_cmd_utf_start()
258 if (ar->testmode.utf_mode_fw.fw_file.codeswap_data && in ath10k_tm_cmd_utf_start()
259 ar->testmode.utf_mode_fw.fw_file.codeswap_len) { in ath10k_tm_cmd_utf_start()
261 &ar->testmode.utf_mode_fw.fw_file); in ath10k_tm_cmd_utf_start()
275 ar->testmode.utf_mode_fw.fw_file.wmi_op_version); in ath10k_tm_cmd_utf_start()
294 if (strlen(ar->testmode.utf_mode_fw.fw_file.fw_version) > 0) in ath10k_tm_cmd_utf_start()
295 ver = ar->testmode.utf_mode_fw.fw_file.fw_version; in ath10k_tm_cmd_utf_start()
309 if (ar->testmode.utf_mode_fw.fw_file.codeswap_data && in ath10k_tm_cmd_utf_start()
310 ar->testmode.utf_mode_fw.fw_file.codeswap_len) in ath10k_tm_cmd_utf_start()
312 &ar->testmode.utf_mode_fw.fw_file); in ath10k_tm_cmd_utf_start()
314 release_firmware(ar->testmode.utf_mode_fw.fw_file.firmware); in ath10k_tm_cmd_utf_start()
315 ar->testmode.utf_mode_fw.fw_file.firmware = NULL; in ath10k_tm_cmd_utf_start()
336 if (ar->testmode.utf_mode_fw.fw_file.codeswap_data && in __ath10k_tm_cmd_utf_stop()
337 ar->testmode.utf_mode_fw.fw_file.codeswap_len) in __ath10k_tm_cmd_utf_stop()
339 &ar->testmode.utf_mode_fw.fw_file); in __ath10k_tm_cmd_utf_stop()
341 release_firmware(ar->testmode.utf_mode_fw.fw_file.firmware); in __ath10k_tm_cmd_utf_stop()
342 ar->testmode.utf_mode_fw.fw_file.firmware = NULL; in __ath10k_tm_cmd_utf_stop()