/kernel/linux/linux-5.10/drivers/nfc/nxp-nci/ |
D | firmware.c | 54 struct nxp_nci_fw_info *fw_info = &info->fw_info; in nxp_nci_fw_work_complete() local 65 if (fw_info->fw) { in nxp_nci_fw_work_complete() 66 release_firmware(fw_info->fw); in nxp_nci_fw_work_complete() 67 fw_info->fw = NULL; in nxp_nci_fw_work_complete() 70 nfc_fw_download_done(info->ndev->nfc_dev, fw_info->name, (u32) -result); in nxp_nci_fw_work_complete() 90 struct nxp_nci_fw_info *fw_info = &info->fw_info; in nxp_nci_fw_send_chunk() local 104 remaining_len = fw_info->frame_size - fw_info->written; in nxp_nci_fw_send_chunk() 116 skb_put_data(skb, fw_info->data + fw_info->written, chunk_len); in nxp_nci_fw_send_chunk() 133 struct nxp_nci_fw_info *fw_info = &info->fw_info; in nxp_nci_fw_send() local 137 reinit_completion(&fw_info->cmd_completion); in nxp_nci_fw_send() [all …]
|
D | core.c | 112 INIT_WORK(&info->fw_info.work, nxp_nci_fw_work); in nxp_nci_probe() 113 init_completion(&info->fw_info.cmd_completion); in nxp_nci_probe() 148 cancel_work_sync(&info->fw_info.work); in nxp_nci_remove()
|
/kernel/linux/linux-5.10/drivers/nfc/s3fwrn5/ |
D | firmware.c | 24 static int s3fwrn5_fw_send_msg(struct s3fwrn5_fw_info *fw_info, in s3fwrn5_fw_send_msg() argument 28 container_of(fw_info, struct s3fwrn5_info, fw_info); in s3fwrn5_fw_send_msg() 31 reinit_completion(&fw_info->completion); in s3fwrn5_fw_send_msg() 38 &fw_info->completion, msecs_to_jiffies(1000)); 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() 53 static int s3fwrn5_fw_prep_msg(struct s3fwrn5_fw_info *fw_info, in s3fwrn5_fw_prep_msg() argument 59 hdr.type = type | fw_info->parity; in s3fwrn5_fw_prep_msg() 60 fw_info->parity ^= 0x80; in s3fwrn5_fw_prep_msg() [all …]
|
D | firmware.h | 92 void s3fwrn5_fw_init(struct s3fwrn5_fw_info *fw_info, const char *fw_name); 93 int s3fwrn5_fw_setup(struct s3fwrn5_fw_info *fw_info); 94 bool s3fwrn5_fw_check_version(const struct s3fwrn5_fw_info *fw_info, u32 version); 95 int s3fwrn5_fw_download(struct s3fwrn5_fw_info *fw_info); 96 void s3fwrn5_fw_cleanup(struct s3fwrn5_fw_info *fw_info);
|
D | core.c | 28 s3fwrn5_fw_init(&info->fw_info, "sec_s3fwrn5_firmware.bin"); in s3fwrn5_firmware_update() 35 ret = s3fwrn5_fw_setup(&info->fw_info); in s3fwrn5_firmware_update() 39 need_update = s3fwrn5_fw_check_version(&info->fw_info, in s3fwrn5_firmware_update() 46 ret = s3fwrn5_fw_download(&info->fw_info); in s3fwrn5_firmware_update() 60 s3fwrn5_fw_cleanup(&info->fw_info); in s3fwrn5_firmware_update() 177 info->fw_info.ndev = info->ndev; in s3fwrn5_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_kms.c | 221 static int amdgpu_firmware_info(struct drm_amdgpu_info_firmware *fw_info, in amdgpu_firmware_info() argument 227 fw_info->ver = adev->vce.fw_version; in amdgpu_firmware_info() 228 fw_info->feature = adev->vce.fb_version; in amdgpu_firmware_info() 231 fw_info->ver = adev->uvd.fw_version; in amdgpu_firmware_info() 232 fw_info->feature = 0; in amdgpu_firmware_info() 235 fw_info->ver = adev->vcn.fw_version; in amdgpu_firmware_info() 236 fw_info->feature = 0; in amdgpu_firmware_info() 239 fw_info->ver = adev->gmc.fw_version; in amdgpu_firmware_info() 240 fw_info->feature = 0; in amdgpu_firmware_info() 243 fw_info->ver = adev->gfx.me_fw_version; in amdgpu_firmware_info() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/ |
D | ql4_attr.c | 160 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() 264 return snprintf(buf, PAGE_SIZE, "%s %s\n", ha->fw_info.fw_build_date, in qla4xxx_fw_timestamp_show() 265 ha->fw_info.fw_build_time); in qla4xxx_fw_timestamp_show() [all …]
|
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/ |
D | ishtp-fw-loader.c | 147 struct shim_fw_info fw_info; member 467 struct shim_fw_info *fw_info) in ish_query_loader_prop() argument 483 *fw_info = (struct shim_fw_info){}; in ish_query_loader_prop() 493 *fw_info = (struct shim_fw_info){}; in ish_query_loader_prop() 498 *fw_info = ldr_xfer_query_resp.fw_info; in ish_query_loader_prop() 503 fw_info->ish_fw_version.major, in ish_query_loader_prop() 504 fw_info->ish_fw_version.minor, in ish_query_loader_prop() 505 fw_info->ish_fw_version.hotfix, in ish_query_loader_prop() 506 fw_info->ish_fw_version.build, in ish_query_loader_prop() 507 fw_info->protocol_version, in ish_query_loader_prop() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/realtek/ |
D | r8169_firmware.c | 32 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()
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
D | fw-management.c | 105 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() 123 strncpy(fw_info->firmware_tag, response.firmware_tag, in fw_mgmt_interface_fw_version_operation() 130 if (fw_info->firmware_tag[GB_FIRMWARE_TAG_MAX_SIZE - 1] != '\0') { in fw_mgmt_interface_fw_version_operation() 133 fw_info->firmware_tag[GB_FIRMWARE_TAG_MAX_SIZE - 1] = '\0'; in fw_mgmt_interface_fw_version_operation() 243 struct fw_mgmt_ioc_get_backend_version *fw_info) in fw_mgmt_backend_fw_version_operation() argument 250 strncpy(request.firmware_tag, fw_info->firmware_tag, in fw_mgmt_backend_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() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
D | intel_csr.c | 342 static u32 find_dmc_fw_offset(const struct intel_fw_info *fw_info, in find_dmc_fw_offset() argument 351 if (package_ver > 1 && fw_info[i].dmc_id != 0) in find_dmc_fw_offset() 354 if (fw_info[i].substepping == '*' && in find_dmc_fw_offset() 355 si->stepping == fw_info[i].stepping) { in find_dmc_fw_offset() 356 dmc_offset = fw_info[i].offset; in find_dmc_fw_offset() 360 if (si->stepping == fw_info[i].stepping && in find_dmc_fw_offset() 361 si->substepping == fw_info[i].substepping) { in find_dmc_fw_offset() 362 dmc_offset = fw_info[i].offset; in find_dmc_fw_offset() 366 if (fw_info[i].stepping == '*' && in find_dmc_fw_offset() 367 fw_info[i].substepping == '*') { in find_dmc_fw_offset() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | ppatomfwctrl.c | 519 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() 524 boot_values->ulGfxClk = fw_info->bootup_sclk_in10khz; in pp_atomfwctrl_copy_vbios_bootup_values_3_2() 525 boot_values->ulUClk = fw_info->bootup_mclk_in10khz; 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() 530 boot_values->ucCoolingID = fw_info->coolingsolution_id; 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 [all …]
|
D | processpptables.c | 1119 const ATOM_FIRMWARE_INFO_V1_4 *fw_info) in init_overdrive_limits_V1_4() argument 1122 le32_to_cpu(fw_info->ulASICMaxEngineClock); in init_overdrive_limits_V1_4() 1125 le32_to_cpu(fw_info->ulASICMaxMemoryClock); in init_overdrive_limits_V1_4() 1128 le32_to_cpu(fw_info->ul3DAccelerationEngineClock) & 0x7FF; in init_overdrive_limits_V1_4() 1131 le16_to_cpu(fw_info->usBootUpVDDCVoltage); in init_overdrive_limits_V1_4() 1134 le16_to_cpu(fw_info->usBootUpVDDCVoltage); in init_overdrive_limits_V1_4() 1142 const ATOM_FIRMWARE_INFO_V2_1 *fw_info) in init_overdrive_limits_V2_1() argument 1177 const ATOM_COMMON_TABLE_HEADER *fw_info = NULL; in init_overdrive_limits() local 1189 fw_info = smu_atom_get_data_table(hwmgr->adev, in init_overdrive_limits() 1193 if ((fw_info->ucTableFormatRevision == 1) in init_overdrive_limits() [all …]
|
D | ppatomctrl.c | 483 ATOM_FIRMWARE_INFO *fw_info; in atomctrl_get_reference_clock() local 488 fw_info = (ATOM_FIRMWARE_INFO *) in atomctrl_get_reference_clock() 493 if (fw_info == NULL) in atomctrl_get_reference_clock() 496 clock = (uint32_t)(le16_to_cpu(fw_info->usReferenceClock)); in atomctrl_get_reference_clock() 1166 ATOM_COMMON_TABLE_HEADER *fw_info; in atomctrl_get_mpll_reference_clock() local 1171 fw_info = (ATOM_COMMON_TABLE_HEADER *) in atomctrl_get_mpll_reference_clock() 1176 if (fw_info == NULL) in atomctrl_get_mpll_reference_clock() 1179 if ((fw_info->ucTableFormatRevision == 2) && in atomctrl_get_mpll_reference_clock() 1180 (le16_to_cpu(fw_info->usStructureSize) >= sizeof(ATOM_FIRMWARE_INFO_V2_1))) { in atomctrl_get_mpll_reference_clock() 1182 (ATOM_FIRMWARE_INFO_V2_1 *)fw_info; in atomctrl_get_mpll_reference_clock() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
D | vnic_dev.c | 63 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
D | fw.c | 20 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()
|
/kernel/linux/linux-5.10/sound/soc/intel/catpt/ |
D | sysfs.c | 38 return sprintf(buf, "%s\n", cdev->ipc.config.fw_info); in fw_info_show() 40 static DEVICE_ATTR_RO(fw_info);
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | melfas_mip4.c | 1159 const struct mip4_bin_tail *fw_info; in mip4_parse_firmware() local 1170 fw_info = (const void *)&fw->data[fw->size - MIP4_BIN_TAIL_SIZE]; in mip4_parse_firmware() 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() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
D | vnic_dev.c | 67 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_83xx_init.c | 1354 struct qlc_83xx_fw_info *fw_info = adapter->ahw->fw_info; in qlcnic_83xx_copy_fw_file() local 1355 const struct firmware *fw = fw_info->fw; in qlcnic_83xx_copy_fw_file() 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 2095 strncpy(fw_info->fw_file_name, QLC_83XX_POST_FW_FILE_NAME, in qlcnic_83xx_run_post() 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 [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clock_source.c | 1341 struct dc_firmware_info *fw_info; in calc_pll_max_vco_construct() local 1350 fw_info = &init_data->bp->fw_info; in calc_pll_max_vco_construct() 1352 calc_pll_cs->ref_freq_khz = fw_info->pll_info.crystal_frequency; in calc_pll_max_vco_construct() 1354 fw_info->pll_info.min_output_pxl_clk_pll_frequency; in calc_pll_max_vco_construct() 1356 fw_info->pll_info.max_output_pxl_clk_pll_frequency; in calc_pll_max_vco_construct() 1363 fw_info->pll_info.max_input_pxl_clk_pll_frequency; in calc_pll_max_vco_construct() 1370 fw_info->pll_info.min_input_pxl_clk_pll_frequency; in calc_pll_max_vco_construct() 1439 clk_src->ext_clk_khz = clk_src->bios->fw_info.external_clock_source_frequency_for_dp; in dce110_clk_src_construct() 1479 clk_src->ref_freq_khz = clk_src->bios->fw_info.pll_info.crystal_frequency; in dce110_clk_src_construct() 1536 clk_src->ext_clk_khz = clk_src->bios->fw_info.external_clock_source_frequency_for_dp; in dce112_clk_src_construct()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dmub/src/ |
D | dmub_srv.c | 249 const struct dmub_fw_meta_info *fw_info; in dmub_srv_calc_region_info() local 281 fw_info = dmub_get_fw_meta_info(params); in dmub_srv_calc_region_info() 283 if (fw_info) { in dmub_srv_calc_region_info() 284 fw_state_size = fw_info->fw_region_size; in dmub_srv_calc_region_info() 285 trace_buffer_size = fw_info->trace_buffer_size; in dmub_srv_calc_region_info() 295 dmub->fw_version = fw_info->fw_version; in dmub_srv_calc_region_info()
|
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_fd.c | 54 struct pcan_ufd_fw_info fw_info; member 879 &pdev->usb_if->fw_info, in pcan_usb_fd_init() 880 sizeof(pdev->usb_if->fw_info)); in pcan_usb_fd_init() 894 dev->adapter->name, pdev->usb_if->fw_info.hw_version, in pcan_usb_fd_init() 895 pdev->usb_if->fw_info.fw_version[0], in pcan_usb_fd_init() 896 pdev->usb_if->fw_info.fw_version[1], in pcan_usb_fd_init() 897 pdev->usb_if->fw_info.fw_version[2], in pcan_usb_fd_init() 901 if (pdev->usb_if->fw_info.fw_version[0] >= 2) { in pcan_usb_fd_init() 933 le32_to_cpu(pdev->usb_if->fw_info.dev_id[dev->ctrl_idx]); in pcan_usb_fd_init()
|
/kernel/linux/linux-5.10/drivers/mfd/ |
D | db8500-prcmu.c | 267 } fw_info; variable 573 return fw_info.valid ? &fw_info.version : NULL; in prcmu_get_fw_version() 1646 if (fw_info.version.project == PRCMU_FW_PROJECT_U8520) { in round_armss_rate() 1805 if (fw_info.version.project == PRCMU_FW_PROJECT_U8520) { in set_armss_rate() 2637 fw_info.version.project = (version & 0xFF); in dbx500_fw_version_init() 2638 fw_info.version.api_version = (version >> 8) & 0xFF; in dbx500_fw_version_init() 2639 fw_info.version.func_version = (version >> 16) & 0xFF; in dbx500_fw_version_init() 2640 fw_info.version.errata = (version >> 24) & 0xFF; in dbx500_fw_version_init() 2641 strncpy(fw_info.version.project_name, in dbx500_fw_version_init() 2642 fw_project_name(fw_info.version.project), in dbx500_fw_version_init() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
D | enic_dev.c | 28 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()
|