Home
last modified time | relevance | path

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

1234

/linux/drivers/nfc/nxp-nci/
A Dfirmware.c54 struct nxp_nci_fw_info *fw_info = &info->fw_info; in nxp_nci_fw_work_complete() local
90 struct nxp_nci_fw_info *fw_info = &info->fw_info; in nxp_nci_fw_send_chunk() local
130 struct nxp_nci_fw_info *fw_info = &info->fw_info; in nxp_nci_fw_send() local
143 if (fw_info->frame_size > fw_info->size) in nxp_nci_fw_send()
181 if (fw_info->written == fw_info->frame_size) { in nxp_nci_fw_work()
182 fw_info->data += fw_info->frame_size; in nxp_nci_fw_work()
183 fw_info->size -= fw_info->frame_size; in nxp_nci_fw_work()
199 struct nxp_nci_fw_info *fw_info = &info->fw_info; in nxp_nci_fw_download() local
229 fw_info->data = fw_info->fw->data; in nxp_nci_fw_download()
230 fw_info->size = fw_info->fw->size; in nxp_nci_fw_download()
[all …]
A Dcore.c109 INIT_WORK(&info->fw_info.work, nxp_nci_fw_work); in nxp_nci_probe()
110 init_completion(&info->fw_info.cmd_completion); in nxp_nci_probe()
145 cancel_work_sync(&info->fw_info.work); in nxp_nci_remove()
/linux/drivers/nfc/s3fwrn5/
A Dfirmware.c28 container_of(fw_info, struct s3fwrn5_info, fw_info); in s3fwrn5_fw_send_msg()
44 if (!fw_info->rsp) in s3fwrn5_fw_send_msg()
47 *rsp = fw_info->rsp; in s3fwrn5_fw_send_msg()
48 fw_info->rsp = NULL; in s3fwrn5_fw_send_msg()
60 fw_info->parity ^= 0x80; in s3fwrn5_fw_prep_msg()
383 fw_info->fw.custom_sig_size : fw_info->fw.sig_size; in s3fwrn5_fw_setup()
385 fw_info->fw.custom_sig : fw_info->fw.sig; in s3fwrn5_fw_setup()
441 SHA1_DIGEST_SIZE, fw_info->sig, fw_info->sig_size); in s3fwrn5_fw_download()
470 fw_info->rsp = NULL; in s3fwrn5_fw_init()
484 struct s3fwrn5_fw_info *fw_info = &info->fw_info; in s3fwrn5_fw_recv_frame() local
[all …]
A Dcore.c25 struct s3fwrn5_fw_info *fw_info = &info->fw_info; in s3fwrn5_firmware_init() local
28 s3fwrn5_fw_init(fw_info, "sec_s3fwrn5_firmware.bin"); in s3fwrn5_firmware_init()
31 ret = s3fwrn5_fw_request_firmware(fw_info); in s3fwrn5_firmware_init()
33 dev_err(&fw_info->ndev->nfc_dev->dev, in s3fwrn5_firmware_init()
48 ret = s3fwrn5_fw_setup(&info->fw_info); in s3fwrn5_firmware_update()
52 need_update = s3fwrn5_fw_check_version(&info->fw_info, in s3fwrn5_firmware_update()
59 ret = s3fwrn5_fw_download(&info->fw_info); in s3fwrn5_firmware_update()
73 s3fwrn5_fw_cleanup(&info->fw_info); in s3fwrn5_firmware_update()
186 info->fw_info.ndev = info->ndev; in s3fwrn5_probe()
A Dfirmware.h92 int s3fwrn5_fw_request_firmware(struct s3fwrn5_fw_info *fw_info);
93 void s3fwrn5_fw_init(struct s3fwrn5_fw_info *fw_info, const char *fw_name);
94 int s3fwrn5_fw_setup(struct s3fwrn5_fw_info *fw_info);
95 bool s3fwrn5_fw_check_version(const struct s3fwrn5_fw_info *fw_info, u32 version);
96 int s3fwrn5_fw_download(struct s3fwrn5_fw_info *fw_info);
97 void s3fwrn5_fw_cleanup(struct s3fwrn5_fw_info *fw_info);
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_kms.c1453 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show()
1461 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show()
1469 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show()
1477 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show()
1485 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show()
1493 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show()
1501 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show()
1509 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show()
1517 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show()
1525 fw_info.feature, fw_info.ver); in amdgpu_debugfs_firmware_info_show()
[all …]
/linux/drivers/scsi/qla4xxx/
A Dql4_attr.c160 ha->fw_info.fw_major, ha->fw_info.fw_minor, in qla4xxx_fw_version_show()
161 ha->fw_info.fw_patch, ha->fw_info.fw_build); in qla4xxx_fw_version_show()
164 ha->fw_info.fw_major, ha->fw_info.fw_minor, in qla4xxx_fw_version_show()
165 ha->fw_info.fw_patch, ha->fw_info.fw_build); in qla4xxx_fw_version_show()
181 return snprintf(buf, PAGE_SIZE, "%d.%02d\n", ha->fw_info.iscsi_major, in qla4xxx_iscsi_version_show()
182 ha->fw_info.iscsi_minor); in qla4xxx_iscsi_version_show()
191 ha->fw_info.bootload_major, ha->fw_info.bootload_minor, in qla4xxx_optrom_version_show()
192 ha->fw_info.bootload_patch, ha->fw_info.bootload_build); in qla4xxx_optrom_version_show()
265 ha->fw_info.fw_build_time); in qla4xxx_fw_timestamp_show()
273 return snprintf(buf, PAGE_SIZE, "%s\n", ha->fw_info.fw_build_user); in qla4xxx_fw_build_user_show()
[all …]
/linux/drivers/hid/intel-ish-hid/
A Dishtp-fw-loader.c151 struct shim_fw_info fw_info; member
471 struct shim_fw_info *fw_info) in ish_query_loader_prop() argument
502 *fw_info = ldr_xfer_query_resp.fw_info; in ish_query_loader_prop()
507 fw_info->ish_fw_version.major, in ish_query_loader_prop()
508 fw_info->ish_fw_version.minor, in ish_query_loader_prop()
509 fw_info->ish_fw_version.hotfix, in ish_query_loader_prop()
510 fw_info->ish_fw_version.build, in ish_query_loader_prop()
511 fw_info->protocol_version, in ish_query_loader_prop()
512 fw_info->ldr_version.value); in ish_query_loader_prop()
517 fw_info->ldr_capability.xfer_mode, in ish_query_loader_prop()
[all …]
/linux/drivers/net/ethernet/realtek/
A Dr8169_firmware.c32 struct fw_info { struct
45 struct fw_info *fw_info = (struct fw_info *)fw->data; in rtl_fw_format_ok() local
51 if (!fw_info->magic) { in rtl_fw_format_ok()
55 if (fw->size < sizeof(*fw_info)) in rtl_fw_format_ok()
63 start = le32_to_cpu(fw_info->fw_start); in rtl_fw_format_ok()
67 size = le32_to_cpu(fw_info->fw_len); in rtl_fw_format_ok()
71 strscpy(rtl_fw->version, fw_info->version, RTL_VER_SIZE); in rtl_fw_format_ok()
/linux/drivers/staging/greybus/
A Dfw-management.c105 struct fw_mgmt_ioc_get_intf_version *fw_info) in fw_mgmt_interface_fw_version_operation() argument
120 fw_info->major = le16_to_cpu(response.major); in fw_mgmt_interface_fw_version_operation()
121 fw_info->minor = le16_to_cpu(response.minor); in fw_mgmt_interface_fw_version_operation()
267 fw_info->firmware_tag, ret); in fw_mgmt_backend_fw_version_operation()
271 fw_info->status = response.status; in fw_mgmt_backend_fw_version_operation()
274 fw_info->major = 0; in fw_mgmt_backend_fw_version_operation()
275 fw_info->minor = 0; in fw_mgmt_backend_fw_version_operation()
277 switch (fw_info->status) { in fw_mgmt_backend_fw_version_operation()
279 fw_info->major = le16_to_cpu(response.major); in fw_mgmt_backend_fw_version_operation()
288 fw_info->firmware_tag); in fw_mgmt_backend_fw_version_operation()
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dppatomfwctrl.c519 struct atom_firmware_info_v3_2 *fw_info) in pp_atomfwctrl_copy_vbios_bootup_values_3_2() argument
523 boot_values->ulRevision = fw_info->firmware_revision; in pp_atomfwctrl_copy_vbios_bootup_values_3_2()
526 boot_values->usVddc = fw_info->bootup_vddc_mv; in pp_atomfwctrl_copy_vbios_bootup_values_3_2()
527 boot_values->usVddci = fw_info->bootup_vddci_mv; in pp_atomfwctrl_copy_vbios_bootup_values_3_2()
528 boot_values->usMvddc = fw_info->bootup_mvddc_mv; in pp_atomfwctrl_copy_vbios_bootup_values_3_2()
529 boot_values->usVddGfx = fw_info->bootup_vddgfx_mv; in pp_atomfwctrl_copy_vbios_bootup_values_3_2()
555 struct atom_firmware_info_v3_1 *fw_info) in pp_atomfwctrl_copy_vbios_bootup_values_3_1() argument
562 boot_values->usVddc = fw_info->bootup_vddc_mv; in pp_atomfwctrl_copy_vbios_bootup_values_3_1()
563 boot_values->usVddci = fw_info->bootup_vddci_mv; in pp_atomfwctrl_copy_vbios_bootup_values_3_1()
564 boot_values->usMvddc = fw_info->bootup_mvddc_mv; in pp_atomfwctrl_copy_vbios_bootup_values_3_1()
[all …]
A Dprocesspptables.c1115 const ATOM_FIRMWARE_INFO_V1_4 *fw_info) in init_overdrive_limits_V1_4() argument
1118 le32_to_cpu(fw_info->ulASICMaxEngineClock); in init_overdrive_limits_V1_4()
1121 le32_to_cpu(fw_info->ulASICMaxMemoryClock); in init_overdrive_limits_V1_4()
1127 le16_to_cpu(fw_info->usBootUpVDDCVoltage); in init_overdrive_limits_V1_4()
1130 le16_to_cpu(fw_info->usBootUpVDDCVoltage); in init_overdrive_limits_V1_4()
1138 const ATOM_FIRMWARE_INFO_V2_1 *fw_info) in init_overdrive_limits_V2_1() argument
1185 fw_info = smu_atom_get_data_table(hwmgr->adev, in init_overdrive_limits()
1189 if ((fw_info->ucTableFormatRevision == 1) in init_overdrive_limits()
1193 (const ATOM_FIRMWARE_INFO_V1_4 *)fw_info); in init_overdrive_limits()
1195 else if ((fw_info->ucTableFormatRevision == 2) in init_overdrive_limits()
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_dmc.c318 if ((fw_info->substepping == '*' && si->stepping == fw_info->stepping) || in fw_info_matches_stepping()
319 (si->stepping == fw_info->stepping && si->substepping == fw_info->substepping) || in fw_info_matches_stepping()
325 (si->stepping == '*' && si->substepping == fw_info->substepping) || in fw_info_matches_stepping()
326 (fw_info->stepping == '*' && fw_info->substepping == '*')) in fw_info_matches_stepping()
337 const struct intel_fw_info *fw_info, in dmc_set_fw_offset() argument
347 id = package_ver <= 1 ? DMC_FW_MAIN : fw_info[i].dmc_id; in dmc_set_fw_offset()
361 if (fw_info_matches_stepping(&fw_info[i], si)) { in dmc_set_fw_offset()
363 dmc->dmc_info[id].dmc_offset = fw_info[i].offset; in dmc_set_fw_offset()
480 const struct intel_fw_info *fw_info; in parse_dmc_fw_package() local
513 fw_info = (const struct intel_fw_info *) in parse_dmc_fw_package()
[all …]
/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cptpf_ucode.c409 if (!fw_info) in cpt_ucode_release_fw()
456 INIT_LIST_HEAD(&fw_info->ucodes); in cpt_ucode_load_fw()
470 print_uc_info(fw_info); in cpt_ucode_load_fw()
474 cpt_ucode_release_fw(fw_info); in cpt_ucode_load_fw()
1112 struct fw_info_t fw_info; in otx2_cpt_create_eng_grps() local
1122 ret = cpt_ucode_load_fw(pdev, &fw_info); in otx2_cpt_create_eng_grps()
1186 cpt_ucode_release_fw(&fw_info); in otx2_cpt_create_eng_grps()
1209 cpt_ucode_release_fw(&fw_info); in otx2_cpt_create_eng_grps()
1349 struct fw_info_t fw_info; in create_eng_caps_discovery_grps() local
1398 cpt_ucode_release_fw(&fw_info); in create_eng_caps_discovery_grps()
[all …]
/linux/drivers/scsi/snic/
A Dvnic_dev.c63 struct vnic_devcmd_fw_info *fw_info; member
465 struct vnic_devcmd_fw_info **fw_info) in svnic_dev_fw_info() argument
471 if (!vdev->fw_info) { in svnic_dev_fw_info()
472 vdev->fw_info = dma_alloc_coherent(&vdev->pdev->dev, in svnic_dev_fw_info()
475 if (!vdev->fw_info) in svnic_dev_fw_info()
484 *fw_info = vdev->fw_info; in svnic_dev_fw_info()
712 if (vdev->fw_info) in svnic_dev_unregister()
715 vdev->fw_info, vdev->fw_info_pa); in svnic_dev_unregister()
/linux/drivers/net/wireless/intersil/orinoco/
A Dfw.c20 struct fw_info { struct
28 static const struct fw_info orinoco_fw[] = { argument
98 const struct fw_info *fw, in orinoco_dl_firmware()
205 symbol_dl_image(struct orinoco_private *priv, const struct fw_info *fw, in symbol_dl_image()
288 const struct fw_info *fw) in symbol_dl_firmware()
/linux/sound/soc/intel/catpt/
A Dsysfs.c38 return sprintf(buf, "%s\n", cdev->ipc.config.fw_info); in fw_info_show()
40 static DEVICE_ATTR_RO(fw_info);
/linux/drivers/input/touchscreen/
A Dmelfas_mip4.c1159 const struct mip4_bin_tail *fw_info; in mip4_parse_firmware() local
1174 DUMP_PREFIX_OFFSET, 16, 1, *fw_info, tail_size, false); in mip4_parse_firmware()
1177 tail_size = get_unaligned_le16(&fw_info->tail_size); in mip4_parse_firmware()
1186 if (memcmp(fw_info->tail_mark, MIP4_BIN_TAIL_MARK, in mip4_parse_firmware()
1187 sizeof(fw_info->tail_mark))) { in mip4_parse_firmware()
1190 (int)sizeof(fw_info->tail_mark), fw_info->tail_mark, in mip4_parse_firmware()
1191 (int)sizeof(fw_info->tail_mark), MIP4_BIN_TAIL_MARK); in mip4_parse_firmware()
1195 *fw_offset_start = get_unaligned_le32(&fw_info->bin_start_addr); in mip4_parse_firmware()
1196 *fw_size = get_unaligned_le32(&fw_info->bin_length); in mip4_parse_firmware()
1248 const struct mip4_bin_tail *fw_info; in mip4_execute_fw_update() local
[all …]
/linux/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_83xx_init.c1354 struct qlc_83xx_fw_info *fw_info = adapter->ahw->fw_info; in qlcnic_83xx_copy_fw_file() local
1366 fw_info->fw = NULL; in qlcnic_83xx_copy_fw_file()
1408 fw_info->fw = NULL; in qlcnic_83xx_copy_fw_file()
2075 struct qlc_83xx_fw_info *fw_info = adapter->ahw->fw_info; in qlcnic_83xx_run_post() local
2098 ret = request_firmware(&fw_info->fw, fw_info->fw_file_name, dev); in qlcnic_83xx_run_post()
2171 struct qlc_83xx_fw_info *fw_info = adapter->ahw->fw_info; in qlcnic_83xx_load_fw_image_from_host() local
2174 if (request_firmware(&fw_info->fw, fw_info->fw_file_name, in qlcnic_83xx_load_fw_image_from_host()
2388 struct qlc_83xx_fw_info *fw_info; in qlcnic_83xx_get_fw_info() local
2391 ahw->fw_info = kzalloc(sizeof(*fw_info), GFP_KERNEL); in qlcnic_83xx_get_fw_info()
2392 if (!ahw->fw_info) { in qlcnic_83xx_get_fw_info()
[all …]
/linux/drivers/scsi/fnic/
A Dvnic_dev.c67 struct vnic_devcmd_fw_info *fw_info; member
539 struct vnic_devcmd_fw_info **fw_info) in vnic_dev_fw_info() argument
545 if (!vdev->fw_info) { in vnic_dev_fw_info()
546 vdev->fw_info = dma_alloc_coherent(&vdev->pdev->dev, in vnic_dev_fw_info()
549 if (!vdev->fw_info) in vnic_dev_fw_info()
558 *fw_info = vdev->fw_info; in vnic_dev_fw_info()
908 if (vdev->fw_info) in vnic_dev_unregister()
911 vdev->fw_info, vdev->fw_info_pa); in vnic_dev_unregister()
/linux/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_clock_source.c1378 struct dc_firmware_info *fw_info; in calc_pll_max_vco_construct() local
1387 fw_info = &init_data->bp->fw_info; in calc_pll_max_vco_construct()
1389 calc_pll_cs->ref_freq_khz = fw_info->pll_info.crystal_frequency; in calc_pll_max_vco_construct()
1391 fw_info->pll_info.min_output_pxl_clk_pll_frequency; in calc_pll_max_vco_construct()
1393 fw_info->pll_info.max_output_pxl_clk_pll_frequency; in calc_pll_max_vco_construct()
1400 fw_info->pll_info.max_input_pxl_clk_pll_frequency; in calc_pll_max_vco_construct()
1407 fw_info->pll_info.min_input_pxl_clk_pll_frequency; in calc_pll_max_vco_construct()
1476 clk_src->ext_clk_khz = clk_src->bios->fw_info.external_clock_source_frequency_for_dp; in dce110_clk_src_construct()
1516 clk_src->ref_freq_khz = clk_src->bios->fw_info.pll_info.crystal_frequency; in dce110_clk_src_construct()
1573 clk_src->ext_clk_khz = clk_src->bios->fw_info.external_clock_source_frequency_for_dp; in dce112_clk_src_construct()
/linux/drivers/net/can/usb/peak_usb/
A Dpcan_usb_fd.c52 struct pcan_ufd_fw_info fw_info; member
886 &pdev->usb_if->fw_info, in pcan_usb_fd_init()
887 sizeof(pdev->usb_if->fw_info)); in pcan_usb_fd_init()
901 dev->adapter->name, pdev->usb_if->fw_info.hw_version, in pcan_usb_fd_init()
902 pdev->usb_if->fw_info.fw_version[0], in pcan_usb_fd_init()
903 pdev->usb_if->fw_info.fw_version[1], in pcan_usb_fd_init()
904 pdev->usb_if->fw_info.fw_version[2], in pcan_usb_fd_init()
908 if (pdev->usb_if->fw_info.fw_version[0] >= 2) { in pcan_usb_fd_init()
940 le32_to_cpu(pdev->usb_if->fw_info.dev_id[dev->ctrl_idx]); in pcan_usb_fd_init()
/linux/drivers/mfd/
A Ddb8500-prcmu.c266 } fw_info; variable
572 return fw_info.valid ? &fw_info.version : NULL; in prcmu_get_fw_version()
2638 fw_info.version.project = (version & 0xFF); in dbx500_fw_version_init()
2642 strncpy(fw_info.version.project_name, in dbx500_fw_version_init()
2643 fw_project_name(fw_info.version.project), in dbx500_fw_version_init()
2645 fw_info.valid = true; in dbx500_fw_version_init()
2647 fw_info.version.project_name, in dbx500_fw_version_init()
2648 fw_info.version.project, in dbx500_fw_version_init()
2649 fw_info.version.api_version, in dbx500_fw_version_init()
2650 fw_info.version.func_version, in dbx500_fw_version_init()
[all …]
/linux/drivers/net/ethernet/cisco/enic/
A Denic_dev.c28 int enic_dev_fw_info(struct enic *enic, struct vnic_devcmd_fw_info **fw_info) in enic_dev_fw_info() argument
33 err = vnic_dev_fw_info(enic->vdev, fw_info); in enic_dev_fw_info()
/linux/drivers/gpu/drm/amd/display/dmub/src/
A Ddmub_srv.c318 const struct dmub_fw_meta_info *fw_info; in dmub_srv_calc_region_info() local
350 fw_info = dmub_get_fw_meta_info(params); in dmub_srv_calc_region_info()
352 if (fw_info) { in dmub_srv_calc_region_info()
353 fw_state_size = fw_info->fw_region_size; in dmub_srv_calc_region_info()
354 trace_buffer_size = fw_info->trace_buffer_size; in dmub_srv_calc_region_info()
364 dmub->fw_version = fw_info->fw_version; in dmub_srv_calc_region_info()

Completed in 72 milliseconds

1234