Home
last modified time | relevance | path

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

12345678910>>...15

/linux/net/wireless/
A Dethtool.c20 if (wdev->wiphy->fw_version[0]) in cfg80211_get_drvinfo()
21 strlcpy(info->fw_version, wdev->wiphy->fw_version, in cfg80211_get_drvinfo()
22 sizeof(info->fw_version)); in cfg80211_get_drvinfo()
24 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in cfg80211_get_drvinfo()
/linux/sound/soc/intel/atom/sst/
A Dsst_ipc.c230 if (memcmp(&sst_drv_ctx->fw_version, &init->fw_version, in process_fw_init()
231 sizeof(init->fw_version))) in process_fw_init()
233 init->fw_version.type, init->fw_version.major, in process_fw_init()
234 init->fw_version.minor, init->fw_version.build); in process_fw_init()
239 sst_drv_ctx->fw_version.type = init->fw_version.type; in process_fw_init()
240 sst_drv_ctx->fw_version.major = init->fw_version.major; in process_fw_init()
241 sst_drv_ctx->fw_version.minor = init->fw_version.minor; in process_fw_init()
242 sst_drv_ctx->fw_version.build = init->fw_version.build; in process_fw_init()
A Dsst.c243 if (ctx->fw_version.type == 0 && ctx->fw_version.major == 0 && in firmware_version_show()
244 ctx->fw_version.minor == 0 && ctx->fw_version.build == 0) in firmware_version_show()
248 ctx->fw_version.type, ctx->fw_version.major, in firmware_version_show()
249 ctx->fw_version.minor, ctx->fw_version.build); in firmware_version_show()
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_cgs.c163 uint16_t fw_version = 0; in amdgpu_get_firmware_version() local
167 fw_version = adev->sdma.instance[0].fw_version; in amdgpu_get_firmware_version()
170 fw_version = adev->sdma.instance[1].fw_version; in amdgpu_get_firmware_version()
173 fw_version = adev->gfx.ce_fw_version; in amdgpu_get_firmware_version()
176 fw_version = adev->gfx.pfp_fw_version; in amdgpu_get_firmware_version()
179 fw_version = adev->gfx.me_fw_version; in amdgpu_get_firmware_version()
182 fw_version = adev->gfx.mec_fw_version; in amdgpu_get_firmware_version()
185 fw_version = adev->gfx.mec_fw_version; in amdgpu_get_firmware_version()
188 fw_version = adev->gfx.mec_fw_version; in amdgpu_get_firmware_version()
199 return fw_version; in amdgpu_get_firmware_version()
[all …]
A Damdgpu_ucode.c260 le32_to_cpu(psp_hdr->sos.fw_version)); in amdgpu_ucode_print_psp_hdr()
269 le32_to_cpu(psp_hdr_v1_1->toc.fw_version)); in amdgpu_ucode_print_psp_hdr()
275 le32_to_cpu(psp_hdr_v1_1->kdb.fw_version)); in amdgpu_ucode_print_psp_hdr()
285 le32_to_cpu(psp_hdr_v1_2->kdb.fw_version)); in amdgpu_ucode_print_psp_hdr()
297 le32_to_cpu(psp_hdr_v1_3->v1_1.toc.fw_version)); in amdgpu_ucode_print_psp_hdr()
303 le32_to_cpu(psp_hdr_v1_3->v1_1.kdb.fw_version)); in amdgpu_ucode_print_psp_hdr()
309 le32_to_cpu(psp_hdr_v1_3->spl.fw_version)); in amdgpu_ucode_print_psp_hdr()
516 FW_VERSION_ATTR(vce_fw_version, 0444, vce.fw_version);
517 FW_VERSION_ATTR(uvd_fw_version, 0444, uvd.fw_version);
518 FW_VERSION_ATTR(mc_fw_version, 0444, gmc.fw_version);
[all …]
A Damdgpu_psp.c2878 psp->sos.fw_version = le32_to_cpu(desc->fw_version); in parse_sos_bin_descriptor()
2884 psp->sys.fw_version = le32_to_cpu(desc->fw_version); in parse_sos_bin_descriptor()
2890 psp->kdb.fw_version = le32_to_cpu(desc->fw_version); in parse_sos_bin_descriptor()
2896 psp->toc.fw_version = le32_to_cpu(desc->fw_version); in parse_sos_bin_descriptor()
2902 psp->spl.fw_version = le32_to_cpu(desc->fw_version); in parse_sos_bin_descriptor()
2908 psp->rl.fw_version = le32_to_cpu(desc->fw_version); in parse_sos_bin_descriptor()
2914 psp->soc_drv.fw_version = le32_to_cpu(desc->fw_version); in parse_sos_bin_descriptor()
2920 psp->intf_drv.fw_version = le32_to_cpu(desc->fw_version); in parse_sos_bin_descriptor()
2926 psp->dbg_drv.fw_version = le32_to_cpu(desc->fw_version); in parse_sos_bin_descriptor()
2965 adev->psp.sos.fw_version = le32_to_cpu(sos_hdr_v1_3->sos_aux.fw_version); in psp_init_sos_base_fw()
[all …]
A Dpsp_v10_0.c87 adev->psp.hdcp_context.context.bin_desc.fw_version = in psp_v10_0_init_microcode()
88 le32_to_cpu(ta_hdr->hdcp.fw_version); in psp_v10_0_init_microcode()
95 adev->psp.dtm_context.context.bin_desc.fw_version = in psp_v10_0_init_microcode()
96 le32_to_cpu(ta_hdr->dtm.fw_version); in psp_v10_0_init_microcode()
103 adev->psp.securedisplay_context.context.bin_desc.fw_version = in psp_v10_0_init_microcode()
104 le32_to_cpu(ta_hdr->securedisplay.fw_version); in psp_v10_0_init_microcode()
A Damdgpu_virt.c522 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_VCE, adev->vce.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info()
523 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_UVD, adev->uvd.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info()
524 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_MC, adev->gmc.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info()
534 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_SOS, adev->psp.sos.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info()
536 adev->psp.asd_context.bin_desc.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info()
538 adev->psp.ras_context.context.bin_desc.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info()
540 adev->psp.xgmi_context.context.bin_desc.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info()
541 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_SMC, adev->pm.fw_version); in amdgpu_virt_populate_vf2pf_ucode_info()
542 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_SDMA, adev->sdma.instance[0].fw_version); in amdgpu_virt_populate_vf2pf_ucode_info()
543 POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_SDMA2, adev->sdma.instance[1].fw_version); in amdgpu_virt_populate_vf2pf_ucode_info()
[all …]
A Dpsp_v11_0.c154 adev->psp.xgmi_context.context.bin_desc.fw_version = in psp_v11_0_init_microcode()
155 le32_to_cpu(ta_hdr->xgmi.fw_version); in psp_v11_0_init_microcode()
162 adev->psp.ras_context.context.bin_desc.fw_version = in psp_v11_0_init_microcode()
163 le32_to_cpu(ta_hdr->ras.fw_version); in psp_v11_0_init_microcode()
195 adev->psp.hdcp_context.context.bin_desc.fw_version = in psp_v11_0_init_microcode()
196 le32_to_cpu(ta_hdr->hdcp.fw_version); in psp_v11_0_init_microcode()
206 adev->psp.dtm_context.context.bin_desc.fw_version = in psp_v11_0_init_microcode()
207 le32_to_cpu(ta_hdr->dtm.fw_version); in psp_v11_0_init_microcode()
A Damdgpu_kms.c289 fw_info->ver = adev->vce.fw_version; in amdgpu_firmware_info()
293 fw_info->ver = adev->uvd.fw_version; in amdgpu_firmware_info()
297 fw_info->ver = adev->vcn.fw_version; in amdgpu_firmware_info()
301 fw_info->ver = adev->gmc.fw_version; in amdgpu_firmware_info()
343 fw_info->ver = adev->pm.fw_version; in amdgpu_firmware_info()
386 fw_info->ver = adev->sdma.instance[query_fw->index].fw_version; in amdgpu_firmware_info()
390 fw_info->ver = adev->psp.sos.fw_version; in amdgpu_firmware_info()
394 fw_info->ver = adev->psp.asd_context.bin_desc.fw_version; in amdgpu_firmware_info()
406 fw_info->ver = adev->psp.toc.fw_version; in amdgpu_firmware_info()
842 if (adev->vce.fw_version && in amdgpu_info_ioctl()
[all …]
/linux/drivers/input/touchscreen/
A Dmelfas_mip4.c233 memset(&ts->fw_version, 0xff, sizeof(ts->fw_version)); in mip4_get_fw_version()
310 ts->fw_version.boot, ts->fw_version.core, in mip4_query_device()
311 ts->fw_version.app, ts->fw_version.param); in mip4_query_device()
1220 fw_version.boot, fw_version.core, in mip4_parse_firmware()
1221 fw_version.app, fw_version.param); in mip4_parse_firmware()
1224 ts->fw_version.boot, ts->fw_version.core, in mip4_parse_firmware()
1225 ts->fw_version.app, ts->fw_version.param); in mip4_parse_firmware()
1228 if (fw_version.boot != 0xEEEE && fw_version.boot != 0xFFFF && in mip4_parse_firmware()
1235 fw_version.app != 0xEEEE && fw_version.app != 0xFFFF && in mip4_parse_firmware()
1340 ts->fw_version.boot, ts->fw_version.core, in mip4_sysfs_read_fw_version()
[all …]
A Dwacom_i2c.c39 char fw_version; member
88 features->fw_version = get_unaligned_le16(&data[13]); in wacom_query_device()
93 features->pressure_max, features->fw_version); in wacom_query_device()
190 input->id.version = features.fw_version; in wacom_i2c_probe()
/linux/drivers/mfd/
A Dqcom_rpm.c535 u32 fw_version[3]; in qcom_rpm_probe() local
614 fw_version[0] = readl(RPM_STATUS_REG(rpm, 0)); in qcom_rpm_probe()
617 if (fw_version[0] != rpm->data->version) { in qcom_rpm_probe()
620 fw_version[0], in qcom_rpm_probe()
621 fw_version[1], in qcom_rpm_probe()
622 fw_version[2], in qcom_rpm_probe()
627 writel(fw_version[0], RPM_CTRL_REG(rpm, 0)); in qcom_rpm_probe()
628 writel(fw_version[1], RPM_CTRL_REG(rpm, 1)); in qcom_rpm_probe()
629 writel(fw_version[2], RPM_CTRL_REG(rpm, 2)); in qcom_rpm_probe()
632 fw_version[1], in qcom_rpm_probe()
[all …]
/linux/drivers/gpu/drm/bridge/
A Dcros-ec-anx7688.c102 u16 vendor, device, fw_version; in cros_ec_anx7688_bridge_probe() local
143 fw_version = (u16)buffer[0] << 8 | buffer[1]; in cros_ec_anx7688_bridge_probe()
144 dev_info(dev, "ANX7688 firmware version 0x%04x\n", fw_version); in cros_ec_anx7688_bridge_probe()
149 if (fw_version >= ANX7688_MINIMUM_FW_VERSION) in cros_ec_anx7688_bridge_probe()
154 fw_version); in cros_ec_anx7688_bridge_probe()
/linux/drivers/input/mouse/
A Delantech.h127 #define ETP_NEW_IC_SMBUS_HOST_NOTIFY(fw_version) \ argument
128 ((((fw_version) & 0x0f2000) == 0x0f2000) && \
129 ((fw_version) & 0x0000ff) > 0)
145 unsigned int fw_version; member
A Delantech.c313 return info->fw_version & 0x001000; in elantech_is_buttonpad()
327 if (etd->info.fw_version < 0x020000) { in elantech_report_absolute_v1()
372 if (etd->info.fw_version < 0x020000 && in elantech_report_absolute_v1()
1191 if (info->fw_version < 0x020000 && in elantech_set_input_params()
1617 if (info->fw_version < 0x020030 || info->fw_version == 0x020600) in elantech_set_properties()
1654 (info->fw_version == 0x020022 || info->fw_version == 0x020600); in elantech_set_properties()
1660 if (info->fw_version >= 0x020800) in elantech_set_properties()
1793 if (info->fw_version == 0x020800 || in elantech_query_info()
1794 info->fw_version == 0x020b00 || in elantech_query_info()
1821 } else if (info->fw_version == 0x040219 || info->fw_version == 0x040215) { in elantech_query_info()
[all …]
/linux/drivers/bluetooth/
A Dath3k.c360 struct ath3k_version fw_version; in ath3k_load_patch() local
375 ret = ath3k_get_version(udev, &fw_version); in ath3k_load_patch()
382 le32_to_cpu(fw_version.rom_version)); in ath3k_load_patch()
395 if (pt_rom_version != le32_to_cpu(fw_version.rom_version) || in ath3k_load_patch()
396 pt_build_version <= le32_to_cpu(fw_version.build_version)) { in ath3k_load_patch()
413 struct ath3k_version fw_version; in ath3k_load_syscfg() local
422 ret = ath3k_get_version(udev, &fw_version); in ath3k_load_syscfg()
428 switch (fw_version.ref_clock) { in ath3k_load_syscfg()
445 le32_to_cpu(fw_version.rom_version), clk_value, ".dfu"); in ath3k_load_syscfg()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3vf/
A Dhclgevf_devlink.c23 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclgevf_devlink_info_get()
25 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclgevf_devlink_info_get()
27 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclgevf_devlink_info_get()
29 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclgevf_devlink_info_get()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
A Dhclge_devlink.c23 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK, in hclge_devlink_info_get()
25 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK, in hclge_devlink_info_get()
27 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK, in hclge_devlink_info_get()
29 hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK, in hclge_devlink_info_get()
/linux/drivers/net/ethernet/intel/igb/
A De1000_nvm.c689 u16 eeprom_verh, eeprom_verl, etrack_test, fw_version; in igb_get_fw_version() local
710 hw->nvm.ops.read(hw, NVM_VERSION, 1, &fw_version); in igb_get_fw_version()
711 fw_vers->eep_major = (fw_version & NVM_MAJOR_MASK) in igb_get_fw_version()
713 fw_vers->eep_minor = (fw_version & NVM_MINOR_MASK) in igb_get_fw_version()
715 fw_vers->eep_build = (fw_version & NVM_IMAGE_ID_MASK); in igb_get_fw_version()
755 hw->nvm.ops.read(hw, NVM_VERSION, 1, &fw_version); in igb_get_fw_version()
756 fw_vers->eep_major = (fw_version & NVM_MAJOR_MASK) in igb_get_fw_version()
760 if ((fw_version & NVM_NEW_DEC_MASK) == 0x0) { in igb_get_fw_version()
761 eeprom_verl = (fw_version & NVM_COMB_VER_MASK); in igb_get_fw_version()
763 eeprom_verl = (fw_version & NVM_MINOR_MASK) in igb_get_fw_version()
/linux/drivers/media/usb/dvb-usb/
A Ddib0700_core.c133 if (st->fw_version >= 0x10201) { in dib0700_set_usb_xfer_len()
512 u32 fw_version; in dib0700_download_firmware() local
567 if (fw_version >= 0x10201) { in dib0700_download_firmware()
588 if ((onoff != 0) && (st->fw_version >= 0x10201)) { in dib0700_streaming_ctrl()
663 if (st->fw_version < 0x10200) { in dib0700_change_protocol()
818 if (st->fw_version < 0x10200 || !intf) in dib0700_rc_setup()
888 u32 hwversion, romversion, fw_version, fwtype; in dib0700_probe() local
891 &fw_version, &fwtype); in dib0700_probe()
894 hwversion, romversion, fw_version, fwtype); in dib0700_probe()
896 st->fw_version = fw_version; in dib0700_probe()
[all …]
/linux/drivers/net/ethernet/pensando/ionic/
A Dionic_main.c500 if (isprint(idev->dev_info.fw_version[0]) && in ionic_identify()
501 isascii(idev->dev_info.fw_version[0])) in ionic_identify()
503 (int)(sizeof(idev->dev_info.fw_version) - 1), in ionic_identify()
504 idev->dev_info.fw_version); in ionic_identify()
507 (u8)idev->dev_info.fw_version[0], in ionic_identify()
508 (u8)idev->dev_info.fw_version[1], in ionic_identify()
509 (u8)idev->dev_info.fw_version[2], in ionic_identify()
510 (u8)idev->dev_info.fw_version[3]); in ionic_identify()
/linux/drivers/net/ethernet/freescale/dpaa2/
A Ddpaa2-switch-ethtool.c47 strscpy(drvinfo->fw_version, "N/A", in dpaa2_switch_get_drvinfo()
48 sizeof(drvinfo->fw_version)); in dpaa2_switch_get_drvinfo()
50 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in dpaa2_switch_get_drvinfo()
/linux/drivers/hwmon/pmbus/
A Dinspur-ipsps.c35 fw_version, enumerator
46 [fw_version] = IPSPS_REG_FW_VERSION,
162 static SENSOR_DEVICE_ATTR_RO(fw_version, ipsps_fw_version, fw_version);
/linux/drivers/gpu/drm/radeon/
A Dradeon_vce.c58 static const char *fw_version = "[ATI LIB=VCEFW,"; in radeon_vce_init() local
96 size = rdev->vce_fw->size - strlen(fw_version) - 9; in radeon_vce_init()
99 if (strncmp(c, fw_version, strlen(fw_version)) == 0) in radeon_vce_init()
105 c += strlen(fw_version); in radeon_vce_init()
127 rdev->vce.fw_version = (start << 24) | (mid << 16) | (end << 8); in radeon_vce_init()
130 if ((rdev->vce.fw_version != ((40 << 24) | (2 << 16) | (2 << 8))) && in radeon_vce_init()
131 (rdev->vce.fw_version != ((50 << 24) | (0 << 16) | (1 << 8))) && in radeon_vce_init()
132 (rdev->vce.fw_version != ((50 << 24) | (1 << 16) | (2 << 8)))) in radeon_vce_init()

Completed in 51 milliseconds

12345678910>>...15