Home
last modified time | relevance | path

Searched refs:fw_file (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dtestmode.c130 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()
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()
139 ath10k_tm_fetch_utf_firmware_api_1(struct ath10k *ar, struct ath10k_fw_file *fw_file) ath10k_tm_fetch_utf_firmware_api_1() argument
[all...]
H A Dswap.c125 const struct ath10k_fw_file *fw_file) in ath10k_swap_code_seg_configure()
130 if (!fw_file->firmware_swap_code_seg_info) in ath10k_swap_code_seg_configure()
135 seg_info = fw_file->firmware_swap_code_seg_info; in ath10k_swap_code_seg_configure()
150 struct ath10k_fw_file *fw_file) in ath10k_swap_code_seg_release()
152 ath10k_swap_code_seg_free(ar, fw_file->firmware_swap_code_seg_info); in ath10k_swap_code_seg_release()
157 fw_file->codeswap_data = NULL; in ath10k_swap_code_seg_release()
158 fw_file->codeswap_len = 0; in ath10k_swap_code_seg_release()
160 fw_file->firmware_swap_code_seg_info = NULL; in ath10k_swap_code_seg_release()
163 int ath10k_swap_code_seg_init(struct ath10k *ar, struct ath10k_fw_file *fw_file) in ath10k_swap_code_seg_init() argument
170 codeswap_data = fw_file in ath10k_swap_code_seg_init()
124 ath10k_swap_code_seg_configure(struct ath10k *ar, const struct ath10k_fw_file *fw_file) ath10k_swap_code_seg_configure() argument
149 ath10k_swap_code_seg_release(struct ath10k *ar, struct ath10k_fw_file *fw_file) ath10k_swap_code_seg_release() argument
[all...]
H A Dcore.c696 if (test_bit(i, ar->normal_mode_fw.fw_file.fw_features)) { in ath10k_core_get_fw_features_str()
910 if (!ar->normal_mode_fw.fw_file.otp_data || in ath10k_core_get_board_id_from_otp()
911 !ar->normal_mode_fw.fw_file.otp_len) { in ath10k_core_get_board_id_from_otp()
926 address, ar->normal_mode_fw.fw_file.otp_len); in ath10k_core_get_board_id_from_otp()
929 ar->normal_mode_fw.fw_file.otp_data, in ath10k_core_get_board_id_from_otp()
930 ar->normal_mode_fw.fw_file.otp_len); in ath10k_core_get_board_id_from_otp()
1074 data = ar->running_fw->fw_file.firmware_data; in ath10k_download_fw()
1075 data_len = ar->running_fw->fw_file.firmware_len; in ath10k_download_fw()
1077 ret = ath10k_swap_code_seg_configure(ar, &ar->running_fw->fw_file); in ath10k_download_fw()
1133 if (!IS_ERR(ar->normal_mode_fw.fw_file in ath10k_core_free_firmware_files()
1835 ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name, struct ath10k_fw_file *fw_file) ath10k_core_fetch_firmware_api_n() argument
2376 struct ath10k_fw_file *fw_file = &ar->normal_mode_fw.fw_file; ath10k_core_init_firmware_features() local
2604 struct ath10k_fw_file *fw_file = &ar->normal_mode_fw.fw_file; ath10k_core_compat_services() local
[all...]
H A Dswap.h53 const struct ath10k_fw_file *fw_file);
55 struct ath10k_fw_file *fw_file);
57 struct ath10k_fw_file *fw_file);
H A Ddebug.c60 firmware = ar->normal_mode_fw.fw_file.firmware; in ath10k_debug_print_hwfw_info()
100 ar->normal_mode_fw.fw_file.wmi_op_version, in ath10k_debug_print_boot_info()
101 ar->normal_mode_fw.fw_file.htt_op_version, in ath10k_debug_print_boot_info()
1729 ar->normal_mode_fw.fw_file.fw_features)) { in ath10k_debug_start()
1747 ar->normal_mode_fw.fw_file.fw_features)) in ath10k_debug_stop()
1999 ar->running_fw->fw_file.fw_features)) { in ath10k_write_btcoex()
2186 crc32_le(0, ar->normal_mode_fw.fw_file.firmware->data, in ath10k_debug_fw_checksums_read()
2187 ar->normal_mode_fw.fw_file.firmware->size)); in ath10k_debug_fw_checksums_read()
2190 crc32_le(0, ar->normal_mode_fw.fw_file.firmware_data, in ath10k_debug_fw_checksums_read()
2191 ar->normal_mode_fw.fw_file in ath10k_debug_fw_checksums_read()
[all...]
H A Dwow.c506 ar->running_fw->fw_file.fw_features))) { in ath10k_wow_op_suspend()
558 ar->running_fw->fw_file.fw_features)) { in ath10k_wow_op_set_wakeup()
572 ar->running_fw->fw_file.fw_features))) { in ath10k_wow_op_resume()
617 ar->running_fw->fw_file.fw_features)) in ath10k_wow_init()
H A Dhtt.c190 switch (ar->running_fw->fw_file.htt_op_version) { in ath10k_htt_init()
H A Dcore.h963 struct ath10k_fw_file fw_file; member
1309 struct ath10k_fw_file *fw_file);
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dtestmode.c130 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()
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()
139 ath10k_tm_fetch_utf_firmware_api_1(struct ath10k *ar, struct ath10k_fw_file *fw_file) ath10k_tm_fetch_utf_firmware_api_1() argument
[all...]
H A Dswap.c125 const struct ath10k_fw_file *fw_file) in ath10k_swap_code_seg_configure()
130 if (!fw_file->firmware_swap_code_seg_info) in ath10k_swap_code_seg_configure()
135 seg_info = fw_file->firmware_swap_code_seg_info; in ath10k_swap_code_seg_configure()
150 struct ath10k_fw_file *fw_file) in ath10k_swap_code_seg_release()
152 ath10k_swap_code_seg_free(ar, fw_file->firmware_swap_code_seg_info); in ath10k_swap_code_seg_release()
157 fw_file->codeswap_data = NULL; in ath10k_swap_code_seg_release()
158 fw_file->codeswap_len = 0; in ath10k_swap_code_seg_release()
160 fw_file->firmware_swap_code_seg_info = NULL; in ath10k_swap_code_seg_release()
163 int ath10k_swap_code_seg_init(struct ath10k *ar, struct ath10k_fw_file *fw_file) in ath10k_swap_code_seg_init() argument
170 codeswap_data = fw_file in ath10k_swap_code_seg_init()
124 ath10k_swap_code_seg_configure(struct ath10k *ar, const struct ath10k_fw_file *fw_file) ath10k_swap_code_seg_configure() argument
149 ath10k_swap_code_seg_release(struct ath10k *ar, struct ath10k_fw_file *fw_file) ath10k_swap_code_seg_release() argument
[all...]
H A Dcore.c781 if (test_bit(i, ar->normal_mode_fw.fw_file.fw_features)) { in ath10k_core_get_fw_features_str()
995 if (!ar->normal_mode_fw.fw_file.otp_data || in ath10k_core_get_board_id_from_otp()
996 !ar->normal_mode_fw.fw_file.otp_len) { in ath10k_core_get_board_id_from_otp()
1011 address, ar->normal_mode_fw.fw_file.otp_len); in ath10k_core_get_board_id_from_otp()
1014 ar->normal_mode_fw.fw_file.otp_data, in ath10k_core_get_board_id_from_otp()
1015 ar->normal_mode_fw.fw_file.otp_len); in ath10k_core_get_board_id_from_otp()
1160 data = ar->running_fw->fw_file.firmware_data; in ath10k_download_fw()
1161 data_len = ar->running_fw->fw_file.firmware_len; in ath10k_download_fw()
1163 ret = ath10k_swap_code_seg_configure(ar, &ar->running_fw->fw_file); in ath10k_download_fw()
1219 if (!IS_ERR(ar->normal_mode_fw.fw_file in ath10k_core_free_firmware_files()
1987 ath10k_core_fetch_firmware_api_n(struct ath10k *ar, const char *name, struct ath10k_fw_file *fw_file) ath10k_core_fetch_firmware_api_n() argument
2588 struct ath10k_fw_file *fw_file = &ar->normal_mode_fw.fw_file; ath10k_core_init_firmware_features() local
2816 struct ath10k_fw_file *fw_file = &ar->normal_mode_fw.fw_file; ath10k_core_compat_services() local
[all...]
H A Dswap.h53 const struct ath10k_fw_file *fw_file);
55 struct ath10k_fw_file *fw_file);
57 struct ath10k_fw_file *fw_file);
H A Ddebug.c61 firmware = ar->normal_mode_fw.fw_file.firmware; in ath10k_debug_print_hwfw_info()
101 ar->normal_mode_fw.fw_file.wmi_op_version, in ath10k_debug_print_boot_info()
102 ar->normal_mode_fw.fw_file.htt_op_version, in ath10k_debug_print_boot_info()
1730 ar->normal_mode_fw.fw_file.fw_features)) { in ath10k_debug_start()
1748 ar->normal_mode_fw.fw_file.fw_features)) in ath10k_debug_stop()
2000 ar->running_fw->fw_file.fw_features)) { in ath10k_write_btcoex()
2187 crc32_le(0, ar->normal_mode_fw.fw_file.firmware->data, in ath10k_debug_fw_checksums_read()
2188 ar->normal_mode_fw.fw_file.firmware->size)); in ath10k_debug_fw_checksums_read()
2191 crc32_le(0, ar->normal_mode_fw.fw_file.firmware_data, in ath10k_debug_fw_checksums_read()
2192 ar->normal_mode_fw.fw_file in ath10k_debug_fw_checksums_read()
[all...]
H A Dwow.c506 ar->running_fw->fw_file.fw_features))) { in ath10k_wow_op_suspend()
558 ar->running_fw->fw_file.fw_features)) { in ath10k_wow_op_set_wakeup()
572 ar->running_fw->fw_file.fw_features))) { in ath10k_wow_op_resume()
617 ar->running_fw->fw_file.fw_features)) in ath10k_wow_init()
/kernel/linux/linux-5.10/drivers/staging/gs_fpgaboot/
H A Dgs_fpgaboot.c185 static int gs_load_image(struct fpgaimage *fimage, char *fw_file) in gs_load_image() argument
189 pr_info("load fpgaimage %s\n", fw_file); in gs_load_image()
191 err = request_firmware(&fimage->fw_entry, fw_file, &firmware_pdev->dev); in gs_load_image()
193 pr_err("firmware %s is missing, cannot continue.\n", fw_file); in gs_load_image()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
H A Diqs5xx.c10 * nonvolatile memory by writing the filename to the 'fw_file' sysfs control.
755 const char *fw_file, u8 *pmap) in iqs5xx_fw_file_parse()
776 error = request_firmware(&fw, fw_file, &client->dev); in iqs5xx_fw_file_parse()
779 fw_file, error); in iqs5xx_fw_file_parse()
884 static int iqs5xx_fw_file_write(struct i2c_client *client, const char *fw_file) in iqs5xx_fw_file_write() argument
897 error = iqs5xx_fw_file_parse(client, fw_file, pmap); in iqs5xx_fw_file_write()
962 char fw_file[IQS5XX_FW_FILE_LEN + 1]; in fw_file_store() local
974 memcpy(fw_file, buf, len); in fw_file_store()
975 fw_file[len] = '\0'; in fw_file_store()
977 error = iqs5xx_fw_file_write(client, fw_file); in fw_file_store()
754 iqs5xx_fw_file_parse(struct i2c_client *client, const char *fw_file, u8 *pmap) iqs5xx_fw_file_parse() argument
[all...]
H A Draydium_i2c_ts.c784 char *fw_file; in raydium_i2c_fw_update() local
787 fw_file = kasprintf(GFP_KERNEL, "raydium_%#04x.fw", in raydium_i2c_fw_update()
789 if (!fw_file) in raydium_i2c_fw_update()
792 dev_dbg(&client->dev, "firmware name: %s\n", fw_file); in raydium_i2c_fw_update()
794 error = request_firmware(&fw, fw_file, &client->dev); in raydium_i2c_fw_update()
796 dev_err(&client->dev, "Unable to open firmware %s\n", fw_file); in raydium_i2c_fw_update()
827 kfree(fw_file); in raydium_i2c_fw_update()
/kernel/linux/linux-6.6/drivers/input/touchscreen/
H A Diqs5xx.c9 * nonvolatile memory by writing the filename to the 'fw_file' sysfs control.
703 const char *fw_file, u8 *pmap) in iqs5xx_fw_file_parse()
724 error = request_firmware(&fw, fw_file, &client->dev); in iqs5xx_fw_file_parse()
727 fw_file, error); in iqs5xx_fw_file_parse()
832 static int iqs5xx_fw_file_write(struct i2c_client *client, const char *fw_file) in iqs5xx_fw_file_write() argument
842 error = iqs5xx_fw_file_parse(client, fw_file, pmap); in iqs5xx_fw_file_write()
902 char fw_file[IQS5XX_FW_FILE_LEN + 1]; in fw_file_store() local
914 memcpy(fw_file, buf, len); in fw_file_store()
915 fw_file[len] = '\0'; in fw_file_store()
917 error = iqs5xx_fw_file_write(client, fw_file); in fw_file_store()
702 iqs5xx_fw_file_parse(struct i2c_client *client, const char *fw_file, u8 *pmap) iqs5xx_fw_file_parse() argument
[all...]
H A Draydium_i2c_ts.c819 char *fw_file; in raydium_i2c_fw_update() local
822 fw_file = kasprintf(GFP_KERNEL, "raydium_%#04x.fw", in raydium_i2c_fw_update()
824 if (!fw_file) in raydium_i2c_fw_update()
827 dev_dbg(&client->dev, "firmware name: %s\n", fw_file); in raydium_i2c_fw_update()
829 error = request_firmware(&fw, fw_file, &client->dev); in raydium_i2c_fw_update()
831 dev_err(&client->dev, "Unable to open firmware %s\n", fw_file); in raydium_i2c_fw_update()
862 kfree(fw_file); in raydium_i2c_fw_update()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
H A Dsi2165.c369 u8 *fw_file; in si2165_upload_firmware() local
379 fw_file = SI2165_FIRMWARE_REV_D; in si2165_upload_firmware()
388 ret = request_firmware(&fw, fw_file, &state->client->dev); in si2165_upload_firmware()
391 fw_file); in si2165_upload_firmware()
399 fw_file, len); in si2165_upload_firmware()
H A Dtda10071.c759 u8 *fw_file = TDA10071_FIRMWARE; in tda10071_init() local
840 ret = request_firmware(&fw, fw_file, &client->dev); in tda10071_init()
844 fw_file, ret); in tda10071_init()
877 fw_file); in tda10071_init()
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
H A Dsi2165.c369 u8 *fw_file; in si2165_upload_firmware() local
379 fw_file = SI2165_FIRMWARE_REV_D; in si2165_upload_firmware()
388 ret = request_firmware(&fw, fw_file, &state->client->dev); in si2165_upload_firmware()
391 fw_file); in si2165_upload_firmware()
399 fw_file, len); in si2165_upload_firmware()
H A Dtda10071.c759 u8 *fw_file = TDA10071_FIRMWARE; in tda10071_init() local
840 ret = request_firmware(&fw, fw_file, &client->dev); in tda10071_init()
844 fw_file, ret); in tda10071_init()
877 fw_file); in tda10071_init()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dni_pcidio.c846 static const char *const fw_file[3] = { in pci_6534_upload_firmware() local
860 fw_file[n], in pci_6534_upload_firmware()
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Dni_pcidio.c845 static const char *const fw_file[3] = { in pci_6534_upload_firmware() local
859 fw_file[n], in pci_6534_upload_firmware()

Completed in 33 milliseconds

12