Lines Matching refs:utf_mode_fw
175 struct ath10k_fw_components *utf_mode_fw; in ath10k_tm_fetch_firmware() local
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()
209 utf_mode_fw = &ar->testmode.utf_mode_fw; in ath10k_tm_fetch_firmware()
214 utf_mode_fw->board_data = ar->normal_mode_fw.board_data; in ath10k_tm_fetch_firmware()
215 utf_mode_fw->board_len = ar->normal_mode_fw.board_len; 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()
285 &ar->testmode.utf_mode_fw); 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()