Home
last modified time | relevance | path

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

/openbmc/linux/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() 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()
[all …]
H A Dswap.c125 const struct ath10k_fw_file *fw_file) in ath10k_swap_code_seg_configure() argument
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() argument
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->codeswap_data; in ath10k_swap_code_seg_init()
[all …]
H A Dcore.c785 if (test_bit(i, ar->normal_mode_fw.fw_file.fw_features)) { in ath10k_core_get_fw_features_str()
999 if (!ar->normal_mode_fw.fw_file.otp_data || in ath10k_core_get_board_id_from_otp()
1000 !ar->normal_mode_fw.fw_file.otp_len) { in ath10k_core_get_board_id_from_otp()
1015 address, ar->normal_mode_fw.fw_file.otp_len); in ath10k_core_get_board_id_from_otp()
1018 ar->normal_mode_fw.fw_file.otp_data, in ath10k_core_get_board_id_from_otp()
1019 ar->normal_mode_fw.fw_file.otp_len); in ath10k_core_get_board_id_from_otp()
1164 data = ar->running_fw->fw_file.firmware_data; in ath10k_download_fw()
1165 data_len = ar->running_fw->fw_file.firmware_len; in ath10k_download_fw()
1167 ret = ath10k_swap_code_seg_configure(ar, &ar->running_fw->fw_file); in ath10k_download_fw()
1223 if (!IS_ERR(ar->normal_mode_fw.fw_file.firmware)) in ath10k_core_free_firmware_files()
[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 Dwow.c507 ar->running_fw->fw_file.fw_features))) { in ath10k_wow_op_suspend()
559 ar->running_fw->fw_file.fw_features)) { in ath10k_wow_op_set_wakeup()
573 ar->running_fw->fw_file.fw_features))) { in ath10k_wow_op_resume()
618 ar->running_fw->fw_file.fw_features)) in ath10k_wow_init()
H A Ddebug.c62 firmware = ar->normal_mode_fw.fw_file.firmware; in ath10k_debug_print_hwfw_info()
102 ar->normal_mode_fw.fw_file.wmi_op_version, in ath10k_debug_print_boot_info()
103 ar->normal_mode_fw.fw_file.htt_op_version, in ath10k_debug_print_boot_info()
1731 ar->normal_mode_fw.fw_file.fw_features)) { in ath10k_debug_start()
1749 ar->normal_mode_fw.fw_file.fw_features)) in ath10k_debug_stop()
2001 ar->running_fw->fw_file.fw_features)) { in ath10k_write_btcoex()
2188 crc32_le(0, ar->normal_mode_fw.fw_file.firmware->data, in ath10k_debug_fw_checksums_read()
2189 ar->normal_mode_fw.fw_file.firmware->size)); in ath10k_debug_fw_checksums_read()
2192 crc32_le(0, ar->normal_mode_fw.fw_file.firmware_data, in ath10k_debug_fw_checksums_read()
2193 ar->normal_mode_fw.fw_file.firmware_len)); in ath10k_debug_fw_checksums_read()
[all …]
H A Dcore.h981 struct ath10k_fw_file fw_file; member
1335 struct ath10k_fw_file *fw_file);
H A Dhtt_tx.c378 ar->running_fw->fw_file.fw_features)) in ath10k_htt_tx_free_txq()
394 ar->running_fw->fw_file.fw_features)) in ath10k_htt_tx_alloc_txq()
707 ar->running_fw->fw_file.fw_features)) in ath10k_htt_send_frag_desc_bank_cfg_32()
769 ar->running_fw->fw_file.fw_features)) in ath10k_htt_send_frag_desc_bank_cfg_64()
H A Dhtt.c343 switch (ar->running_fw->fw_file.htt_op_version) { in ath10k_htt_init()
H A Dmac.c1252 ar->running_fw->fw_file.fw_features) && in ath10k_mac_monitor_vdev_is_needed()
1944 ar->running_fw->fw_file.fw_features)) { in ath10k_mac_vif_setup_ps()
2235 ar->running_fw->fw_file.fw_features)) { in ath10k_peer_assoc_h_crypto()
3752 ar->running_fw->fw_file.fw_features)) in ath10k_mac_tx_h_get_txmode()
3953 ar->running_fw->fw_file.htt_op_version == ATH10K_FW_HTT_OP_VERSION_TLV); in ath10k_mac_tx_frm_has_freq()
3983 ar->running_fw->fw_file.fw_features) || in ath10k_mac_tx_h_get_txpath()
4230 ar->running_fw->fw_file.fw_features)) { in ath10k_mgmt_over_wmi_tx_work()
5284 ar->running_fw->fw_file.fw_features)) { in ath10k_start()
5320 ar->running_fw->fw_file.fw_features) && in ath10k_start()
8430 ar->normal_mode_fw.fw_file.fw_features); in ath10k_mac_op_set_bitrate_mask()
[all …]
H A Dwmi.c2316 ar->running_fw->fw_file.fw_features)) { in ath10k_wmi_op_pull_mgmt_rx_ev()
2832 ar->running_fw->fw_file.fw_features)) in ath10k_wmi_event_chan_info()
5606 ar->running_fw->fw_file.fw_features)) in ath10k_wmi_event_service_ready_work()
9461 switch (ar->running_fw->fw_file.wmi_op_version) { in ath10k_wmi_attach()
9514 ar->running_fw->fw_file.wmi_op_version); in ath10k_wmi_attach()
9528 ar->running_fw->fw_file.fw_features)) { in ath10k_wmi_attach()
9572 ar->running_fw->fw_file.fw_features)) { in ath10k_wmi_detach()
H A Dhtt_rx.c1412 ar->running_fw->fw_file.fw_features)) in ath10k_htt_rx_nwifi_hdrlen()
H A Dwmi-tlv.c1024 ar->running_fw->fw_file.fw_features)) in ath10k_wmi_tlv_op_pull_ch_info_ev()
/openbmc/u-boot/drivers/misc/
H A Dqfw.c37 struct fw_file *file; in bios_linker_allocate()
98 struct fw_file *dest, *src; in bios_linker_add_pointer()
131 struct fw_file *file; in bios_linker_add_checksum()
152 struct fw_file *file; in write_acpi_tables()
227 struct fw_file *file; in acpi_get_rsdp_addr()
303 struct fw_file *file; in qemu_fwcfg_read_firmware_list()
331 file = list_entry(entry, struct fw_file, list); in qemu_fwcfg_read_firmware_list()
338 struct fw_file *qemu_fwcfg_find_file(const char *name) in qemu_fwcfg_find_file()
341 struct fw_file *file; in qemu_fwcfg_find_file()
344 file = list_entry(entry, struct fw_file, list); in qemu_fwcfg_find_file()
[all …]
/openbmc/u-boot/include/
H A Dqfw.h78 struct fw_file { struct
158 struct fw_file *qemu_fwcfg_find_file(const char *name);
168 struct fw_file *qemu_fwcfg_file_iter_init(struct fw_cfg_file_iter *iter);
169 struct fw_file *qemu_fwcfg_file_iter_next(struct fw_cfg_file_iter *iter);
/openbmc/linux/drivers/input/touchscreen/
H A Diqs5xx.c703 const char *fw_file, u8 *pmap) in iqs5xx_fw_file_parse() argument
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()
954 static DEVICE_ATTR_WO(fw_file);
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()
/openbmc/qemu/hw/core/
H A Dloader.c964 char *fw_file; member
998 g_free(rom->fw_file); in rom_free()
1094 rom->fw_file = g_strdup(file); in rom_add_file()
1100 if (rom->fw_file && fw_cfg) { in rom_add_file()
1105 basename = strrchr(rom->fw_file, '/'); in rom_add_file()
1109 basename = rom->fw_file; in rom_add_file()
1225 if (rom->fw_file) { in rom_reset()
1322 if (rom->fw_file) { in rom_check_and_register_reset()
1402 if (rom->fw_file) { in find_rom()
1462 if (rom->mr || rom->fw_file) { in rom_find_largest_gap_between()
[all …]
/openbmc/linux/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()
/openbmc/u-boot/cmd/
H A Dqfw.c78 struct fw_file *file; in qemu_fwcfg_list_firmware()
/openbmc/linux/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()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c4939 int be_load_fw(struct be_adapter *adapter, u8 *fw_file) in be_load_fw() argument
4950 status = request_firmware(&fw, fw_file, &adapter->pdev->dev); in be_load_fw()
4954 dev_info(&adapter->pdev->dev, "Flashing firmware file %s\n", fw_file); in be_load_fw()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmcu.c2340 const char *fw_file, enum mt7996_ram_type ram_type) in __mt7996_load_ram() argument
2346 ret = request_firmware(&fw, fw_file, dev->mt76.dev); in __mt7996_load_ram()
/openbmc/linux/drivers/net/wireless/atmel/
H A Datmel.c87 const char *fw_file; member
3914 snprintf(priv->firmware_id, 32, "%s%s.%s", fw_table[fw_index].fw_file, in reset_atmel_card()