Symbol: fw_version
drivers/accel/amdxdna/amdxdna_sysfs.c
40
static DEVICE_ATTR_RO(fw_version);
drivers/accel/habanalabs/common/firmware_if.c
2308
const char *fw_version)
drivers/accel/habanalabs/common/firmware_if.c
2317
strscpy(prop->uboot_ver, fw_version, VERSION_MAX_LEN);
drivers/accel/habanalabs/common/firmware_if.c
2326
strscpy(prop->preboot_ver, fw_version, VERSION_MAX_LEN);
drivers/acpi/pfr_update.c
165
cap_hdr->fw_version =
drivers/bluetooth/ath3k.c
357
struct ath3k_version fw_version;
drivers/bluetooth/ath3k.c
372
ret = ath3k_get_version(udev, &fw_version);
drivers/bluetooth/ath3k.c
379
le32_to_cpu(fw_version.rom_version));
drivers/bluetooth/ath3k.c
392
if (pt_rom_version != le32_to_cpu(fw_version.rom_version) ||
drivers/bluetooth/ath3k.c
393
pt_build_version <= le32_to_cpu(fw_version.build_version)) {
drivers/bluetooth/ath3k.c
410
struct ath3k_version fw_version;
drivers/bluetooth/ath3k.c
419
ret = ath3k_get_version(udev, &fw_version);
drivers/bluetooth/ath3k.c
425
switch (fw_version.ref_clock) {
drivers/bluetooth/ath3k.c
441
le32_to_cpu(fw_version.rom_version), clk_value, ".dfu");
drivers/bluetooth/btmtk.c
1283
u32 fw_version = 0, fw_flavor = 0;
drivers/bluetooth/btmtk.c
1300
err = btmtk_usb_id_get(hdev, 0x80021004, &fw_version);
drivers/bluetooth/btmtk.c
1315
err = btmtk_register_coredump(hdev, btmtk_data->drv_name, fw_version);
drivers/bluetooth/btmtk.c
1330
fw_version, fw_flavor);
drivers/bluetooth/btmtk.c
378
u32 fw_version)
drivers/bluetooth/btmtk.c
385
data->cd_info.fw_version = fw_version;
drivers/bluetooth/btmtk.c
81
data->cd_info.fw_version);
drivers/bluetooth/btmtk.h
156
u32 fw_version;
drivers/bluetooth/btmtk.h
198
u32 fw_version);
drivers/bluetooth/btmtk.h
245
const char *name, u32 fw_version)
drivers/bluetooth/btmtksdio.c
1087
u32 fw_version = 0, val;
drivers/bluetooth/btmtksdio.c
1119
err = btmtksdio_mtk_reg_read(hdev, 0x80021004, &fw_version);
drivers/bluetooth/btmtksdio.c
1126
fw_version, 0);
drivers/bluetooth/btmtksdio.c
1130
dev_id & 0xffff, (fw_version & 0xff) + 1);
drivers/bluetooth/btrtl.c
568
rtl_dev_dbg(hdev, "FW version %08x-%08x", *((u32 *)hdr->fw_version),
drivers/bluetooth/btrtl.c
569
*((u32 *)(hdr->fw_version + 4)));
drivers/bluetooth/btrtl.c
765
le32_to_cpu(epatch_info->fw_version), num_patches);
drivers/bluetooth/btrtl.c
766
coredump_info->rtl_dump.fw_version = le32_to_cpu(epatch_info->fw_version);
drivers/bluetooth/btrtl.c
813
memcpy(buf + patch_length - 4, &epatch_info->fw_version, 4);
drivers/bluetooth/btrtl.c
981
coredump_info->rtl_dump.fw_version);
drivers/bluetooth/btrtl.h
115
u32 fw_version;
drivers/bluetooth/btrtl.h
39
__le32 fw_version;
drivers/bluetooth/btrtl.h
57
__u8 fw_version[8];
drivers/bluetooth/btusb.c
3070
btdata->qca_dump.fw_version);
drivers/bluetooth/btusb.c
3649
btdata->qca_dump.fw_version = le32_to_cpu(ver.patch_version);
drivers/bluetooth/btusb.c
887
u32 fw_version;
drivers/bluetooth/hci_qca.c
1022
qca->fw_version);
drivers/bluetooth/hci_qca.c
171
u16 fw_version;
drivers/bluetooth/hci_qca.c
2077
qca->fw_version = le16_to_cpu(ver.patch_ver);
drivers/clk/ux500/u8500_of_clk.c
127
struct prcmu_fw_version *fw_version;
drivers/clk/ux500/u8500_of_clk.c
185
fw_version = prcmu_get_fw_version();
drivers/clk/ux500/u8500_of_clk.c
186
if (fw_version != NULL) {
drivers/clk/ux500/u8500_of_clk.c
187
switch (fw_version->project) {
drivers/firmware/cirrus/test/cs_dsp_mock_bin.c
205
unsigned int fw_version)
drivers/firmware/cirrus/test/cs_dsp_mock_bin.c
211
KUNIT_ASSERT_LE(priv->test, fw_version, 0xffffff);
drivers/firmware/cirrus/test/cs_dsp_mock_bin.c
225
hdr->ver = cpu_to_le32(fw_version | (format_version << 24));
drivers/firmware/efi/esrt.c
127
esre_attr_decl(fw_version, 32, "%u");
drivers/firmware/efi/esrt.c
34
u32 fw_version;
drivers/firmware/efi/ovmf-debug-log.c
24
u8 fw_version[128];
drivers/firmware/efi/ovmf-debug-log.c
86
pr_info("OVMF debug log: firmware version: \"%s\"\n", hdr->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
469
return adev->sdma.instance[0].fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c
472
return adev->sdma.instance[1].fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
163
uint16_t fw_version = 0;
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
167
fw_version = adev->sdma.instance[0].fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
170
fw_version = adev->sdma.instance[1].fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
173
fw_version = adev->gfx.ce_fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
176
fw_version = adev->gfx.pfp_fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
179
fw_version = adev->gfx.me_fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
182
fw_version = adev->gfx.mec_fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
185
fw_version = adev->gfx.mec_fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
188
fw_version = adev->gfx.mec_fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
191
fw_version = adev->gfx.rlc_fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
199
return fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
241
info->fw_version = amdgpu_get_firmware_version(cgs_device, type);
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
378
adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
384
info->version = adev->pm.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
122
adev->psp.sos.feature_version, adev->psp.sos.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
125
adev->psp.asd_context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
129
adev->psp.xgmi_context.context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
132
adev->psp.ras_context.context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
135
adev->psp.hdcp_context.context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
138
adev->psp.dtm_context.context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
141
adev->psp.rap_context.context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
145
adev->psp.securedisplay_context.context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
148
version = adev->pm.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
163
adev->sdma.instance[i].fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
167
adev->vcn.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
173
adev->psp.toc.feature_version, adev->psp.toc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
188
adev->vpe.feature_version, adev->vpe.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
82
adev->vce.fb_version, adev->vce.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
84
adev->uvd.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c
86
adev->gmc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
280
uint32_t fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1002
if (adev->vce.fw_version &&
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
1003
adev->vce.fw_version < AMDGPU_VCE_FW_53_45)
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
221
fw_info->ver = adev->vce.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
225
fw_info->ver = adev->uvd.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
229
fw_info->ver = adev->vcn.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
233
fw_info->ver = adev->gmc.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
283
fw_info->ver = adev->pm.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
289
fw_info->ver = adev->psp.xgmi_context.context.bin_desc.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
294
fw_info->ver = adev->psp.ras_context.context.bin_desc.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
299
fw_info->ver = adev->psp.hdcp_context.context.bin_desc.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
304
fw_info->ver = adev->psp.dtm_context.context.bin_desc.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
309
fw_info->ver = adev->psp.rap_context.context.bin_desc.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
314
fw_info->ver = adev->psp.securedisplay_context.context.bin_desc.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
326
fw_info->ver = adev->sdma.instance[query_fw->index].fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
330
fw_info->ver = adev->psp.sos.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
334
fw_info->ver = adev->psp.asd_context.bin_desc.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
346
fw_info->ver = adev->psp.toc.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c
368
fw_info->ver = adev->vpe.fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
716
adev->mes.fw_version[pipe] =
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h
86
uint32_t fw_version[AMDGPU_MAX_MES_PIPES];
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
1054
if (adev->psp.sos.fw_version < 0x3b0e0d)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
1059
if (adev->psp.sos.fw_version < 0x3a0e14)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
1522
psp->xgmi_context.context.bin_desc.fw_version >= 0x2000000b) ||
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
2959
if (psp->sos.fw_version < supp_vers)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3505
adev->psp.asd_context.bin_desc.fw_version = le32_to_cpu(asd_hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3506
adev->psp.asd_context.bin_desc.feature_version = le32_to_cpu(asd_hdr->sos.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3528
adev->psp.toc.fw_version = le32_to_cpu(toc_hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3529
adev->psp.toc.feature_version = le32_to_cpu(toc_hdr->sos.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3554
psp->sos.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3555
psp->sos.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3560
psp->sys.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3561
psp->sys.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3566
psp->kdb.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3567
psp->kdb.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3572
psp->toc.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3573
psp->toc.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3578
psp->spl.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3579
psp->spl.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3584
psp->rl.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3585
psp->rl.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3590
psp->soc_drv.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3591
psp->soc_drv.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3596
psp->intf_drv.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3597
psp->intf_drv.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3602
psp->dbg_drv.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3603
psp->dbg_drv.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3608
psp->ras_drv.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3609
psp->ras_drv.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3614
psp->ipkeymgr_drv.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3615
psp->ipkeymgr_drv.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3620
psp->spdm_drv.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3621
psp->spdm_drv.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3645
adev->psp.sos.fw_version = le32_to_cpu(sos_hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3646
adev->psp.sos.feature_version = le32_to_cpu(sos_hdr->sos.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3658
adev->psp.sos.fw_version = le32_to_cpu(sos_hdr_v1_3->sos_aux.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3659
adev->psp.sos.feature_version = le32_to_cpu(sos_hdr_v1_3->sos_aux.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3793
uint32_t fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3803
fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3806
(fw_version & 0xff) >= 0x14)
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3837
psp->asd_context.bin_desc.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3838
psp->asd_context.bin_desc.feature_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3844
psp->xgmi_context.context.bin_desc.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3849
psp->ras_context.context.bin_desc.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3854
psp->hdcp_context.context.bin_desc.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3859
psp->dtm_context.context.bin_desc.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3864
psp->rap_context.context.bin_desc.fw_version = le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3869
psp->securedisplay_context.context.bin_desc.fw_version =
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3870
le32_to_cpu(desc->fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3894
adev->psp.xgmi_context.context.bin_desc.fw_version =
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3895
le32_to_cpu(ta_hdr->xgmi.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3902
adev->psp.ras_context.context.bin_desc.fw_version =
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3903
le32_to_cpu(ta_hdr->ras.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3910
adev->psp.hdcp_context.context.bin_desc.fw_version =
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3911
le32_to_cpu(ta_hdr->hdcp.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3918
adev->psp.dtm_context.context.bin_desc.fw_version =
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3919
le32_to_cpu(ta_hdr->dtm.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3926
adev->psp.securedisplay_context.context.bin_desc.fw_version =
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
3927
le32_to_cpu(ta_hdr->securedisplay.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
4033
adev->psp.cap_feature_version = le32_to_cpu(cap_hdr_v1_0->sos.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
201
uint32_t fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_psp_ta.c
211
context->bin_desc.fw_version = get_bin_version(ta_bin);
drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
4884
adev->pm.fw_version <= 0x283400) {
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
165
sdma_inst->fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
170
sdma_inst->fw_version = le32_to_cpu(hdr_v2->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.c
175
sdma_inst->fw_version = le32_to_cpu(hdr_v3->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_sdma.h
67
uint32_t fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
382
le32_to_cpu(psp_hdr->sos.fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
391
le32_to_cpu(psp_hdr_v1_1->toc.fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
397
le32_to_cpu(psp_hdr_v1_1->kdb.fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
407
le32_to_cpu(psp_hdr_v1_2->kdb.fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
419
le32_to_cpu(psp_hdr_v1_3->v1_1.toc.fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
425
le32_to_cpu(psp_hdr_v1_3->v1_1.kdb.fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
431
le32_to_cpu(psp_hdr_v1_3->spl.fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
445
le32_to_cpu(desc->fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
451
le32_to_cpu(desc->fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
457
le32_to_cpu(desc->fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
463
le32_to_cpu(desc->fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
469
le32_to_cpu(desc->fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
475
le32_to_cpu(desc->fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
481
le32_to_cpu(desc->fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
487
le32_to_cpu(desc->fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
493
le32_to_cpu(desc->fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
499
le32_to_cpu(desc->fw_version));
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
755
static inline int amdgpu_ucode_is_valid(uint32_t fw_version)
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
757
if (!fw_version)
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
777
FW_VERSION_ATTR(vce_fw_version, 0444, vce.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
778
FW_VERSION_ATTR(uvd_fw_version, 0444, uvd.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
779
FW_VERSION_ATTR(mc_fw_version, 0444, gmc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
790
FW_VERSION_ATTR(sos_fw_version, 0444, psp.sos.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
791
FW_VERSION_ATTR(asd_fw_version, 0444, psp.asd_context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
792
FW_VERSION_ATTR(ta_ras_fw_version, 0444, psp.ras_context.context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
793
FW_VERSION_ATTR(ta_xgmi_fw_version, 0444, psp.xgmi_context.context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
794
FW_VERSION_ATTR(smc_fw_version, 0444, pm.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
795
FW_VERSION_ATTR(sdma_fw_version, 0444, sdma.instance[0].fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
796
FW_VERSION_ATTR(sdma2_fw_version, 0444, sdma.instance[1].fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
797
FW_VERSION_ATTR(vcn_fw_version, 0444, vcn.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
113
uint32_t fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
77
uint32_t fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_umsch_mm.h
142
uint32_t fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
295
adev->uvd.fw_version = ((version_major << 24) | (version_minor << 16) |
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
300
(adev->uvd.fw_version < FW_1_66_16))
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
314
adev->uvd.fw_version = le32_to_cpu(hdr->ucode_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
352
adev->uvd.use_ctx_buf = adev->uvd.fw_version >= FW_1_65_10;
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
355
adev->uvd.use_ctx_buf = adev->uvd.fw_version >= FW_1_87_11;
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
358
adev->uvd.use_ctx_buf = adev->uvd.fw_version >= FW_1_87_12;
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
361
adev->uvd.use_ctx_buf = adev->uvd.fw_version >= FW_1_37_15;
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.h
56
unsigned fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
194
adev->vce.fw_version = ((version_major << 24) | (version_minor << 16) |
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
516
if ((ring->adev->vce.fw_version >> 24) >= 52)
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c
531
if ((ring->adev->vce.fw_version >> 24) >= 52) {
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.h
40
unsigned fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
171
adev->vcn.inst[i].fw_version = le32_to_cpu(hdr->ucode_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
172
adev->vcn.fw_version = le32_to_cpu(hdr->ucode_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
328
unsigned fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.h
365
unsigned fw_version;
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
566
POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_VCE, adev->vce.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
567
POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_UVD, adev->uvd.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
568
POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_MC, adev->gmc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
578
POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_SOS, adev->psp.sos.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
580
adev->psp.asd_context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
582
adev->psp.ras_context.context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
584
adev->psp.xgmi_context.context.bin_desc.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
585
POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_SMC, adev->pm.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
586
POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_SDMA, adev->sdma.instance[0].fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
587
POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_SDMA2, adev->sdma.instance[1].fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
588
POPULATE_UCODE_INFO(vf2pf_info, AMD_SRIOV_UCODE_ID_VCN, adev->vcn.fw_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c
245
adev->vpe.fw_version = le32_to_cpu(vpe_hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c
329
return adev->pm.fw_version < 0x0a640500;
drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.h
71
uint32_t fw_version;
drivers/gpu/drm/amd/amdgpu/cik_sdma.c
544
adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/cik_sdma.c
553
WREG32(mmSDMA0_UCODE_ADDR + sdma_offsets[i], adev->sdma.instance[i].fw_version);
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
1629
adev->mes.fw_version[0] >= 120) {
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
1659
adev->mes.fw_version[0] >= 99) {
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
1674
adev->mes.fw_version[0] >= 128) {
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
1688
adev->mes.fw_version[0] >= 114) {
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
688
adev->psp.toc.fw_version = le32_to_cpu(toc_hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
689
adev->psp.toc.feature_version = le32_to_cpu(toc_hdr->sos.fw_version);
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
1433
adev->mes.fw_version[0] >= 123) {
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
1448
adev->mes.fw_version[0] >= 100)
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
577
adev->psp.toc.fw_version = le32_to_cpu(toc_hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c
578
adev->psp.toc.feature_version = le32_to_cpu(toc_hdr->sos.fw_version);
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
389
adev->psp.toc.fw_version = le32_to_cpu(toc_hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c
390
adev->psp.toc.feature_version = le32_to_cpu(toc_hdr->sos.fw_version);
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
1403
if (adev->pm.fw_version >= 0x41e2b)
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
160
adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
191
adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
301
adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
370
adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/psp_v10_0.c
63
(psp->securedisplay_context.context.bin_desc.fw_version >=
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c
335
psp->sos.fw_version = RREG32_SOC15(MP0, 0, regMP0_SMN_C2PMSG_58);
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c
920
ucode_ver = psp->sos.fw_version;
drivers/gpu/drm/amd/amdgpu/psp_v13_0.c
923
return (ucode_ver != psp->sos.fw_version);
drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c
157
adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c
317
adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
1028
adev->sdma.instance[i].fw_version >= 14)
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
1368
adev->sdma.instance[i].fw_version);
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
1739
uint fw_version = adev->sdma.instance[0].fw_version;
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
1743
return fw_version >= 430;
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
1748
return fw_version >= 123;
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
950
adev->sdma.instance[i].fw_version);
drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c
913
WREG32(sdma_v5_0_get_reg_offset(adev, i, mmSDMA0_UCODE_ADDR), adev->sdma.instance[i].fw_version);
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
1692
if (adev->sdma.instance[i].fw_version < 70)
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
1696
if (adev->sdma.instance[i].fw_version < 47)
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
1700
if (adev->sdma.instance[i].fw_version < 9)
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
1755
if (adev->sdma.instance[i].fw_version < 70 &&
drivers/gpu/drm/amd/amdgpu/sdma_v5_2.c
760
WREG32(sdma_v5_2_get_reg_offset(adev, i, mmSDMA0_UCODE_ADDR), adev->sdma.instance[i].fw_version);
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
1385
if ((adev->sdma.instance[0].fw_version >= 27) && !adev->sdma.disable_uq)
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
1389
if ((adev->sdma.instance[0].fw_version >= 18) && !adev->sdma.disable_uq)
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
1393
if ((adev->sdma.instance[0].fw_version >= 23) && !adev->sdma.disable_uq)
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
1397
if (adev->sdma.instance[0].fw_version >= 29 && !adev->sdma.disable_uq)
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
1401
if ((adev->sdma.instance[0].fw_version >= 14) && !adev->sdma.disable_uq)
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
1405
if ((adev->sdma.instance[0].fw_version >= 17) && !adev->sdma.disable_uq)
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
1409
if ((adev->sdma.instance[0].fw_version >= 15) && !adev->sdma.disable_uq)
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
1413
if ((adev->sdma.instance[0].fw_version >= 10) && !adev->sdma.disable_uq)
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
736
WREG32(sdma_v6_0_get_reg_offset(adev, i, regSDMA0_UCODE_ADDR), adev->sdma.instance[0].fw_version);
drivers/gpu/drm/amd/amdgpu/sdma_v6_0.c
753
WREG32(sdma_v6_0_get_reg_offset(adev, i, regSDMA0_UCODE_ADDR), adev->sdma.instance[0].fw_version);
drivers/gpu/drm/amd/amdgpu/sdma_v7_0.c
1369
if ((adev->sdma.instance[0].fw_version >= 7966358) && !adev->sdma.disable_uq)
drivers/gpu/drm/amd/amdgpu/sienna_cichlid.c
40
adev->pm.fw_version >= 0x3a5500 && !amdgpu_sriov_vf(adev))
drivers/gpu/drm/amd/amdgpu/smu_v13_0_10.c
35
if (adev->pm.fw_version >= 0x00502005 && !amdgpu_sriov_vf(adev))
drivers/gpu/drm/amd/amdgpu/soc15.c
559
if (adev->psp.sos.fw_version >= 0x80067)
drivers/gpu/drm/amd/amdgpu/soc15.c
566
adev->pm.fw_version <= 0x283400)
drivers/gpu/drm/amd/amdgpu/soc15.c
660
if (adev->psp.sos.fw_version >= 0x80067)
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c
67
(!adev->uvd.fw_version || adev->uvd.fw_version >= FW_1_130_16));
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c
440
if (adev->vce.fw_version < FW_52_8_3)
drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c
125
if ((adev->psp.sos.fw_version >= 0x00450025) &&
drivers/gpu/drm/amd/amdkfd/kfd_debug.c
1113
device_info.fw_version = pdd->dev->kfd->mec_fw_version;
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
174
if (dev->adev->pm.fw_version < 0x00557300)
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
181
if (dev->adev->pm.fw_version < 0x05550C00)
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
204
if (dev->adev->pm.fw_version < 0x00557300)
drivers/gpu/drm/amd/amdkfd/kfd_int_process_v9.c
211
if (dev->adev->pm.fw_version < 0x05550C00)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
3318
if (!srv->fw_version)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c
3361
if (!srv->fw_version)
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
2381
DC_LOG_DEBUG("fw_version : 0x%08x", dmub->preos_info.fw_version);
drivers/gpu/drm/amd/display/dc/dio/dcn31/dcn31_dio_link_encoder.c
112
!(dc_dmub_srv->dmub->fw_version >= DMUB_FW_VERSION(4, 0, 0) &&
drivers/gpu/drm/amd/display/dc/dio/dcn31/dcn31_dio_link_encoder.c
113
dc_dmub_srv->dmub->fw_version <= DMUB_FW_VERSION(4, 0, 10));
drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
1006
} else if (dc->ctx->dmub_srv->dmub->fw_version <
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
404
uint32_t fw_version;
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
572
uint32_t fw_version;
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
590
uint32_t fw_version;
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
936
uint32_t fw_version; /**< the firmware version information */
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.c
431
dmub->debug.dmcub_version = dmub->fw_version;
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.c
90
return !(dmub->fw_version >= DMUB_FW_VERSION(1, 0, 0) &&
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn20.c
91
dmub->fw_version <= DMUB_FW_VERSION(1, 10, 0));
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c
313
return dmub->fw_version >= DMUB_FW_VERSION(4, 0, 59);
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c
433
dmub->debug.dmcub_version = dmub->fw_version;
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn314.c
66
return dmub->fw_version >= DMUB_FW_VERSION(8, 0, 16);
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn32.c
452
dmub->debug.dmcub_version = dmub->fw_version;
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c
474
dmub->debug.dmcub_version = dmub->fw_version;
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c
532
uint32_t offset_high, base_addr, fw_version;
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c
537
fw_version = REG_READ(DMCUB_SCRATCH1);
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c
538
is_vbios_fw = ((fw_version >> 6) & 0x01) ? true : false;
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn35.c
543
dmub->preos_info.fw_version = REG_READ(DMCUB_SCRATCH1);
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn401.c
439
dmub->debug.dmcub_version = dmub->fw_version;
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c
496
dmub->fw_version = params->fw_version;
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c
594
if (dmub->fw_version == 0)
drivers/gpu/drm/amd/display/dmub/src/dmub_srv.c
595
dmub->fw_version = params->fw_info->fw_version;
drivers/gpu/drm/amd/include/cgs_common.h
69
uint16_t fw_version;
drivers/gpu/drm/amd/pm/amdgpu_dpm.c
687
*smu_version = adev->pm.fw_version;
drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h
354
uint32_t fw_version;
drivers/gpu/drm/amd/pm/legacy-dpm/si_smc.c
247
adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu10_smumgr.c
229
adev->pm.fw_version = hwmgr->smu_version >> 8;
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu10_smumgr.c
233
adev->pm.fw_version < 0x1e45)
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu7_smumgr.c
266
entry->version = info.fw_version;
drivers/gpu/drm/amd/pm/powerplay/smumgr/smu8_smumgr.c
751
adev->pm.fw_version = hwmgr->smu_version >> 8;
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
115
adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
137
adev->pm.fw_version = 0;
drivers/gpu/drm/amd/pm/swsmu/smu11/smu_v11_0.c
211
adev->pm.fw_version = smu_version;
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
1475
if (smu->adev->pm.fw_version >= 0x43f1b00) {
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
2000
uint32_t fw_version;
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
2004
fw_version = smu->smc_fw_version & 0xffffff;
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
2006
if (fw_version >= 0x3F0800)
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
2133
if (smu->adev->pm.fw_version < 0x43f1b00) {
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
2219
if (adev->pm.fw_version >= 0x43f1700 && !en)
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
2329
if (smu->adev->pm.fw_version < 0x43f1e00)
drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
1214
(adev->pm.fw_version >= 0x40000f)) ||
drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c
1217
(adev->pm.fw_version >= 0x373200)))
drivers/gpu/drm/amd/pm/swsmu/smu12/smu_v12_0.c
89
adev->pm.fw_version = smu_version;
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
119
adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
141
adev->pm.fw_version = 0;
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0.c
276
adev->pm.fw_version = smu_version;
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
2598
((smu->adev->pm.fw_version == 0x004e6601) ||
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
2599
(smu->adev->pm.fw_version >= 0x004e7300))) ||
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
2601
smu->adev->pm.fw_version >= 0x00504500))) {
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c
116
adev->pm.fw_version = 0;
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c
248
adev->pm.fw_version = smu_version;
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c
94
adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0.c
106
adev->pm.fw_version = 0;
drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0.c
226
adev->pm.fw_version = smu_version;
drivers/gpu/drm/amd/pm/swsmu/smu15/smu_v15_0.c
84
adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version);
drivers/gpu/drm/amd/ras/rascore/ras_psp.c
554
fw_bin->fw_version = ras_ta_load->fw_version;
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
119
uint32_t fw_version;
drivers/gpu/drm/amd/ras/rascore/ras_psp.h
90
uint32_t fw_version;
drivers/gpu/drm/bridge/cros-ec-anx7688.c
102
u16 vendor, device, fw_version;
drivers/gpu/drm/bridge/cros-ec-anx7688.c
144
fw_version = (u16)buffer[0] << 8 | buffer[1];
drivers/gpu/drm/bridge/cros-ec-anx7688.c
145
dev_info(dev, "ANX7688 firmware version 0x%04x\n", fw_version);
drivers/gpu/drm/bridge/cros-ec-anx7688.c
150
if (fw_version >= ANX7688_MINIMUM_FW_VERSION)
drivers/gpu/drm/bridge/cros-ec-anx7688.c
155
fw_version);
drivers/gpu/drm/bridge/lontium-lt9611uxc.c
63
uint8_t fw_version;
drivers/gpu/drm/bridge/lontium-lt9611uxc.c
720
return sysfs_emit(buf, "%02x\n", lt9611uxc->fw_version);
drivers/gpu/drm/bridge/lontium-lt9611uxc.c
817
lt9611uxc->fw_version = ret;
drivers/gpu/drm/i915/display/intel_dmc.c
355
u32 fw_version;
drivers/gpu/drm/i915/gt/uc/intel_gsc_binary_headers.h
125
struct intel_gsc_version fw_version;
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
495
ver->major = manifest->fw_version.major;
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
496
ver->minor = manifest->fw_version.minor;
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
497
ver->patch = manifest->fw_version.hotfix;
drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c
498
ver->build = manifest->fw_version.build;
drivers/gpu/drm/imagination/pvr_device.h
112
struct pvr_fw_version fw_version;
drivers/gpu/drm/imagination/pvr_fw.c
158
pvr_dev->fw_version.major = header->fw_version_major;
drivers/gpu/drm/imagination/pvr_fw.c
159
pvr_dev->fw_version.minor = header->fw_version_minor;
drivers/gpu/drm/radeon/radeon.h
1709
unsigned fw_version;
drivers/gpu/drm/radeon/radeon_kms.c
532
*value = rdev->vce.fw_version;
drivers/gpu/drm/radeon/radeon_vce.c
105
c += strlen(fw_version);
drivers/gpu/drm/radeon/radeon_vce.c
128
rdev->vce.fw_version = (start << 24) | (mid << 16) | (end << 8);
drivers/gpu/drm/radeon/radeon_vce.c
131
if ((rdev->vce.fw_version != ((40 << 24) | (2 << 16) | (2 << 8))) &&
drivers/gpu/drm/radeon/radeon_vce.c
132
(rdev->vce.fw_version != ((50 << 24) | (0 << 16) | (1 << 8))) &&
drivers/gpu/drm/radeon/radeon_vce.c
133
(rdev->vce.fw_version != ((50 << 24) | (1 << 16) | (2 << 8))))
drivers/gpu/drm/radeon/radeon_vce.c
58
static const char *fw_version = "[ATI LIB=VCEFW,";
drivers/gpu/drm/radeon/radeon_vce.c
96
size = rdev->vce_fw->size - strlen(fw_version) - 9;
drivers/gpu/drm/radeon/radeon_vce.c
99
if (strncmp(c, fw_version, strlen(fw_version)) == 0)
drivers/gpu/drm/radeon/sumo_dpm.c
1357
pi->fw_version = sumo_get_running_fw_version(rdev);
drivers/gpu/drm/radeon/sumo_dpm.c
1358
DRM_INFO("Found smc ucode version: 0x%08x\n", pi->fw_version);
drivers/gpu/drm/radeon/sumo_dpm.h
115
u32 fw_version;
drivers/gpu/drm/radeon/sumo_smc.c
99
if (pi->fw_version >= 0x00010C00)
drivers/gpu/drm/rockchip/cdn-dp-core.h
81
unsigned int fw_version; /* cdn fw version */
drivers/gpu/drm/rockchip/cdn-dp-reg.c
312
dp->fw_version = reg;
drivers/gpu/drm/rockchip/cdn-dp-reg.c
314
dp->fw_version |= reg << 8;
drivers/gpu/drm/rockchip/cdn-dp-reg.c
316
dp->fw_version |= reg << 16;
drivers/gpu/drm/rockchip/cdn-dp-reg.c
318
dp->fw_version |= reg << 24;
drivers/gpu/drm/rockchip/cdn-dp-reg.c
320
DRM_DEV_DEBUG(dp->dev, "firmware version: %x\n", dp->fw_version);
drivers/gpu/drm/xe/xe_late_bind_fw.c
106
lb_fw->version = manifest->fw_version;
drivers/gpu/drm/xe/xe_uc_fw.c
525
release->major = manifest->fw_version.major;
drivers/gpu/drm/xe/xe_uc_fw.c
526
release->minor = manifest->fw_version.minor;
drivers/gpu/drm/xe/xe_uc_fw.c
527
release->patch = manifest->fw_version.hotfix;
drivers/gpu/drm/xe/xe_uc_fw.c
532
release->build = manifest->fw_version.build;
drivers/gpu/drm/xe/xe_uc_fw_abi.h
329
struct gsc_version fw_version;
drivers/hid/hid-led.c
59
__u8 fw_version;
drivers/hid/hid-nvidia-shield.c
156
__le16 fw_version;
drivers/hid/hid-nvidia-shield.c
193
u16 fw_version;
drivers/hid/hid-nvidia-shield.c
545
__le16 fw_version)
drivers/hid/hid-nvidia-shield.c
547
shield_dev->fw_version = le16_to_cpu(fw_version);
drivers/hid/hid-nvidia-shield.c
552
shield_dev->fw_version);
drivers/hid/hid-nvidia-shield.c
756
shield_dev, hostcmd_resp_report->fw_version);
drivers/hid/hid-nvidia-shield.c
977
ret = sysfs_emit(buf, "0x%04X\n", shield_dev->fw_version);
drivers/hid/hid-playstation.c
1158
ds->base.fw_version = get_unaligned_le32(&buf[28]);
drivers/hid/hid-playstation.c
1872
ds->base.hw_version, ds->base.fw_version);
drivers/hid/hid-playstation.c
2110
ds4->base.fw_version = get_unaligned_le16(&buf[41]);
drivers/hid/hid-playstation.c
2811
ds4->base.hw_version, ds4->base.fw_version);
drivers/hid/hid-playstation.c
53
u32 fw_version;
drivers/hid/hid-playstation.c
991
return sysfs_emit(buf, "0x%08x\n", ps_dev->fw_version);
drivers/hv/channel_mgmt.c
236
u32 buflen, const int *fw_version, int fw_vercnt,
drivers/hv/channel_mgmt.c
278
fw_major = (fw_version[i] >> 16);
drivers/hv/channel_mgmt.c
279
fw_minor = (fw_version[i] & 0xFFFF);
drivers/hwmon/pmbus/inspur-ipsps.c
162
static SENSOR_DEVICE_ATTR_RO(fw_version, ipsps_fw_version, fw_version);
drivers/hwmon/pmbus/inspur-ipsps.c
46
[fw_version] = IPSPS_REG_FW_VERSION,
drivers/iio/accel/mma9551_core.c
103
u8 fw_version[2];
drivers/iio/accel/mma9551_core.c
620
be32_to_cpu(info.device_id), info.fw_version[0],
drivers/iio/accel/mma9551_core.c
621
info.fw_version[1]);
drivers/iio/chemical/ens160_core.c
203
data->fw_version, sizeof(data->fw_version));
drivers/iio/chemical/ens160_core.c
207
dev_info(dev, "firmware version: %u.%u.%u\n", data->fw_version[2],
drivers/iio/chemical/ens160_core.c
208
data->fw_version[1], data->fw_version[0]);
drivers/iio/chemical/ens160_core.c
65
u8 fw_version[3];
drivers/infiniband/hw/efa/efa_admin_cmds_defs.h
701
u32 fw_version;
drivers/infiniband/hw/efa/efa_com_cmd.c
460
result->fw_version = resp.u.device_attr.fw_version;
drivers/infiniband/hw/efa/efa_com_cmd.h
118
u32 fw_version;
drivers/infiniband/hw/erdma/erdma.h
125
u32 fw_version;
drivers/infiniband/hw/erdma/erdma_main.c
422
dev->attrs.fw_version =
drivers/infiniband/hw/erdma/erdma_verbs.c
355
attr->fw_ver = dev->attrs.fw_version;
drivers/infiniband/hw/ionic/ionic_lif_cfg.c
105
strscpy(str, lif->ionic->idev.dev_info.fw_version, len);
drivers/infiniband/hw/usnic/usnic_ib_main.c
349
snprintf(str, IB_FW_VERSION_NAME_MAX, "%s", info.fw_version);
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
297
usnic_ib_fw_string_to_u64(&info.fw_version[0], &props->fw_ver);
drivers/infiniband/ulp/ipoib/ipoib_ethtool.c
66
ib_get_device_fw_str(priv->ca, drvinfo->fw_version);
drivers/input/misc/ims-pcu.c
1113
static IMS_PCU_RO_ATTR(fw_version);
drivers/input/misc/ims-pcu.c
1814
snprintf(pcu->fw_version, sizeof(pcu->fw_version),
drivers/input/misc/ims-pcu.c
1846
pcu->fw_version,
drivers/input/misc/ims-pcu.c
64
char fw_version[IMS_PCU_FW_VERSION_LEN];
drivers/input/mouse/cypress_ps2.c
190
cytp->fw_version = param[2] & FW_VERSION_MASX;
drivers/input/mouse/cypress_ps2.c
197
if (cytp->fw_version >= 11)
drivers/input/mouse/cypress_ps2.c
200
psmouse_dbg(psmouse, "cytp->fw_version = %d\n", cytp->fw_version);
drivers/input/mouse/cypress_ps2.h
148
int fw_version;
drivers/input/mouse/elan_i2c_core.c
1257
data->fw_version,
drivers/input/mouse/elan_i2c_core.c
338
&data->fw_version);
drivers/input/mouse/elan_i2c_core.c
597
return sysfs_emit(buf, "%d.0\n", data->fw_version);
drivers/input/mouse/elan_i2c_core.c
78
u8 fw_version;
drivers/input/mouse/elantech.c
1192
if (info->fw_version < 0x020000 &&
drivers/input/mouse/elantech.c
1646
info->ic_version = (info->fw_version & 0x0f0000) >> 16;
drivers/input/mouse/elantech.c
1649
if (info->fw_version < 0x020030 || info->fw_version == 0x020600)
drivers/input/mouse/elantech.c
1670
if (info->ic_version == 0x0f && (info->fw_version & 0xff) <= 0x02)
drivers/input/mouse/elantech.c
1671
info->pattern = info->fw_version & 0xff;
drivers/input/mouse/elantech.c
1686
(info->fw_version == 0x020022 || info->fw_version == 0x020600);
drivers/input/mouse/elantech.c
1692
if (info->fw_version >= 0x020800)
drivers/input/mouse/elantech.c
1700
info->crc_enabled = (info->fw_version & 0x4000) == 0x4000 ||
drivers/input/mouse/elantech.c
1725
info->fw_version = (param[0] << 16) | (param[1] << 8) | param[2];
drivers/input/mouse/elantech.c
1825
if (info->fw_version == 0x020800 ||
drivers/input/mouse/elantech.c
1826
info->fw_version == 0x020b00 ||
drivers/input/mouse/elantech.c
1827
info->fw_version == 0x020030) {
drivers/input/mouse/elantech.c
1836
i = (info->fw_version > 0x020800 &&
drivers/input/mouse/elantech.c
1837
info->fw_version < 0x020900) ? 1 : 2;
drivers/input/mouse/elantech.c
1844
if (((info->fw_version >> 16) == 0x14) && fixed_dpi) {
drivers/input/mouse/elantech.c
1850
} else if (info->fw_version == 0x040216) {
drivers/input/mouse/elantech.c
1853
} else if (info->fw_version == 0x040219 || info->fw_version == 0x040215) {
drivers/input/mouse/elantech.c
1896
(ETP_NEW_IC_SMBUS_HOST_NOTIFY(info->fw_version) &&
drivers/input/mouse/elantech.c
1997
if (!ETP_NEW_IC_SMBUS_HOST_NOTIFY(info->fw_version) ||
drivers/input/mouse/elantech.c
2020
if (ETP_NEW_IC_SMBUS_HOST_NOTIFY(info->fw_version))
drivers/input/mouse/elantech.c
2093
if (info->fw_version == 0x381f17) {
drivers/input/mouse/elantech.c
313
return info->fw_version & 0x001000;
drivers/input/mouse/elantech.c
327
if (etd->info.fw_version < 0x020000) {
drivers/input/mouse/elantech.c
372
if (etd->info.fw_version < 0x020000 &&
drivers/input/mouse/elantech.c
773
if (etd->info.fw_version < 0x020000) {
drivers/input/mouse/elantech.c
886
ic_version = (etd->info.fw_version & 0x0f0000) >> 16;
drivers/input/mouse/elantech.h
127
#define ETP_NEW_IC_SMBUS_HOST_NOTIFY(fw_version) \
drivers/input/mouse/elantech.h
128
((((fw_version) & 0x0f2000) == 0x0f2000) && \
drivers/input/mouse/elantech.h
129
((fw_version) & 0x0000ff) > 0)
drivers/input/mouse/elantech.h
145
unsigned int fw_version;
drivers/input/touchscreen/atmel_mxt_ts.c
3060
static DEVICE_ATTR(fw_version, S_IRUGO, mxt_fw_version_show, NULL);
drivers/input/touchscreen/edt-ft5x06.c
1311
tsdata->name, tsdata->fw_version, tsdata->num_x, tsdata->num_y);
drivers/input/touchscreen/edt-ft5x06.c
143
char fw_version[EDT_NAME_LEN];
drivers/input/touchscreen/edt-ft5x06.c
540
return sysfs_emit(buf, "%s\n", tsdata->fw_version);
drivers/input/touchscreen/edt-ft5x06.c
543
static DEVICE_ATTR_RO(fw_version);
drivers/input/touchscreen/edt-ft5x06.c
859
char *fw_version = tsdata->fw_version;
drivers/input/touchscreen/edt-ft5x06.c
887
strscpy(fw_version, p ? p : "", EDT_NAME_LEN);
drivers/input/touchscreen/edt-ft5x06.c
909
strscpy(fw_version, p ? p : "", EDT_NAME_LEN);
drivers/input/touchscreen/edt-ft5x06.c
926
strscpy(fw_version, rdbuf, 2);
drivers/input/touchscreen/edt-ft5x06.c
960
strscpy(fw_version, rdbuf, 1);
drivers/input/touchscreen/elants_i2c.c
1295
static ELANTS_VERSION_ATTR(fw_version);
drivers/input/touchscreen/elants_i2c.c
159
u16 fw_version;
drivers/input/touchscreen/elants_i2c.c
405
ts->fw_version = elants_i2c_parse_version(resp);
drivers/input/touchscreen/elants_i2c.c
406
if (ts->fw_version != 0x0000 && ts->fw_version != 0xffff)
drivers/input/touchscreen/elants_i2c.c
413
dev_err(&client->dev, "Invalid fw ver: %#04x\n", ts->fw_version);
drivers/input/touchscreen/exc3000.c
299
static DEVICE_ATTR_RO(fw_version);
drivers/input/touchscreen/goodix_berlin_core.c
171
struct goodix_berlin_fw_version fw_version;
drivers/input/touchscreen/goodix_berlin_core.c
305
&cd->fw_version, sizeof(cd->fw_version));
drivers/input/touchscreen/goodix_berlin_core.c
311
if (!goodix_berlin_checksum_valid((u8 *)&cd->fw_version,
drivers/input/touchscreen/goodix_berlin_core.c
312
sizeof(cd->fw_version))) {
drivers/input/touchscreen/goodix_berlin_core.c
794
cd->fw_version.patch_pid);
drivers/input/touchscreen/hycon-hy46xx.c
256
static HYCON_ATTR_U8(fw_version, 0444, HY46XX_FW_VERSION, 0, 255);
drivers/input/touchscreen/hycon-hy46xx.c
405
tsdata->fw_version = val;
drivers/input/touchscreen/hycon-hy46xx.c
70
int fw_version;
drivers/input/touchscreen/melfas_mip4.c
1160
struct mip4_fw_version fw_version;
drivers/input/touchscreen/melfas_mip4.c
1216
mip4_parse_fw_version((const u8 *)&fw_info->ver_boot, &fw_version);
drivers/input/touchscreen/melfas_mip4.c
1220
fw_version.boot, fw_version.core,
drivers/input/touchscreen/melfas_mip4.c
1221
fw_version.app, fw_version.param);
drivers/input/touchscreen/melfas_mip4.c
1224
ts->fw_version.boot, ts->fw_version.core,
drivers/input/touchscreen/melfas_mip4.c
1225
ts->fw_version.app, ts->fw_version.param);
drivers/input/touchscreen/melfas_mip4.c
1228
if (fw_version.boot != 0xEEEE && fw_version.boot != 0xFFFF &&
drivers/input/touchscreen/melfas_mip4.c
1229
fw_version.core == 0xEEEE &&
drivers/input/touchscreen/melfas_mip4.c
1230
fw_version.app == 0xEEEE &&
drivers/input/touchscreen/melfas_mip4.c
1231
fw_version.param == 0xEEEE) {
drivers/input/touchscreen/melfas_mip4.c
1233
} else if (fw_version.boot == 0xEEEE &&
drivers/input/touchscreen/melfas_mip4.c
1234
fw_version.core != 0xEEEE && fw_version.core != 0xFFFF &&
drivers/input/touchscreen/melfas_mip4.c
1235
fw_version.app != 0xEEEE && fw_version.app != 0xFFFF &&
drivers/input/touchscreen/melfas_mip4.c
1236
fw_version.param != 0xEEEE && fw_version.param != 0xFFFF) {
drivers/input/touchscreen/melfas_mip4.c
1340
ts->fw_version.boot, ts->fw_version.core,
drivers/input/touchscreen/melfas_mip4.c
1341
ts->fw_version.app, ts->fw_version.param);
drivers/input/touchscreen/melfas_mip4.c
1348
static DEVICE_ATTR(fw_version, S_IRUGO, mip4_sysfs_read_fw_version, NULL);
drivers/input/touchscreen/melfas_mip4.c
166
struct mip4_fw_version fw_version;
drivers/input/touchscreen/melfas_mip4.c
228
u8 buf[sizeof(ts->fw_version)];
drivers/input/touchscreen/melfas_mip4.c
233
memset(&ts->fw_version, 0xff, sizeof(ts->fw_version));
drivers/input/touchscreen/melfas_mip4.c
237
mip4_parse_fw_version(buf, &ts->fw_version);
drivers/input/touchscreen/melfas_mip4.c
310
ts->fw_version.boot, ts->fw_version.core,
drivers/input/touchscreen/melfas_mip4.c
311
ts->fw_version.app, ts->fw_version.param);
drivers/input/touchscreen/raydium_i2c_ts.c
1001
static DEVICE_ATTR(fw_version, S_IRUGO, raydium_i2c_fw_ver_show, NULL);
drivers/input/touchscreen/wacom_i2c.c
101
features->pressure_max, features->fw_version);
drivers/input/touchscreen/wacom_i2c.c
197
input->id.version = features.fw_version;
drivers/input/touchscreen/wacom_i2c.c
46
char fw_version;
drivers/input/touchscreen/wacom_i2c.c
96
features->fw_version = get_unaligned_le16(&data[13]);
drivers/input/touchscreen/wdt87xx_i2c.c
934
static DEVICE_ATTR_RO(fw_version);
drivers/media/common/siano/smscoreapi.c
1359
if (coredev->fw_version >= 0x800) {
drivers/media/common/siano/smscoreapi.c
1535
coredev->fw_version = ver->rom_ver_major << 8 |
drivers/media/common/siano/smscoreapi.h
197
u16 fw_version;
drivers/media/common/siano/smsdvb-main.c
757
if (client->coredev->fw_version >= 0x800)
drivers/media/dvb-frontends/dib9000.c
768
u16 fw_version = 0;
drivers/media/dvb-frontends/dib9000.c
770
if (dib9000_mbx_send(state, OUT_MSG_REQ_VERSION, &fw_version, 1) != 0)
drivers/media/dvb-frontends/dib9000.c
776
fw_version = (r[0] << 8) | r[1];
drivers/media/dvb-frontends/dib9000.c
777
dprintk("RISC: ver: %d.%02d (IC: %d)\n", fw_version >> 10, fw_version & 0x3ff, (r[2] << 8) | r[3]);
drivers/media/dvb-frontends/dib9000.c
779
if ((fw_version >> 10) != 7)
drivers/media/dvb-frontends/dib9000.c
782
switch (fw_version & 0x3ff) {
drivers/media/i2c/thp7312.c
1117
if (thp7312->fw_version == THP7312_FW_VERSION(40, 3)) {
drivers/media/i2c/thp7312.c
1233
if (thp7312->fw_version >= THP7312_FW_VERSION(90, 3)) {
drivers/media/i2c/thp7312.c
1438
thp7312->fw_version = THP7312_FW_VERSION(major, minor);
drivers/media/i2c/thp7312.c
2186
THP7312_FW_VERSION_MAJOR(thp7312->fw_version),
drivers/media/i2c/thp7312.c
2187
THP7312_FW_VERSION_MINOR(thp7312->fw_version));
drivers/media/i2c/thp7312.c
295
u16 fw_version;
drivers/media/pci/bt8xx/dst.c
904
memcpy(&state->fw_version, &state->rxbuffer, 8);
drivers/media/pci/bt8xx/dst.c
906
state->fw_version[0] >> 4, state->fw_version[0] & 0x0f,
drivers/media/pci/bt8xx/dst.c
907
state->fw_version[1],
drivers/media/pci/bt8xx/dst.c
908
state->fw_version[5], state->fw_version[6],
drivers/media/pci/bt8xx/dst.c
909
state->fw_version[4], state->fw_version[3], state->fw_version[2]);
drivers/media/pci/bt8xx/dst_common.h
122
u8 fw_version[8];
drivers/media/pci/mgb4/mgb4_core.c
401
u32 fw_version;
drivers/media/pci/mgb4/mgb4_core.c
423
fw_version = mgb4_read_reg(&mgbdev->video, 0xC4) >> 24;
drivers/media/pci/mgb4/mgb4_core.c
424
if ((MGB4_IS_FPDL3(mgbdev) && fw_version != 1) ||
drivers/media/pci/mgb4/mgb4_core.c
425
(MGB4_IS_GMSL3(mgbdev) && fw_version != 2) ||
drivers/media/pci/mgb4/mgb4_core.c
426
(MGB4_IS_GMSL1(mgbdev) && fw_version != 3)) {
drivers/media/pci/mgb4/mgb4_sysfs_pci.c
60
static DEVICE_ATTR_RO(fw_version);
drivers/media/pci/ngene/ngene-cards.c
1035
.fw_version = 18,
drivers/media/pci/ngene/ngene-cards.c
1049
.fw_version = 18,
drivers/media/pci/ngene/ngene-cards.c
1064
.fw_version = 18,
drivers/media/pci/ngene/ngene-cards.c
1079
.fw_version = 18,
drivers/media/pci/ngene/ngene-cards.c
1095
.fw_version = 18,
drivers/media/pci/ngene/ngene-cards.c
1114
.fw_version = 15,
drivers/media/pci/ngene/ngene-core.c
1213
version = dev->card_info->fw_version;
drivers/media/pci/ngene/ngene-core.c
1284
if (dev->card_info->fw_version >= 17) {
drivers/media/pci/ngene/ngene.h
787
int fw_version;
drivers/media/platform/amphion/vpu.h
147
u32 fw_version;
drivers/media/platform/amphion/vpu_core.c
76
u32 fw_version;
drivers/media/platform/amphion/vpu_core.c
78
fw_version = vpu_iface_get_version(core);
drivers/media/platform/amphion/vpu_core.c
81
(fw_version >> 16) & 0xff,
drivers/media/platform/amphion/vpu_core.c
82
(fw_version >> 8) & 0xff,
drivers/media/platform/amphion/vpu_core.c
83
fw_version & 0xff);
drivers/media/platform/amphion/vpu_core.c
92
core->fw_version = fw_version;
drivers/media/platform/amphion/vpu_dbg.c
281
(core->fw_version >> 16) & 0xff,
drivers/media/platform/amphion/vpu_dbg.c
282
(core->fw_version >> 8) & 0xff,
drivers/media/platform/amphion/vpu_dbg.c
283
core->fw_version & 0xff);
drivers/media/platform/amphion/vpu_malone.c
256
u32 fw_version;
drivers/media/platform/amphion/vpu_malone.c
489
vpu_malone_enable_format(V4L2_PIX_FMT_RV30, iface->fw_version & MALONE_DEC_FMT_RV_MASK);
drivers/media/platform/amphion/vpu_malone.c
490
vpu_malone_enable_format(V4L2_PIX_FMT_RV40, iface->fw_version & MALONE_DEC_FMT_RV_MASK);
drivers/media/platform/amphion/vpu_malone.c
492
return iface->fw_version;
drivers/media/platform/amphion/vpu_malone.c
80
(FIELD_GET(MALONE_VERSION_MASK, (iface)->fw_version) >= MALONE_VERSION(maj, min, 0))
drivers/media/platform/amphion/vpu_windsor.c
81
u32 fw_version;
drivers/media/platform/amphion/vpu_windsor.c
914
return iface->fw_version;
drivers/media/platform/chips-media/wave5/wave5-hw.c
361
p_attr->fw_version = vpu_read_reg(vpu_dev, W5_RET_FW_VERSION);
drivers/media/platform/chips-media/wave5/wave5-vpuapi.h
325
u32 fw_version;
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c
299
char fw_version[IRIS_FW_VERSION_LENGTH];
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c
316
fw_version[i] = str_image_version[i];
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c
318
fw_version[i] = ' ';
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c
320
fw_version[i] = '\0';
drivers/media/platform/qcom/iris/iris_hfi_gen1_response.c
321
dev_dbg(core->dev, "firmware version: %s\n", fw_version);
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
749
char fw_version[IRIS_FW_VERSION_LENGTH];
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
757
fw_version[i] = str_image_version[i];
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
759
fw_version[i] = ' ';
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
761
fw_version[i] = '\0';
drivers/media/platform/qcom/iris/iris_hfi_gen2_response.c
762
dev_dbg(core->dev, "firmware version: %s\n", fw_version);
drivers/media/usb/dvb-usb/dib0700.h
46
u32 fw_version;
drivers/media/usb/dvb-usb/dib0700_core.c
133
if (st->fw_version >= 0x10201) {
drivers/media/usb/dvb-usb/dib0700_core.c
512
u32 fw_version;
drivers/media/usb/dvb-usb/dib0700_core.c
560
fw_version = (buf[8] << 24) | (buf[9] << 16) | (buf[10] << 8) | buf[11];
drivers/media/usb/dvb-usb/dib0700_core.c
567
if (fw_version >= 0x10201) {
drivers/media/usb/dvb-usb/dib0700_core.c
588
if ((onoff != 0) && (st->fw_version >= 0x10201)) {
drivers/media/usb/dvb-usb/dib0700_core.c
661
if (st->fw_version < 0x10200) {
drivers/media/usb/dvb-usb/dib0700_core.c
816
if (st->fw_version < 0x10200 || !intf)
drivers/media/usb/dvb-usb/dib0700_core.c
886
u32 hwversion, romversion, fw_version, fwtype;
drivers/media/usb/dvb-usb/dib0700_core.c
889
&fw_version, &fwtype);
drivers/media/usb/dvb-usb/dib0700_core.c
892
hwversion, romversion, fw_version, fwtype);
drivers/media/usb/dvb-usb/dib0700_core.c
894
st->fw_version = fw_version;
drivers/media/usb/dvb-usb/dib0700_core.c
898
if (st->fw_version >= 0x10200)
drivers/media/usb/dvb-usb/dib0700_devices.c
2140
u32 fw_version;
drivers/media/usb/dvb-usb/dib0700_devices.c
2146
dib0700_get_version(adap->dev, NULL, NULL, &fw_version, NULL);
drivers/media/usb/dvb-usb/dib0700_devices.c
2147
if (fw_version >= 0x10200)
drivers/media/usb/dvb-usb/dib0700_devices.c
2380
u32 fw_version;
drivers/media/usb/dvb-usb/dib0700_devices.c
2383
dib0700_get_version(adap->dev, NULL, NULL, &fw_version, NULL);
drivers/media/usb/dvb-usb/dib0700_devices.c
2384
if (fw_version >= 0x10200)
drivers/media/usb/dvb-usb/dib0700_devices.c
2457
u32 fw_version;
drivers/media/usb/dvb-usb/dib0700_devices.c
2460
dib0700_get_version(adap->dev, NULL, NULL, &fw_version, NULL);
drivers/media/usb/dvb-usb/dib0700_devices.c
2461
if (fw_version >= 0x10200)
drivers/media/usb/dvb-usb/dib0700_devices.c
524
if (st->fw_version >= 0x10200) {
drivers/message/fusion/mptctl.c
2375
snprintf(karg.fw_version, sizeof(karg.fw_version),
drivers/message/fusion/mptctl.h
389
u8 fw_version[16]; /* string */
drivers/message/fusion/mptctl.h
412
u8 fw_version[16]; /* string */
drivers/mfd/gateworks-gsc.c
140
__ATTR(fw_version, 0440, gsc_show, NULL);
drivers/mfd/intel-m10-bmc-core.c
122
ret = m10bmc_sys_read(ddata, ddata->info->csr_map->fw_version, &val);
drivers/mfd/intel-m10-bmc-pmci.c
358
.fw_version = NIOS2_N6000_FW_VERSION,
drivers/mfd/intel-m10-bmc-spi.c
97
.fw_version = NIOS2_N3000_FW_VERSION,
drivers/mfd/qcom_rpm.c
535
u32 fw_version[3];
drivers/mfd/qcom_rpm.c
611
fw_version[0] = readl(RPM_STATUS_REG(rpm, 0));
drivers/mfd/qcom_rpm.c
612
fw_version[1] = readl(RPM_STATUS_REG(rpm, 1));
drivers/mfd/qcom_rpm.c
613
fw_version[2] = readl(RPM_STATUS_REG(rpm, 2));
drivers/mfd/qcom_rpm.c
614
if (fw_version[0] != rpm->data->version) {
drivers/mfd/qcom_rpm.c
617
fw_version[0],
drivers/mfd/qcom_rpm.c
618
fw_version[1],
drivers/mfd/qcom_rpm.c
619
fw_version[2],
drivers/mfd/qcom_rpm.c
624
writel(fw_version[0], RPM_CTRL_REG(rpm, 0));
drivers/mfd/qcom_rpm.c
625
writel(fw_version[1], RPM_CTRL_REG(rpm, 1));
drivers/mfd/qcom_rpm.c
626
writel(fw_version[2], RPM_CTRL_REG(rpm, 2));
drivers/mfd/qcom_rpm.c
628
dev_info(&pdev->dev, "RPM firmware %u.%u.%u\n", fw_version[0],
drivers/mfd/qcom_rpm.c
629
fw_version[1],
drivers/mfd/qcom_rpm.c
630
fw_version[2]);
drivers/net/bonding/bond_main.c
5880
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), "%d",
drivers/net/can/kvaser_pciefd/kvaser_pciefd.h
89
struct kvaser_pciefd_fw_version fw_version;
drivers/net/can/kvaser_pciefd/kvaser_pciefd_core.c
1157
pcie->fw_version.major = FIELD_GET(KVASER_PCIEFD_SYSID_VERSION_MAJOR_MASK, version);
drivers/net/can/kvaser_pciefd/kvaser_pciefd_core.c
1158
pcie->fw_version.minor = FIELD_GET(KVASER_PCIEFD_SYSID_VERSION_MINOR_MASK, version);
drivers/net/can/kvaser_pciefd/kvaser_pciefd_core.c
1159
pcie->fw_version.build = FIELD_GET(KVASER_PCIEFD_SYSID_BUILD_SEQ_MASK, build);
drivers/net/can/kvaser_pciefd/kvaser_pciefd_devlink.c
19
if (pcie->fw_version.major) {
drivers/net/can/kvaser_pciefd/kvaser_pciefd_devlink.c
21
pcie->fw_version.major,
drivers/net/can/kvaser_pciefd/kvaser_pciefd_devlink.c
22
pcie->fw_version.minor,
drivers/net/can/kvaser_pciefd/kvaser_pciefd_devlink.c
23
pcie->fw_version.build);
drivers/net/can/softing/softing.h
69
uint16_t fw_version, hw_version, license, serial;
drivers/net/can/softing/softing_fw.c
362
card->id.fw_version = ioread16(&card->dpram[DPRAM_FCT_PARAM + 2]);
drivers/net/can/softing/softing_main.c
708
DEV_ATTR_RO(firmware_version, id.fw_version);
drivers/net/can/usb/kvaser_usb/kvaser_usb.h
117
struct kvaser_usb_fw_version fw_version;
drivers/net/can/usb/kvaser_usb/kvaser_usb_devlink.c
28
if (dev->fw_version.major) {
drivers/net/can/usb/kvaser_usb/kvaser_usb_devlink.c
30
dev->fw_version.major,
drivers/net/can/usb/kvaser_usb/kvaser_usb_devlink.c
31
dev->fw_version.minor,
drivers/net/can/usb/kvaser_usb/kvaser_usb_devlink.c
32
dev->fw_version.build);
drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c
1842
u32 fw_version;
drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c
1867
fw_version = le32_to_cpu(cmd->sw_detail_res.sw_version);
drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c
1868
dev->fw_version.major = FIELD_GET(KVASER_USB_SW_VERSION_MAJOR_MASK, fw_version);
drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c
1869
dev->fw_version.minor = FIELD_GET(KVASER_USB_SW_VERSION_MINOR_MASK, fw_version);
drivers/net/can/usb/kvaser_usb/kvaser_usb_hydra.c
1870
dev->fw_version.build = FIELD_GET(KVASER_USB_SW_VERSION_BUILD_MASK, fw_version);
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
158
__le32 fw_version;
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
168
__le32 fw_version;
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
744
u32 fw_version;
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
747
fw_version = le32_to_cpu(softinfo->fw_version);
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
748
dev->fw_version.major = FIELD_GET(KVASER_USB_SW_VERSION_MAJOR_MASK, fw_version);
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
749
dev->fw_version.minor = FIELD_GET(KVASER_USB_SW_VERSION_MINOR_MASK, fw_version);
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
750
dev->fw_version.build = FIELD_GET(KVASER_USB_SW_VERSION_BUILD_MASK, fw_version);
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
791
u32 fw_version;
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
806
fw_version = le32_to_cpu(cmd.u.usbcan.softinfo.fw_version);
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
807
dev->fw_version.major = FIELD_GET(KVASER_USB_SW_VERSION_MAJOR_MASK,
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
808
fw_version);
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
809
dev->fw_version.minor = FIELD_GET(KVASER_USB_SW_VERSION_MINOR_MASK,
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
810
fw_version);
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
811
dev->fw_version.build = FIELD_GET(KVASER_USB_SW_VERSION_BUILD_MASK,
drivers/net/can/usb/kvaser_usb/kvaser_usb_leaf.c
812
fw_version);
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
48
u8 fw_version[3]; /* Firmware version */
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
972
fw_info->fw_version[0],
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
973
fw_info->fw_version[1],
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
974
fw_info->fw_version[2],
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
978
if (fw_info->fw_version[0] >= 2) {
drivers/net/ethernet/3com/typhoon.c
972
strscpy(info->fw_version, "Sleep image",
drivers/net/ethernet/3com/typhoon.c
973
sizeof(info->fw_version));
drivers/net/ethernet/3com/typhoon.c
977
strscpy(info->fw_version, "Unknown runtime",
drivers/net/ethernet/3com/typhoon.c
978
sizeof(info->fw_version));
drivers/net/ethernet/3com/typhoon.c
981
snprintf(info->fw_version, sizeof(info->fw_version),
drivers/net/ethernet/alteon/acenic.c
2694
snprintf(info->fw_version, sizeof(info->version), "%i.%i.%i",
drivers/net/ethernet/altera/altera_tse_ethtool.c
70
snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "v%d.%d",
drivers/net/ethernet/amd/amd8111e.c
1367
snprintf(info->fw_version, sizeof(info->fw_version),
drivers/net/ethernet/amd/pds_core/core.h
45
char fw_version[PDS_CORE_DEVINFO_FWVERS_BUFLEN + 1];
drivers/net/ethernet/amd/pds_core/dev.c
256
memcpy_fromio(pdsc->dev_info.fw_version,
drivers/net/ethernet/amd/pds_core/dev.c
257
pdsc->info_regs->fw_version,
drivers/net/ethernet/amd/pds_core/dev.c
259
pdsc->dev_info.fw_version[PDS_CORE_DEVINFO_FWVERS_BUFLEN] = 0;
drivers/net/ethernet/amd/pds_core/dev.c
266
dev_dbg(pdsc->dev, "fw_version %s\n", pdsc->dev_info.fw_version);
drivers/net/ethernet/amd/pds_core/dev.c
307
if (isprint(pdsc->dev_info.fw_version[0]) &&
drivers/net/ethernet/amd/pds_core/dev.c
308
isascii(pdsc->dev_info.fw_version[0]))
drivers/net/ethernet/amd/pds_core/dev.c
310
(int)(sizeof(pdsc->dev_info.fw_version) - 1),
drivers/net/ethernet/amd/pds_core/dev.c
311
pdsc->dev_info.fw_version);
drivers/net/ethernet/amd/pds_core/dev.c
314
(u8)pdsc->dev_info.fw_version[0],
drivers/net/ethernet/amd/pds_core/dev.c
315
(u8)pdsc->dev_info.fw_version[1],
drivers/net/ethernet/amd/pds_core/dev.c
316
(u8)pdsc->dev_info.fw_version[2],
drivers/net/ethernet/amd/pds_core/dev.c
317
(u8)pdsc->dev_info.fw_version[3]);
drivers/net/ethernet/amd/pds_core/devlink.c
130
fw_list.fw_names[i].fw_version);
drivers/net/ethernet/amd/pds_core/devlink.c
137
pdsc->dev_info.fw_version);
drivers/net/ethernet/amd/xgbe/xgbe-ethtool.c
306
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), "%d.%d.%d",
drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c
240
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c
310
strscpy(drvinfo->fw_version, "L1e", sizeof(drvinfo->fw_version));
drivers/net/ethernet/atheros/atlx/atl2.c
1985
strscpy(drvinfo->fw_version, "L2", sizeof(drvinfo->fw_version));
drivers/net/ethernet/broadcom/bnge/bnge_ethtool.c
22
strscpy(info->fw_version, bd->fw_ver_str, sizeof(info->fw_version));
drivers/net/ethernet/broadcom/bnx2.c
7031
strscpy(info->fw_version, bp->fw_version, sizeof(info->fw_version));
drivers/net/ethernet/broadcom/bnx2.c
8065
memcpy(bp->fw_version, &data[j], len);
drivers/net/ethernet/broadcom/bnx2.c
8066
bp->fw_version[len] = ' ';
drivers/net/ethernet/broadcom/bnx2.c
8249
j = strlen(bp->fw_version);
drivers/net/ethernet/broadcom/bnx2.c
8255
bp->fw_version[j++] = 'b';
drivers/net/ethernet/broadcom/bnx2.c
8256
bp->fw_version[j++] = 'c';
drivers/net/ethernet/broadcom/bnx2.c
8257
bp->fw_version[j++] = ' ';
drivers/net/ethernet/broadcom/bnx2.c
8262
bp->fw_version[j++] = (num / k) + '0';
drivers/net/ethernet/broadcom/bnx2.c
8267
bp->fw_version[j++] = '.';
drivers/net/ethernet/broadcom/bnx2.c
8290
bp->fw_version[j++] = ' ';
drivers/net/ethernet/broadcom/bnx2.c
8294
memcpy(&bp->fw_version[j], &reg, 4);
drivers/net/ethernet/broadcom/bnx2.h
6972
char fw_version[32];
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
1129
strscpy(info->fw_version, version,
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
1130
sizeof(info->fw_version));
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c
1136
strlcat(info->fw_version, version, sizeof(info->fw_version));
drivers/net/ethernet/broadcom/bnx2x/bnx2x_fw_file_hdr.h
37
struct bnx2x_fw_file_section fw_version;
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
13303
offset = be32_to_cpu(fw_hdr->fw_version.offset);
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
2058
strscpy(info->fw_version, bp->fw_ver_str, sizeof(info->fw_version));
drivers/net/ethernet/broadcom/tg3.c
12426
strscpy(info->fw_version, tp->fw_ver, sizeof(info->fw_version));
drivers/net/ethernet/brocade/bna/bfa_ioc.c
2814
memcpy(fw_ver, ioc->attr->fw_version, BFA_VERSION_LEN);
drivers/net/ethernet/brocade/bna/bfi.h
200
char fw_version[BFA_VERSION_LEN];
drivers/net/ethernet/brocade/bna/bnad_ethtool.c
294
strscpy(drvinfo->fw_version, ioc_attr->adapter_attr.fw_ver,
drivers/net/ethernet/brocade/bna/bnad_ethtool.c
295
sizeof(drvinfo->fw_version));
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c
446
strscpy(drvinfo->fw_version, oct->fw_info.liquidio_firmware_version,
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c
447
sizeof(drvinfo->fw_version));
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c
463
strscpy(drvinfo->fw_version, oct->fw_info.liquidio_firmware_version,
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c
464
sizeof(drvinfo->fw_version));
drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c
1633
snprintf(info->fw_version, sizeof(info->fw_version),
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
208
snprintf(info->fw_version, sizeof(info->fw_version),
drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c
1559
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/cisco/enic/enic_ethtool.c
172
strscpy(drvinfo->fw_version, fw_info->fw_version,
drivers/net/ethernet/cisco/enic/enic_ethtool.c
173
sizeof(drvinfo->fw_version));
drivers/net/ethernet/cisco/enic/vnic_devcmd.h
517
char fw_version[32];
drivers/net/ethernet/emulex/benet/be_ethtool.c
225
strscpy(drvinfo->fw_version, adapter->fw_ver,
drivers/net/ethernet/emulex/benet/be_ethtool.c
226
sizeof(drvinfo->fw_version));
drivers/net/ethernet/emulex/benet/be_ethtool.c
228
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
78
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-ethtool.c
47
strscpy(drvinfo->fw_version, "N/A",
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-ethtool.c
48
sizeof(drvinfo->fw_version));
drivers/net/ethernet/freescale/dpaa2/dpaa2-switch-ethtool.c
50
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c
655
strscpy(drvinfo->fw_version, "N/A", ETHTOOL_FWVERS_LEN);
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
230
u32 *fw_version, bool is_pf)
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
244
*fw_version = le32_to_cpu(resp->firmware);
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
613
u32 *fw_version, bool is_pf,
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
644
fw_version, is_pf);
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
654
hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE3_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
656
hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE2_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
658
hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE1_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
660
hnae3_get_field(*fw_version, HNAE3_FW_VERSION_BYTE0_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.h
481
u32 *fw_version, bool is_pf);
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.h
496
u32 *fw_version, bool is_pf,
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
630
u32 fw_version;
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
643
fw_version = priv->ae_handle->ae_algo->ops->get_fw_version(h);
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
645
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
647
hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE3_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
649
hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE2_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
651
hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE1_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
653
hnae3_get_field(fw_version, HNAE3_FW_VERSION_BYTE0_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_devlink.c
47
hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_devlink.c
49
hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_devlink.c
51
hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_devlink.c
53
hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
10942
return hdev->fw_version;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
11759
ret = hclge_comm_cmd_init(hdev->ae_dev, &hdev->hw.hw, &hdev->fw_version,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
12197
ret = hclge_comm_cmd_init(hdev->ae_dev, &hdev->hw.hw, &hdev->fw_version,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
887
u32 fw_version;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_regs.c
632
*version = hdev->fw_version;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c
1298
hdev->fw_version);
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_devlink.c
18
hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE3_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_devlink.c
20
hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE2_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_devlink.c
22
hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE1_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_devlink.c
24
hnae3_get_field(hdev->fw_version, HNAE3_FW_VERSION_BYTE0_MASK,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
1794
return hdev->fw_version;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2877
&hdev->fw_version, false,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
2933
&hdev->fw_version, false,
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h
231
u32 fw_version;
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_regs.c
133
*version = hdev->fw_version;
drivers/net/ethernet/huawei/hinic/hinic_devlink.c
56
host_image->image_info.fw_version = fw_image->fw_version;
drivers/net/ethernet/huawei/hinic/hinic_devlink.h
105
u32 fw_version;
drivers/net/ethernet/huawei/hinic/hinic_devlink.h
88
u32 fw_version;
drivers/net/ethernet/huawei/hinic/hinic_ethtool.c
545
snprintf(info->fw_version, sizeof(info->fw_version), "%s", mgmt_ver);
drivers/net/ethernet/ibm/ibmvnic.c
3748
strscpy(info->fw_version, adapter->fw_version,
drivers/net/ethernet/ibm/ibmvnic.c
3749
sizeof(info->fw_version));
drivers/net/ethernet/ibm/ibmvnic.c
5322
memset(adapter->fw_version, 0, 32);
drivers/net/ethernet/ibm/ibmvnic.c
5353
strscpy(adapter->fw_version, substr + 3,
drivers/net/ethernet/ibm/ibmvnic.c
5354
sizeof(adapter->fw_version));
drivers/net/ethernet/ibm/ibmvnic.c
5360
if (adapter->fw_version[0] == '\0')
drivers/net/ethernet/ibm/ibmvnic.c
5361
strscpy((char *)adapter->fw_version, "N/A", sizeof(adapter->fw_version));
drivers/net/ethernet/ibm/ibmvnic.h
938
char fw_version[32];
drivers/net/ethernet/intel/e1000e/ethtool.c
636
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
2007
i40e_nvm_version_str(&pf->hw, drvinfo->fw_version,
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
2008
sizeof(drvinfo->fw_version));
drivers/net/ethernet/intel/iavf/iavf_ethtool.c
450
strscpy(drvinfo->fw_version, "N/A", 4);
drivers/net/ethernet/intel/ice/ice_ethtool.c
447
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/intel/igb/e1000_nvm.c
689
u16 eeprom_verh, eeprom_verl, etrack_test, fw_version;
drivers/net/ethernet/intel/igb/e1000_nvm.c
710
hw->nvm.ops.read(hw, NVM_VERSION, 1, &fw_version);
drivers/net/ethernet/intel/igb/e1000_nvm.c
712
fw_version);
drivers/net/ethernet/intel/igb/e1000_nvm.c
714
fw_version);
drivers/net/ethernet/intel/igb/e1000_nvm.c
715
fw_vers->eep_build = (fw_version & NVM_IMAGE_ID_MASK);
drivers/net/ethernet/intel/igb/e1000_nvm.c
755
hw->nvm.ops.read(hw, NVM_VERSION, 1, &fw_version);
drivers/net/ethernet/intel/igb/e1000_nvm.c
756
fw_vers->eep_major = FIELD_GET(NVM_MAJOR_MASK, fw_version);
drivers/net/ethernet/intel/igb/e1000_nvm.c
759
if ((fw_version & NVM_NEW_DEC_MASK) == 0x0) {
drivers/net/ethernet/intel/igb/e1000_nvm.c
760
eeprom_verl = (fw_version & NVM_COMB_VER_MASK);
drivers/net/ethernet/intel/igb/e1000_nvm.c
762
eeprom_verl = FIELD_GET(NVM_MINOR_MASK, fw_version);
drivers/net/ethernet/intel/igb/igb.h
648
char fw_version[48];
drivers/net/ethernet/intel/igb/igb_ethtool.c
861
strscpy(drvinfo->fw_version, adapter->fw_version,
drivers/net/ethernet/intel/igb/igb_ethtool.c
862
sizeof(drvinfo->fw_version));
drivers/net/ethernet/intel/igb/igb_main.c
3083
snprintf(adapter->fw_version,
drivers/net/ethernet/intel/igb/igb_main.c
3084
sizeof(adapter->fw_version),
drivers/net/ethernet/intel/igb/igb_main.c
3094
snprintf(adapter->fw_version,
drivers/net/ethernet/intel/igb/igb_main.c
3095
sizeof(adapter->fw_version),
drivers/net/ethernet/intel/igb/igb_main.c
3101
snprintf(adapter->fw_version,
drivers/net/ethernet/intel/igb/igb_main.c
3102
sizeof(adapter->fw_version),
drivers/net/ethernet/intel/igb/igb_main.c
3106
snprintf(adapter->fw_version,
drivers/net/ethernet/intel/igb/igb_main.c
3107
sizeof(adapter->fw_version),
drivers/net/ethernet/intel/igc/igc.h
331
char fw_version[32];
drivers/net/ethernet/intel/igc/igc_ethtool.c
150
scnprintf(adapter->fw_version,
drivers/net/ethernet/intel/igc/igc_ethtool.c
151
sizeof(adapter->fw_version),
drivers/net/ethernet/intel/igc/igc_ethtool.c
156
strscpy(drvinfo->fw_version, adapter->fw_version,
drivers/net/ethernet/intel/igc/igc_ethtool.c
157
sizeof(drvinfo->fw_version));
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
1883
u16 fw_version = 0;
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
1908
if (hw->eeprom.ops.read(hw, offset, &fw_version))
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
1911
if (fw_version > 0x5)
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
1177
strscpy(drvinfo->fw_version, adapter->eeprom_id,
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
1178
sizeof(drvinfo->fw_version));
drivers/net/ethernet/marvell/mv643xx_eth.c
1612
strscpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version));
drivers/net/ethernet/marvell/prestera/prestera_ethtool.c
306
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/marvell/pxa168_eth.c
1359
strscpy(info->fw_version, "N/A", sizeof(info->fw_version));
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
95
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
55
count = snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
58
if (count >= sizeof(drvinfo->fw_version))
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
59
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
82
count = snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
85
if (count >= sizeof(drvinfo->fw_version))
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
86
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/mellanox/mlxsw/minimal.c
97
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c
21
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/meta/fbnic/fbnic.h
200
void fbnic_get_fw_ver_commit_str(struct fbnic_dev *fbd, char *fw_version,
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
135
fbnic_get_fw_ver_commit_str(fbd, drvinfo->fw_version,
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
136
sizeof(drvinfo->fw_version));
drivers/net/ethernet/meta/fbnic/fbnic_fw.c
1893
void fbnic_get_fw_ver_commit_str(struct fbnic_dev *fbd, char *fw_version,
drivers/net/ethernet/meta/fbnic/fbnic_fw.c
1903
fw_version, str_sz);
drivers/net/ethernet/mucse/rnpgbe/rnpgbe_mbx_fw.h
27
__le32 fw_version;
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
1662
strscpy(info->fw_version, mgp->fw_version, sizeof(info->fw_version));
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
238
char fw_version[128];
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
556
strscpy(mgp->fw_version, hdr->version, sizeof(mgp->fw_version));
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
558
sscanf(mgp->fw_version, "%d.%d.%d", &mgp->fw_ver_major,
drivers/net/ethernet/myricom/myri10ge/myri10ge.c
563
dev_err(dev, "Found firmware version %s\n", mgp->fw_version);
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
211
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/pensando/ionic/ionic_dev.c
188
memcpy_fromio(idev->dev_info.fw_version,
drivers/net/ethernet/pensando/ionic/ionic_dev.c
189
idev->dev_info_regs->fw_version,
drivers/net/ethernet/pensando/ionic/ionic_dev.c
196
idev->dev_info.fw_version[IONIC_DEVINFO_FWVERS_BUFLEN] = 0;
drivers/net/ethernet/pensando/ionic/ionic_dev.c
199
dev_dbg(ionic->dev, "fw_version %s\n", idev->dev_info.fw_version);
drivers/net/ethernet/pensando/ionic/ionic_dev.h
151
char fw_version[IONIC_DEVINFO_FWVERS_BUFLEN + 1];
drivers/net/ethernet/pensando/ionic/ionic_devlink.c
31
idev->dev_info.fw_version);
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
80
strscpy(drvinfo->fw_version, ionic->idev.dev_info.fw_version,
drivers/net/ethernet/pensando/ionic/ionic_ethtool.c
81
sizeof(drvinfo->fw_version));
drivers/net/ethernet/pensando/ionic/ionic_if.h
3253
char fw_version[IONIC_DEVINFO_FWVERS_BUFLEN];
drivers/net/ethernet/pensando/ionic/ionic_main.c
642
if (isprint(idev->dev_info.fw_version[0]) &&
drivers/net/ethernet/pensando/ionic/ionic_main.c
643
isascii(idev->dev_info.fw_version[0]))
drivers/net/ethernet/pensando/ionic/ionic_main.c
645
(int)(sizeof(idev->dev_info.fw_version) - 1),
drivers/net/ethernet/pensando/ionic/ionic_main.c
646
idev->dev_info.fw_version);
drivers/net/ethernet/pensando/ionic/ionic_main.c
649
(u8)idev->dev_info.fw_version[0],
drivers/net/ethernet/pensando/ionic/ionic_main.c
650
(u8)idev->dev_info.fw_version[1],
drivers/net/ethernet/pensando/ionic/ionic_main.c
651
(u8)idev->dev_info.fw_version[2],
drivers/net/ethernet/pensando/ionic/ionic_main.c
652
(u8)idev->dev_info.fw_version[3]);
drivers/net/ethernet/qlogic/netxen/netxen_nic.h
1678
u32 fw_version;
drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c
75
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c
821
dump->version = adapter->fw_version;
drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c
2487
hdr->driver_info_word2 = adapter->fw_version;
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
839
prev_fw_version = adapter->fw_version;
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
840
adapter->fw_version = NETXEN_VERSION_CODE(fw_major, fw_minor, fw_build);
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
845
adapter->fw_version > prev_fw_version) {
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
865
if (adapter->fw_version < NETXEN_VERSION_CODE(3, 4, 216)) {
drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c
881
if (adapter->fw_version >= NETXEN_VERSION_CODE(4, 0, 222))
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
634
snprintf(info->fw_version, sizeof(info->fw_version),
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
637
snprintf(info->fw_version, sizeof(info->fw_version),
drivers/net/ethernet/qlogic/qlcnic/qlcnic.h
1181
u32 fw_version;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
275
adapter->fw_version = QLCNIC_VERSION_CODE(fw_major, fw_minor, fw_build);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
280
return adapter->fw_version;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
3603
if (adapter->fw_version != QLCNIC_VERSION_CODE(major, minor, sub)) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
1693
prev_ver = p_dev->fw_version;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
1670
dump->version = adapter->fw_version;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c
277
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1224
prev_fw_version = adapter->fw_version;
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1230
adapter->fw_version = QLCNIC_VERSION_CODE(fw_major, fw_minor, fw_build);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
1239
adapter->fw_version > prev_fw_version) {
drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c
1336
qlcnic_set_sys_info(adapter, tmpl_hdr, 1, adapter->fw_version);
drivers/net/ethernet/qlogic/qlcnic/qlcnic_minidump.c
1422
prev_version = adapter->fw_version;
drivers/net/ethernet/qualcomm/qca_debug.c
156
strscpy(p->fw_version, "QCA7000", sizeof(p->fw_version));
drivers/net/ethernet/realtek/r8169_main.c
1789
BUILD_BUG_ON(sizeof(info->fw_version) < sizeof(rtl_fw->version));
drivers/net/ethernet/realtek/r8169_main.c
1791
strscpy(info->fw_version, rtl_fw->version);
drivers/net/ethernet/sfc/ef100_nic.c
1016
char fw_version[32];
drivers/net/ethernet/sfc/ef100_nic.c
1096
efx_mcdi_print_fwver(efx, fw_version, sizeof(fw_version));
drivers/net/ethernet/sfc/ef100_nic.c
1097
pci_dbg(efx->pci_dev, "Firmware version %s\n", fw_version);
drivers/net/ethernet/sfc/ef100_nic.c
1105
if (compare_versions(fw_version, "1.1.0.1000") < 0) {
drivers/net/ethernet/sfc/ethtool_common.c
109
efx_mcdi_print_fwver(efx, info->fw_version,
drivers/net/ethernet/sfc/ethtool_common.c
110
sizeof(info->fw_version));
drivers/net/ethernet/sfc/siena/ethtool_common.c
109
efx_siena_mcdi_print_fwver(efx, info->fw_version,
drivers/net/ethernet/sfc/siena/ethtool_common.c
110
sizeof(info->fw_version));
drivers/net/ethernet/socionext/sni_ave.c
401
ave_hw_read_version(ndev, info->fw_version, sizeof(info->fw_version));
drivers/net/ethernet/sun/niu.c
6823
snprintf(info->fw_version, sizeof(info->fw_version), "%d.%d",
drivers/net/ethernet/synopsys/dwc-xlgmac-ethtool.c
119
snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version),
drivers/net/ethernet/tehuti/tehuti.c
2138
strscpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version));
drivers/net/ethernet/wangxun/libwx/wx_ethtool.c
227
strscpy(info->fw_version, wx->eeprom_id, sizeof(info->fw_version));
drivers/net/ethernet/wangxun/libwx/wx_sriov.c
698
unsigned long fw_version = 0ULL;
drivers/net/ethernet/wangxun/libwx/wx_sriov.c
701
ret = kstrtoul(wx->eeprom_id, 16, &fw_version);
drivers/net/ethernet/wangxun/libwx/wx_sriov.c
704
msgbuf[1] = fw_version;
drivers/net/ethernet/xscale/ixp4xx_eth.c
1003
snprintf(info->fw_version, sizeof(info->fw_version), "%u:%u:%u:%u",
drivers/net/fjes/fjes_ethtool.c
140
strscpy(drvinfo->fw_version, "none", sizeof(drvinfo->fw_version));
drivers/net/hyperv/netvsc_drv.c
910
strscpy(info->fw_version, "N/A", sizeof(info->fw_version));
drivers/net/phy/as21xxx.c
573
char fw_version[AEON_IPC_DATA_MAX + 1];
drivers/net/phy/as21xxx.c
584
memcpy(fw_version, ret_data, ret);
drivers/net/phy/as21xxx.c
585
fw_version[ret] = '\0';
drivers/net/phy/as21xxx.c
587
phydev_info(phydev, "Firmware Version: %s\n", fw_version);
drivers/net/phy/mxl-gpy.c
350
int fw_version;
drivers/net/phy/mxl-gpy.c
368
fw_version = phy_read(phydev, PHY_FWV);
drivers/net/phy/mxl-gpy.c
369
if (fw_version < 0)
drivers/net/phy/mxl-gpy.c
370
return fw_version;
drivers/net/phy/mxl-gpy.c
371
priv->fw_major = FIELD_GET(PHY_FWV_MAJOR_MASK, fw_version);
drivers/net/phy/mxl-gpy.c
372
priv->fw_minor = FIELD_GET(PHY_FWV_MINOR_MASK, fw_version);
drivers/net/phy/mxl-gpy.c
380
priv->fw_major, priv->fw_minor, fw_version,
drivers/net/phy/mxl-gpy.c
381
fw_version & PHY_FWV_REL_MASK ? "" : " test version");
drivers/net/pse-pd/si3474.c
477
u8 fw_version;
drivers/net/pse-pd/si3474.c
501
fw_version = ret;
drivers/net/pse-pd/si3474.c
508
ret, fw_version);
drivers/net/rionet.c
448
strscpy(info->fw_version, "n/a", sizeof(info->fw_version));
drivers/net/usb/aqc111.c
208
snprintf(info->fw_version, sizeof(info->fw_version), "%u.%u.%u",
drivers/net/usb/r8152.c
8756
strscpy(info->fw_version, tp->rtl_fw.version,
drivers/net/usb/r8152.c
8757
sizeof(info->fw_version));
drivers/net/usb/usbnet.c
1102
strscpy(info->fw_version, dev->driver_info->description,
drivers/net/usb/usbnet.c
1103
sizeof(info->fw_version));
drivers/net/wireless/ath/ath10k/core.c
2068
if (ie_len > sizeof(fw_file->fw_version) - 1)
drivers/net/wireless/ath/ath10k/core.c
2071
memcpy(fw_file->fw_version, data, ie_len);
drivers/net/wireless/ath/ath10k/core.c
2072
fw_file->fw_version[ie_len] = '\0';
drivers/net/wireless/ath/ath10k/core.c
2076
fw_file->fw_version);
drivers/net/wireless/ath/ath10k/core.c
3136
ar->hw->wiphy->fw_version);
drivers/net/wireless/ath/ath10k/core.c
3410
BUILD_BUG_ON(sizeof(ar->hw->wiphy->fw_version) !=
drivers/net/wireless/ath/ath10k/core.c
3411
sizeof(ar->normal_mode_fw.fw_file.fw_version));
drivers/net/wireless/ath/ath10k/core.c
3412
memcpy(ar->hw->wiphy->fw_version, ar->normal_mode_fw.fw_file.fw_version,
drivers/net/wireless/ath/ath10k/core.c
3413
sizeof(ar->hw->wiphy->fw_version));
drivers/net/wireless/ath/ath10k/core.h
947
char fw_version[ETHTOOL_FWVERS_LEN];
drivers/net/wireless/ath/ath10k/coredump.c
1549
strscpy(dump_data->fw_ver, ar->hw->wiphy->fw_version,
drivers/net/wireless/ath/ath10k/debug.c
69
ar->hw->wiphy->fw_version,
drivers/net/wireless/ath/ath10k/qmi.c
625
qmi->fw_version = resp->fw_version_info.fw_version;
drivers/net/wireless/ath/ath10k/qmi.c
639
qmi->fw_version, qmi->fw_build_timestamp, qmi->fw_build_id);
drivers/net/wireless/ath/ath10k/qmi.h
105
u32 fw_version;
drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c
316
fw_version),
drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h
189
u32 fw_version;
drivers/net/wireless/ath/ath10k/testmode.c
396
if (strlen(ar->testmode.utf_mode_fw.fw_file.fw_version) > 0)
drivers/net/wireless/ath/ath10k/testmode.c
397
ver = ar->testmode.utf_mode_fw.fw_file.fw_version;
drivers/net/wireless/ath/ath10k/wmi.c
5594
if (strlen(ar->hw->wiphy->fw_version) == 0) {
drivers/net/wireless/ath/ath10k/wmi.c
5595
snprintf(ar->hw->wiphy->fw_version,
drivers/net/wireless/ath/ath10k/wmi.c
5596
sizeof(ar->hw->wiphy->fw_version),
drivers/net/wireless/ath/ath11k/qmi.c
2256
ab->qmi.target.fw_version = resp.fw_version_info.fw_version;
drivers/net/wireless/ath/ath11k/qmi.c
2282
ab->qmi.target.fw_version,
drivers/net/wireless/ath/ath11k/qmi.c
886
fw_version),
drivers/net/wireless/ath/ath11k/qmi.h
117
u32 fw_version;
drivers/net/wireless/ath/ath11k/qmi.h
361
u32 fw_version;
drivers/net/wireless/ath/ath12k/qmi.c
1160
fw_version),
drivers/net/wireless/ath/ath12k/qmi.c
2907
ab->qmi.target.fw_version = resp.fw_version_info.fw_version;
drivers/net/wireless/ath/ath12k/qmi.c
2940
ab->qmi.target.fw_version,
drivers/net/wireless/ath/ath12k/qmi.h
115
u32 fw_version;
drivers/net/wireless/ath/ath12k/qmi.h
443
u32 fw_version;
drivers/net/wireless/ath/ath6kl/hif.c
103
ar->wiphy->fw_version);
drivers/net/wireless/ath/ath6kl/init.c
1017
strscpy(ar->wiphy->fw_version, data,
drivers/net/wireless/ath/ath6kl/init.c
1018
min(sizeof(ar->wiphy->fw_version), ie_len+1));
drivers/net/wireless/ath/ath6kl/init.c
1022
ar->wiphy->fw_version);
drivers/net/wireless/ath/ath6kl/init.c
1789
ar->wiphy->fw_version,
drivers/net/wireless/ath/ath6kl/main.c
543
if (strlen(ar->wiphy->fw_version) == 0) {
drivers/net/wireless/ath/ath6kl/main.c
544
snprintf(ar->wiphy->fw_version,
drivers/net/wireless/ath/ath6kl/main.c
545
sizeof(ar->wiphy->fw_version),
drivers/net/wireless/ath/ath9k/htc_drv_init.c
800
snprintf(hw->wiphy->fw_version, sizeof(hw->wiphy->fw_version), "%d.%d",
drivers/net/wireless/ath/carl9170/fw.c
108
strscpy(ar->hw->wiphy->fw_version, motd_desc->release,
drivers/net/wireless/ath/carl9170/fw.c
109
sizeof(ar->hw->wiphy->fw_version));
drivers/net/wireless/ath/wcn36xx/smd.c
594
wcn->fw_version = rsp->start_rsp_params.version.version;
drivers/net/wireless/ath/wcn36xx/smd.c
605
wcn->fw_version, wcn->fw_revision,
drivers/net/wireless/ath/wcn36xx/testmode.c
72
body->drv_patch = wcn->fw_version;
drivers/net/wireless/ath/wcn36xx/wcn36xx.h
218
u8 fw_version;
drivers/net/wireless/ath/wcn36xx/wcn36xx.h
312
wcn->fw_version == version &&
drivers/net/wireless/ath/wil6210/debugfs.c
2173
if (wil->fw_version[0])
drivers/net/wireless/ath/wil6210/debugfs.c
2174
seq_printf(s, "%s\n", wil->fw_version);
drivers/net/wireless/ath/wil6210/debugfs.c
2180
DEFINE_SHOW_ATTRIBUTE(fw_version);
drivers/net/wireless/ath/wil6210/fw_inc.c
350
memcpy(wil->fw_version,
drivers/net/wireless/ath/wil6210/fw_inc.c
353
sizeof(wil->fw_version) - 1));
drivers/net/wireless/ath/wil6210/main.c
1720
memset(wil->fw_version, 0, sizeof(wil->fw_version));
drivers/net/wireless/ath/wil6210/netdev.c
449
strscpy(wiphy->fw_version, wil->fw_version, sizeof(wiphy->fw_version));
drivers/net/wireless/ath/wil6210/wil6210.h
928
u8 fw_version[ETHTOOL_FWVERS_LEN];
drivers/net/wireless/ath/wil6210/wmi.c
775
wil->fw_version, le32_to_cpu(evt->sw_version),
drivers/net/wireless/ath/wil6210/wmi.c
783
strscpy(wiphy->fw_version, wil->fw_version, sizeof(wiphy->fw_version));
drivers/net/wireless/atmel/at76c50x-usb.c
1639
fwe->fw_version.major = fwh->major;
drivers/net/wireless/atmel/at76c50x-usb.c
1640
fwe->fw_version.minor = fwh->minor;
drivers/net/wireless/atmel/at76c50x-usb.c
1641
fwe->fw_version.patch = fwh->patch;
drivers/net/wireless/atmel/at76c50x-usb.c
1642
fwe->fw_version.build = fwh->build;
drivers/net/wireless/atmel/at76c50x-usb.c
2366
len = sizeof(wiphy->fw_version);
drivers/net/wireless/atmel/at76c50x-usb.c
2367
snprintf(wiphy->fw_version, len, "%d.%d.%d-%d",
drivers/net/wireless/atmel/at76c50x-usb.c
2368
priv->fw_version.major, priv->fw_version.minor,
drivers/net/wireless/atmel/at76c50x-usb.c
2369
priv->fw_version.patch, priv->fw_version.build);
drivers/net/wireless/atmel/at76c50x-usb.c
2386
priv->fw_version.major, priv->fw_version.minor,
drivers/net/wireless/atmel/at76c50x-usb.c
2387
priv->fw_version.patch, priv->fw_version.build);
drivers/net/wireless/atmel/at76c50x-usb.c
2494
if ((fwe->fw_version.major > 0 || fwe->fw_version.minor >= 100)
drivers/net/wireless/atmel/at76c50x-usb.c
2528
memcpy(&priv->fw_version, fwv, sizeof(*fwv));
drivers/net/wireless/atmel/at76c50x-usb.h
365
struct mib_fw_version fw_version;
drivers/net/wireless/atmel/at76c50x-usb.h
434
struct mib_fw_version fw_version;
drivers/net/wireless/broadcom/b43/main.c
2731
snprintf(wiphy->fw_version, sizeof(wiphy->fw_version), "%u.%u",
drivers/net/wireless/broadcom/b43legacy/main.c
1765
snprintf(wiphy->fw_version, sizeof(wiphy->fw_version), "%u.%u",
drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c
579
strscpy(info->fw_version, drvr->fwver, sizeof(info->fw_version));
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c
7859
snprintf(wlc->wiphy->fw_version,
drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c
7860
sizeof(wlc->wiphy->fw_version), "%u.%u", rev, patch);
drivers/net/wireless/intel/ipw2x00/ipw2100.c
5894
strscpy(info->fw_version, fw_ver, sizeof(info->fw_version));
drivers/net/wireless/intel/ipw2x00/ipw2200.c
10395
strscpy(info->fw_version, vers, sizeof(info->fw_version));
drivers/net/wireless/intel/iwlegacy/3945-mac.c
1855
snprintf(il->hw->wiphy->fw_version, sizeof(il->hw->wiphy->fw_version),
drivers/net/wireless/intel/iwlegacy/4965-mac.c
4820
snprintf(il->hw->wiphy->fw_version, sizeof(il->hw->wiphy->fw_version),
drivers/net/wireless/intel/iwlegacy/common.c
4129
IL_ERR("Loaded firmware version: %s\n", il->hw->wiphy->fw_version);
drivers/net/wireless/intel/iwlwifi/dvm/main.c
1479
snprintf(priv->hw->wiphy->fw_version,
drivers/net/wireless/intel/iwlwifi/dvm/main.c
1480
sizeof(priv->hw->wiphy->fw_version),
drivers/net/wireless/intel/iwlwifi/dvm/main.c
1481
"%.31s", fw->fw_version);
drivers/net/wireless/intel/iwlwifi/dvm/main.c
1970
priv->fw->fw_version);
drivers/net/wireless/intel/iwlwifi/fw/debugfs.c
311
fwrt->fw->fw_version);
drivers/net/wireless/intel/iwlwifi/fw/dump.c
199
IWL_ERR(fwrt, "Loaded firmware version: %s\n", fwrt->fw->fw_version);
drivers/net/wireless/intel/iwlwifi/fw/img.h
208
char fw_version[128];
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
1082
snprintf(drv->fw.fw_version,
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
1083
sizeof(drv->fw.fw_version),
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
1865
drv->fw.fw_version, op->name);
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
648
snprintf(drv->fw.fw_version,
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
649
sizeof(drv->fw.fw_version),
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
828
snprintf(drv->fw.fw_version,
drivers/net/wireless/intel/iwlwifi/iwl-drv.c
829
sizeof(drv->fw.fw_version),
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
281
snprintf(wiphy->fw_version,
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
282
sizeof(wiphy->fw_version),
drivers/net/wireless/intel/iwlwifi/mld/mac80211.c
283
"%.31s", mld->fw->fw_version);
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
1411
snprintf(mvm->hw->wiphy->fw_version,
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
1412
sizeof(mvm->hw->wiphy->fw_version),
drivers/net/wireless/intel/iwlwifi/mvm/ops.c
1413
"%.31s", fw->fw_version);
drivers/net/wireless/intersil/p54/fwio.c
123
if (fw_version) {
drivers/net/wireless/intersil/p54/fwio.c
126
fw_version, priv->fw_var >> 8, priv->fw_var & 0xff);
drivers/net/wireless/intersil/p54/fwio.c
127
snprintf(dev->wiphy->fw_version, sizeof(dev->wiphy->fw_version),
drivers/net/wireless/intersil/p54/fwio.c
128
"%.19s - %x.%x", fw_version,
drivers/net/wireless/intersil/p54/fwio.c
34
u8 *fw_version = NULL;
drivers/net/wireless/intersil/p54/fwio.c
77
fw_version = (unsigned char *) bootrec->data;
drivers/net/wireless/intersil/p54/p54.h
75
char fw_version[24];
drivers/net/wireless/marvell/libertas/ethtool.c
17
snprintf(info->fw_version, sizeof(info->fw_version),
drivers/net/wireless/mediatek/mt76/mt7603/mcu.c
207
snprintf(dev->mt76.hw->wiphy->fw_version,
drivers/net/wireless/mediatek/mt76/mt7603/mcu.c
208
sizeof(dev->mt76.hw->wiphy->fw_version),
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
1366
snprintf(dev->mt76.hw->wiphy->fw_version,
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
1367
sizeof(dev->mt76.hw->wiphy->fw_version),
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
1593
snprintf(dev->mt76.hw->wiphy->fw_version,
drivers/net/wireless/mediatek/mt76/mt7615/mcu.c
1594
sizeof(dev->mt76.hw->wiphy->fw_version),
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
3031
snprintf(dev->hw->wiphy->fw_version,
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
3032
sizeof(dev->hw->wiphy->fw_version),
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
3060
snprintf(dev->hw->wiphy->fw_version,
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c
3061
sizeof(dev->hw->wiphy->fw_version),
drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c
166
snprintf(dev->mt76.hw->wiphy->fw_version,
drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c
167
sizeof(dev->mt76.hw->wiphy->fw_version),
drivers/net/wireless/mediatek/mt76/mt7915/coredump.c
333
strscpy(dump->fw_ver, dev->mt76.hw->wiphy->fw_version,
drivers/net/wireless/mediatek/mt76/mt7996/coredump.c
193
strscpy(dump->fw_ver, dev->mt76.hw->wiphy->fw_version,
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c
3112
snprintf(dev->mt76.hw->wiphy->fw_version,
drivers/net/wireless/mediatek/mt76/mt7996/mcu.c
3113
sizeof(dev->mt76.hw->wiphy->fw_version),
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c
1228
strscpy(wiphy->fw_version, hw_info->fw_version,
drivers/net/wireless/quantenna/qtnfmac/cfg80211.c
1229
sizeof(wiphy->fw_version));
drivers/net/wireless/quantenna/qtnfmac/commands.c
970
strscpy(hwinfo->fw_version, bld_label, sizeof(hwinfo->fw_version));
drivers/net/wireless/quantenna/qtnfmac/core.h
118
char fw_version[ETHTOOL_FWVERS_LEN];
drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c
54
snprintf(rt2x00dev->hw->wiphy->fw_version,
drivers/net/wireless/ralink/rt2x00/rt2x00firmware.c
55
sizeof(rt2x00dev->hw->wiphy->fw_version), "%d.%d",
drivers/net/wireless/realtek/rtlwifi/btcoexist/halbtcoutsrc.c
620
*u32_tmp = (rtlhal->fw_version << 16) | rtlhal->fw_subversion;
drivers/net/wireless/realtek/rtlwifi/rtl8188ee/fw.c
122
rtlhal->fw_version = le16_to_cpu(pfwheader->version);
drivers/net/wireless/realtek/rtlwifi/rtl8192c/fw_common.c
151
rtlhal->fw_version = le16_to_cpu(pfwheader->version);
drivers/net/wireless/realtek/rtlwifi/rtl8192cu/hw.c
957
if (rtlhal->fw_version <= 0x20) {
drivers/net/wireless/realtek/rtlwifi/rtl8192d/hw_common.c
133
if (rtlhal->fw_version > 0xe)
drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c
33
rtlhal->fw_version = (u16) GET_FIRMWARE_HDR_VERSION(pfwheader);
drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.c
37
rtlhal->fw_version, rtlhal->fw_subversion,
drivers/net/wireless/realtek/rtlwifi/rtl8192du/fw.c
26
rtlhal->fw_version = (u16)GET_FIRMWARE_HDR_VERSION(pfwheader);
drivers/net/wireless/realtek/rtlwifi/rtl8192du/fw.c
31
rtlhal->fw_version, rtlhal->fw_subversion,
drivers/net/wireless/realtek/rtlwifi/rtl8192ee/fw.c
117
rtlhal->fw_version = le16_to_cpu(pfwheader->version);
drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c
181
rtlhal->fw_version = le16_to_cpu(pfwheader->version);
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c
141
rtlhal->fw_version = le16_to_cpu(pfwheader->version);
drivers/net/wireless/realtek/rtlwifi/rtl8821ae/fw.c
151
rtlhal->fw_version = le16_to_cpu(pfwheader->version);
drivers/net/wireless/realtek/rtlwifi/wifi.h
1613
u16 fw_version;
drivers/net/wireless/silabs/wfx/main.c
391
snprintf(wdev->hw->wiphy->fw_version,
drivers/net/wireless/silabs/wfx/main.c
392
sizeof(wdev->hw->wiphy->fw_version),
drivers/net/wireless/ti/wl1251/acx.c
153
strscpy(buf, rev->fw_version, len);
drivers/net/wireless/ti/wl1251/acx.h
66
char fw_version[20];
drivers/net/wireless/ti/wl1251/main.c
407
strscpy(wiphy->fw_version, wl->fw_ver, sizeof(wiphy->fw_version));
drivers/net/wireless/ti/wlcore/boot.c
44
strscpy(wl->chip.fw_ver_str, static_data->fw_version,
drivers/net/wireless/ti/wlcore/boot.h
26
u8 fw_version[WL1271_FW_VERSION_MAX_LEN];
drivers/net/wireless/ti/wlcore/main.c
1204
strscpy(wiphy->fw_version, wl->chip.fw_ver_str,
drivers/net/wireless/ti/wlcore/main.c
1205
sizeof(wiphy->fw_version));
drivers/net/wireless/ti/wlcore/main.c
2419
strscpy(wiphy->fw_version, wl->chip.fw_ver_str,
drivers/net/wireless/ti/wlcore/main.c
2420
sizeof(wiphy->fw_version));
drivers/net/wireless/zydas/zd1211rw/zd_chip.c
1024
snprintf(wiphy->fw_version, sizeof(wiphy->fw_version),
drivers/nfc/port100.c
1498
u16 fw_version;
drivers/nfc/port100.c
1578
fw_version = port100_get_firmware_version(dev);
drivers/nfc/port100.c
1579
if (!fw_version)
drivers/nfc/port100.c
1585
(fw_version & 0xFF00) >> 8, fw_version & 0xFF);
drivers/pci/switch/switchtec.c
347
static DEVICE_ATTR_RO(fw_version);
drivers/platform/x86/msi-ec.c
1310
u8 fw_version[MSI_EC_FW_VERSION_LENGTH + 1];
drivers/platform/x86/msi-ec.c
1313
result = ec_get_firmware_version(fw_version);
drivers/platform/x86/msi-ec.c
1319
if (match_string(CONFIGS[i]->allowed_fw, -1, fw_version) != -EINVAL) {
drivers/platform/x86/msi-ec.c
1329
if (!isgraph(fw_version[i])) {
drivers/platform/x86/msi-ec.c
1335
pr_warn("Firmware version is not supported: '%s'\n", fw_version);
drivers/ptp/ptp_clockmatrix.c
186
static enum fw_version idtcm_fw_version(const char *version)
drivers/ptp/ptp_clockmatrix.c
188
enum fw_version ver = V_DEFAULT;
drivers/ptp/ptp_clockmatrix.c
2181
enum fw_version fw_ver = channel->idtcm->fw_ver;
drivers/ptp/ptp_clockmatrix.c
821
static int get_output_base_addr(enum fw_version ver, u8 outn)
drivers/ptp/ptp_clockmatrix.h
118
enum fw_version fw_ver;
drivers/ptp/ptp_ocp.c
1904
sprintf(buf, "%d.%d", bp->fw_tag, bp->fw_version);
drivers/ptp/ptp_ocp.c
2678
bp->fw_version = version & 0x7fff;
drivers/ptp/ptp_ocp.c
2703
bp->fw_version = ioread32(&bp->image->version);
drivers/ptp/ptp_ocp.c
2869
bp->fw_version = ioread32(&bp->reg->version);
drivers/ptp/ptp_ocp.c
2910
bp->fw_version = version & 0xffff;
drivers/ptp/ptp_ocp.c
374
u16 fw_version;
drivers/s390/net/qeth_ethtool.c
192
strscpy(info->fw_version, card->info.mcl_level,
drivers/s390/net/qeth_ethtool.c
193
sizeof(info->fw_version));
drivers/scsi/bfa/bfa_fcs.h
812
u8 fw_version[BFA_VERSION_LEN];
drivers/scsi/bfa/bfa_fcs_lport.c
2006
templen = (u16) strlen(fcs_hba_attr->fw_version);
drivers/scsi/bfa/bfa_fcs_lport.c
2007
memcpy(attr->value, fcs_hba_attr->fw_version, templen);
drivers/scsi/bfa/bfa_fcs_lport.c
2597
hba_attr->fw_version);
drivers/scsi/bfa/bfa_ioc.c
2739
memcpy(fw_ver, ioc->attr->fw_version, BFA_VERSION_LEN);
drivers/scsi/bfa/bfi.h
283
char fw_version[BFA_VERSION_LEN];
drivers/scsi/esas2r/atvda.h
973
u32 fw_version;
drivers/scsi/esas2r/esas2r.h
876
u32 fw_version;
drivers/scsi/esas2r/esas2r_init.c
1173
a->fw_version = le16_to_cpu(
drivers/scsi/esas2r/esas2r_init.c
1180
a->fw_version += (major << 16) + (minor << 24);
drivers/scsi/esas2r/esas2r_init.c
1191
|| (be32_to_cpu(a->fw_version) > 0x00524702)) {
drivers/scsi/esas2r/esas2r_init.c
1313
if (a->fw_version == 0)
drivers/scsi/esas2r/esas2r_init.c
1317
(int)LOBYTE(HIWORD(a->fw_version)),
drivers/scsi/esas2r/esas2r_init.c
1318
(int)HIBYTE(HIWORD(a->fw_version)));
drivers/scsi/esas2r/esas2r_ioctl.c
460
gcc->major_rev = LOBYTE(LOWORD(a->fw_version));
drivers/scsi/esas2r/esas2r_ioctl.c
461
gcc->minor_rev = HIBYTE(LOWORD(a->fw_version));
drivers/scsi/esas2r/esas2r_ioctl.c
462
gcc->build_rev = LOBYTE(HIWORD(a->fw_version));
drivers/scsi/esas2r/esas2r_ioctl.c
463
gcc->release_rev = HIBYTE(HIWORD(a->fw_version));
drivers/scsi/esas2r/esas2r_vda.c
321
cfg->data.init.fw_version =
drivers/scsi/esas2r/esas2r_vda.c
324
cfg->data.init.fw_version =
drivers/scsi/fnic/fdls_disc.c
1960
strscpy_pad(data, fw_info->fw_version, FNIC_FDMI_FW_VER_LEN);
drivers/scsi/fnic/vnic_devcmd.h
410
char fw_version[32];
drivers/scsi/ipr.c
2972
driver_dump->ioa_type_entry.fw_version = (ucode_vpd->major_release << 24) |
drivers/scsi/ipr.h
1639
u32 fw_version;
drivers/scsi/megaraid.c
1775
product_info->fw_version[i] =
drivers/scsi/megaraid.c
1776
inquiry->adapter_info.fw_version[i];
drivers/scsi/megaraid.c
1849
adapter->fw_version, adapter->product_info.max_commands,
drivers/scsi/megaraid.c
2076
adapter->fw_version, adapter->bios_version,
drivers/scsi/megaraid.c
316
snprintf(adapter->fw_version, sizeof(adapter->fw_version),
drivers/scsi/megaraid.c
318
adapter->product_info.fw_version[2],
drivers/scsi/megaraid.c
320
adapter->product_info.fw_version[1] & 0x0f,
drivers/scsi/megaraid.c
322
adapter->product_info.fw_version[0] & 0x0f);
drivers/scsi/megaraid.c
323
snprintf(adapter->bios_version, sizeof(adapter->fw_version),
drivers/scsi/megaraid.c
331
memcpy(adapter->fw_version,
drivers/scsi/megaraid.c
332
(char *)adapter->product_info.fw_version, 4);
drivers/scsi/megaraid.c
333
adapter->fw_version[4] = 0;
drivers/scsi/megaraid.c
342
adapter->fw_version, adapter->bios_version, adapter->numldrv);
drivers/scsi/megaraid.c
4283
if (!strcmp(adapter->fw_version, "3.00") ||
drivers/scsi/megaraid.c
4284
!strcmp(adapter->fw_version, "3.01")) {
drivers/scsi/megaraid.c
4316
if (!strcmp(adapter->fw_version, "H01.07") ||
drivers/scsi/megaraid.c
4317
!strcmp(adapter->fw_version, "H01.08") ||
drivers/scsi/megaraid.c
4318
!strcmp(adapter->fw_version, "H01.09") ) {
drivers/scsi/megaraid.h
232
u8 fw_version[16]; /* printable ASCI string */
drivers/scsi/megaraid.h
335
u8 fw_version[4]; /* Firmware version */
drivers/scsi/megaraid.h
833
u8 fw_version[7];
drivers/scsi/megaraid/mbox_defs.h
332
uint8_t fw_version[16];
drivers/scsi/megaraid/mbox_defs.h
511
uint8_t fw_version[4];
drivers/scsi/megaraid/mega_common.h
182
uint8_t fw_version[VERSION_SIZE];
drivers/scsi/megaraid/megaraid_mbox.c
2968
memset(adapter->fw_version, 0, VERSION_SIZE);
drivers/scsi/megaraid/megaraid_mbox.c
2971
memcpy(adapter->fw_version, pinfo->fw_version, 4);
drivers/scsi/megaraid/megaraid_mbox.c
2972
adapter->fw_version[4] = 0;
drivers/scsi/megaraid/megaraid_mbox.c
2979
adapter->fw_version, adapter->bios_version));
drivers/scsi/megaraid/megaraid_mbox.c
3089
(adapter->fw_version[0] > '6' ||
drivers/scsi/megaraid/megaraid_mbox.c
3090
(adapter->fw_version[0] == '6' &&
drivers/scsi/megaraid/megaraid_mbox.c
3091
adapter->fw_version[2] > '6') ||
drivers/scsi/megaraid/megaraid_mbox.c
3092
(adapter->fw_version[0] == '6'
drivers/scsi/megaraid/megaraid_mbox.c
3093
&& adapter->fw_version[2] == '6'
drivers/scsi/megaraid/megaraid_mbox.c
3094
&& adapter->fw_version[3] > '1'))) {
drivers/scsi/mpi3mr/mpi/mpi30_ioc.h
67
struct mpi3_comp_image_version fw_version;
drivers/scsi/mpi3mr/mpi3mr_fw.c
3304
le16_to_cpu(facts_data->fw_version.build_num);
drivers/scsi/mpi3mr/mpi3mr_fw.c
3306
le16_to_cpu(facts_data->fw_version.customer_id);
drivers/scsi/mpi3mr/mpi3mr_fw.c
3307
mrioc->facts.fw_ver.ph_minor = facts_data->fw_version.phase_minor;
drivers/scsi/mpi3mr/mpi3mr_fw.c
3308
mrioc->facts.fw_ver.ph_major = facts_data->fw_version.phase_major;
drivers/scsi/mpi3mr/mpi3mr_fw.c
3309
mrioc->facts.fw_ver.gen_minor = facts_data->fw_version.gen_minor;
drivers/scsi/mpi3mr/mpi3mr_fw.c
3310
mrioc->facts.fw_ver.gen_major = facts_data->fw_version.gen_major;
drivers/scsi/myrb.c
1049
snprintf(cb->fw_version, sizeof(cb->fw_version),
drivers/scsi/myrb.c
1062
strcmp(cb->fw_version, FIRMWARE_27X) >= 0))) {
drivers/scsi/myrb.c
1065
cb->fw_version);
drivers/scsi/myrb.c
1138
if ((cb->fw_version[0] == '4' &&
drivers/scsi/myrb.c
1139
strcmp(cb->fw_version, "4.08") >= 0) ||
drivers/scsi/myrb.c
1140
(cb->fw_version[0] == '5' &&
drivers/scsi/myrb.c
1141
strcmp(cb->fw_version, "5.08") >= 0)) {
drivers/scsi/myrb.c
1153
cb->fw_version, memsize);
drivers/scsi/myrb.c
1354
memcpy(&inq[32], cb->fw_version, 1);
drivers/scsi/myrb.c
1355
memcpy(&inq[33], &cb->fw_version[2], 2);
drivers/scsi/myrb.c
1356
memcpy(&inq[35], &cb->fw_version[7], 1);
drivers/scsi/myrb.c
2151
return snprintf(buf, 16, "%s\n", cb->fw_version);
drivers/scsi/myrb.h
733
unsigned char fw_version[12];
drivers/scsi/myrs.c
586
unsigned char fw_version[12];
drivers/scsi/myrs.c
611
sprintf(fw_version, "%d.%02d-%02d",
drivers/scsi/myrs.c
621
fw_version);
drivers/scsi/myrs.c
654
fw_version, info->physchan_present, info->mem_size_mb);
drivers/scsi/myrs.h
895
unsigned char fw_version[12];
drivers/scsi/pm8001/pm8001_ctl.c
123
static DEVICE_ATTR(fw_version, S_IRUGO, pm8001_ctl_fw_version_show, NULL);
drivers/scsi/pmcraid.c
1304
static int pmcraid_expose_resource(u16 fw_version,
drivers/scsi/pmcraid.c
1310
if (fw_version <= PMCRAID_FW_VERSION_1)
drivers/scsi/pmcraid.c
146
u16 fw_version;
drivers/scsi/pmcraid.c
150
fw_version = be16_to_cpu(pinstance->inq_data->fw_version);
drivers/scsi/pmcraid.c
1519
u16 fw_version;
drivers/scsi/pmcraid.c
1524
fw_version = be16_to_cpu(pinstance->inq_data->fw_version);
drivers/scsi/pmcraid.c
1540
(fw_version <= PMCRAID_FW_VERSION_1 ?
drivers/scsi/pmcraid.c
1568
} else if (!pmcraid_expose_resource(fw_version, cfg_entry)) {
drivers/scsi/pmcraid.c
162
if (fw_version <= PMCRAID_FW_VERSION_1)
drivers/scsi/pmcraid.c
1622
if (fw_version <= PMCRAID_FW_VERSION_1)
drivers/scsi/pmcraid.c
3252
u32 fw_version;
drivers/scsi/pmcraid.c
3256
fw_version = be16_to_cpu(pinstance->inq_data->fw_version);
drivers/scsi/pmcraid.c
3332
(fw_version <= PMCRAID_FW_VERSION_1 ?
drivers/scsi/pmcraid.c
3843
u16 fw_version;
drivers/scsi/pmcraid.c
3851
fw_version = be16_to_cpu(pinstance->inq_data->fw_version);
drivers/scsi/pmcraid.c
3892
if (!pmcraid_expose_resource(fw_version,
drivers/scsi/pmcraid.c
3898
if (fw_version <= PMCRAID_FW_VERSION_1)
drivers/scsi/pmcraid.c
5009
u16 fw_version;
drivers/scsi/pmcraid.c
5015
fw_version = be16_to_cpu(pinstance->inq_data->fw_version);
drivers/scsi/pmcraid.c
5027
if (be16_to_cpu(pinstance->inq_data->fw_version) <=
drivers/scsi/pmcraid.c
5034
if (!pmcraid_expose_resource(fw_version, cfgte))
drivers/scsi/pmcraid.c
5079
(fw_version <= PMCRAID_FW_VERSION_1 ?
drivers/scsi/pmcraid.c
5121
if (be16_to_cpu(pinstance->inq_data->fw_version) <=
drivers/scsi/pmcraid.h
543
__be16 fw_version;
drivers/scsi/qla2xxx/qla_attr.c
2409
static DEVICE_ATTR(fw_version, S_IRUGO, qla2x00_fw_version_show, NULL);
drivers/scsi/qla2xxx/qla_def.h
2917
uint8_t fw_version[32];
drivers/scsi/qla2xxx/qla_gs.c
1725
ha->isp_ops->fw_version_str(vha, eiter->a.fw_version,
drivers/scsi/qla2xxx/qla_gs.c
1726
sizeof(eiter->a.fw_version));
drivers/scsi/qla2xxx/qla_gs.c
1732
"FIRMWARE VERSION = %s.\n", eiter->a.fw_version);
drivers/scsi/qla2xxx/qla_gs.c
855
ha->model_number, ha->mr.fw_version, qla2x00_version_str);
drivers/scsi/qla2xxx/qla_mr.c
1920
memcpy(&vha->hw->mr.fw_version, pinfo->fw_version,
drivers/scsi/qla2xxx/qla_mr.c
1921
sizeof(vha->hw->mr.fw_version));
drivers/scsi/qla2xxx/qla_mr.c
1922
strim(vha->hw->mr.fw_version);
drivers/scsi/qla2xxx/qla_mr.c
703
snprintf(str, size, "%s", ha->mr.fw_version);
drivers/scsi/qla2xxx/qla_mr.h
291
uint8_t fw_version[16];
drivers/scsi/qla2xxx/qla_mr.h
474
uint8_t fw_version[16];
drivers/scsi/qla4xxx/ql4_attr.c
316
static DEVICE_ATTR(fw_version, S_IRUGO, qla4xxx_fw_version_show, NULL);
drivers/scsi/snic/vnic_devcmd.h
174
char fw_version[32];
drivers/soc/qcom/qcom-geni-se.c
1165
static void geni_write_fw_revision(struct geni_se *se, u16 serial_protocol, u16 fw_version)
drivers/soc/qcom/qcom-geni-se.c
1170
reg |= FIELD_PREP(FW_REV_VERSION_MSK, fw_version);
drivers/soc/qcom/qcom-geni-se.c
1269
geni_write_fw_revision(se, le16_to_cpu(hdr->serial_protocol), le16_to_cpu(hdr->fw_version));
drivers/soc/qcom/qcom-geni-se.c
143
__le16 fw_version;
drivers/usb/gadget/function/u_ether.c
117
strscpy(p->fw_version, dev->gadget->name, sizeof(p->fw_version));
drivers/usb/serial/cp210x.c
2117
priv->fw_version = ver[0] << 16 | ver[1] << 8 | ver[2];
drivers/usb/serial/cp210x.c
2153
if (priv->fw_version <= 0x10004)
drivers/usb/serial/cp210x.c
272
u32 fw_version;
drivers/usb/serial/io_ti.c
1025
serial->fw_version = (fw_hdr->major_version << 8) +
drivers/usb/serial/io_ti.c
124
int fw_version;
drivers/usb/serial/io_ti.c
1256
serial->fw_version = download_cur_ver;
drivers/usb/serial/io_ti.c
2521
if (edge_serial->fw_version > FW_HEARTBEAT_VERSION_CUTOFF) {
drivers/usb/typec/anx7411.c
273
int fw_version;
drivers/usb/typec/anx7411.c
873
ctx->fw_version = anx7411_reg_read(ctx->spi_client, FW_VER);
drivers/usb/typec/ucsi/ucsi_ccg.c
1563
uc->fw_version <= CCG_OLD_FW_VERSION)
drivers/usb/typec/ucsi/ucsi_ccg.c
210
u32 fw_version;
drivers/usb/typec/ucsi/ucsi_ccg.c
738
uc->fw_version = CCG_VERSION(uc->version[FW2].app.ver) |
drivers/usb/typec/ucsi/ucsi_stm32g0.c
472
u32 addr = STM32G0_MAIN_MEM_ADDR, ob, fw_version;
drivers/usb/typec/ucsi/ucsi_stm32g0.c
492
ret = ucsi_stm32g0_fw_rcv(g0->ucsi, &fw_version,
drivers/usb/typec/ucsi/ucsi_stm32g0.c
500
if (fw_info->keyword != STM32G0_FW_KEYWORD || fw_info->version == fw_version)
drivers/usb/typec/ucsi/ucsi_stm32g0.c
503
dev_info(g0->dev, "Flashing FW: %08x (%08x cur)\n", fw_info->version, fw_version);
drivers/watchdog/watchdog_dev.c
566
static DEVICE_ATTR_RO(fw_version);
include/linux/firmware/cirrus/cs_dsp_test_utils.h
126
unsigned int fw_version);
include/linux/hyperv.h
1618
const int *fw_version, int fw_vercnt,
include/linux/mfd/intel-m10-bmc.h
193
unsigned int fw_version;
include/linux/mlx5/mlx5_ifc.h
2638
u8 fw_version[0x20];
include/linux/mlx5/mlx5_ifc.h
4974
u8 fw_version[0x20];
include/linux/pds/pds_core_if.h
319
char fw_version[PDS_CORE_FWVERS_BUFLEN];
include/linux/pds/pds_core_if.h
524
char fw_version[PDS_CORE_DEVINFO_FWVERS_BUFLEN];
include/linux/platform_data/cros_ec_commands.h
5761
uint32_t fw_version;
include/net/cfg80211.h
6134
char fw_version[ETHTOOL_FWVERS_LEN];
include/sound/cs35l56.h
444
bool *fw_missing, unsigned int *fw_version);
include/sound/snd_wavefront.h
85
char fw_version[2]; /* major = [0], minor = [1] */
include/uapi/linux/ethtool.h
186
char fw_version[ETHTOOL_FWVERS_LEN];
include/uapi/linux/kfd_ioctl.h
143
__u32 fw_version;
include/uapi/linux/pfrut.h
125
__u32 fw_version;
net/8021q/vlan_dev.c
654
strscpy(info->fw_version, "N/A", sizeof(info->fw_version));
net/batman-adv/mesh-interface.c
895
strscpy(info->fw_version, "N/A", sizeof(info->fw_version));
net/bridge/br_device.c
249
strscpy(info->fw_version, "N/A", sizeof(info->fw_version));
net/dsa/user.c
955
strscpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version));
net/ethtool/ioctl.c
3586
state->info.fw_version,
net/ethtool/ioctl.c
3587
sizeof(state->info.fw_version));
net/ethtool/ioctl.c
773
if (!rsp->info.fw_version[0])
net/ncsi/internal.h
114
u32 fw_version; /* Firmware version */
net/ncsi/ncsi-pkt.h
207
__be32 fw_version; /* f/w version */
net/ncsi/ncsi-rsp.c
779
ncv->fw_version = ntohl(rsp->fw_version);
net/wireless/ethtool.c
20
if (wdev->wiphy->fw_version[0])
net/wireless/ethtool.c
21
strscpy(info->fw_version, wdev->wiphy->fw_version,
net/wireless/ethtool.c
22
sizeof(info->fw_version));
net/wireless/ethtool.c
24
strscpy(info->fw_version, "N/A", sizeof(info->fw_version));
sound/isa/wavefront/wavefront_synth.c
2187
dev->fw_version[0] = rbuf[0];
sound/isa/wavefront/wavefront_synth.c
2188
dev->fw_version[1] = rbuf[1];
sound/soc/codecs/cs35l56-shared.c
1338
bool *fw_missing, unsigned int *fw_version)
sound/soc/codecs/cs35l56-shared.c
1353
cs35l56_base->fw_reg->fw_ver, fw_version);
sound/soc/intel/atom/sst-mfld-dsp.h
242
struct snd_sst_fw_version fw_version;/* Firmware version details */
sound/soc/intel/atom/sst/sst.c
249
if (ctx->fw_version.type == 0 && ctx->fw_version.major == 0 &&
sound/soc/intel/atom/sst/sst.c
250
ctx->fw_version.minor == 0 && ctx->fw_version.build == 0)
sound/soc/intel/atom/sst/sst.c
254
ctx->fw_version.type, ctx->fw_version.major,
sound/soc/intel/atom/sst/sst.c
255
ctx->fw_version.minor, ctx->fw_version.build);
sound/soc/intel/atom/sst/sst.h
410
struct snd_sst_fw_version fw_version;
sound/soc/intel/atom/sst/sst_ipc.c
230
if (memcmp(&sst_drv_ctx->fw_version, &init->fw_version,
sound/soc/intel/atom/sst/sst_ipc.c
231
sizeof(init->fw_version)))
sound/soc/intel/atom/sst/sst_ipc.c
233
init->fw_version.type, init->fw_version.major,
sound/soc/intel/atom/sst/sst_ipc.c
234
init->fw_version.minor, init->fw_version.build);
sound/soc/intel/atom/sst/sst_ipc.c
239
sst_drv_ctx->fw_version.type = init->fw_version.type;
sound/soc/intel/atom/sst/sst_ipc.c
240
sst_drv_ctx->fw_version.major = init->fw_version.major;
sound/soc/intel/atom/sst/sst_ipc.c
241
sst_drv_ctx->fw_version.minor = init->fw_version.minor;
sound/soc/intel/atom/sst/sst_ipc.c
242
sst_drv_ctx->fw_version.build = init->fw_version.build;
sound/soc/intel/avs/messages.c
415
memcpy(&cfg->fw_version, tlv->value, sizeof(cfg->fw_version));
sound/soc/intel/avs/messages.h
461
struct avs_fw_version fw_version;
sound/soc/intel/avs/sysfs.c
15
struct avs_fw_version *fw_version = &adev->fw_cfg.fw_version;
sound/soc/intel/avs/sysfs.c
17
return sysfs_emit(buf, "%d.%d.%d.%d\n", fw_version->major, fw_version->minor,
sound/soc/intel/avs/sysfs.c
18
fw_version->hotfix, fw_version->build);
sound/soc/intel/avs/sysfs.c
20
static DEVICE_ATTR_RO(fw_version);
sound/soc/intel/catpt/sysfs.c
32
static DEVICE_ATTR_RO(fw_version);
sound/soc/sof/ipc3.c
812
memcpy(&sdev->fw_version, v, sizeof(*v));
sound/soc/sof/ipc4-loader.c
85
sdev->fw_version.major = fw_header->major_version;
sound/soc/sof/ipc4-loader.c
86
sdev->fw_version.minor = fw_header->minor_version;
sound/soc/sof/ipc4-loader.c
87
sdev->fw_version.micro = fw_header->hotfix_version;
sound/soc/sof/ipc4-loader.c
88
sdev->fw_version.build = fw_header->build_version;
sound/soc/sof/loader.c
121
ret = snd_sof_debugfs_buf_item(sdev, &sdev->fw_version,
sound/soc/sof/loader.c
122
sizeof(sdev->fw_version),
sound/soc/sof/sof-priv.h
619
struct sof_ipc_fw_version fw_version;
sound/usb/caiaq/device.c
146
cdev->spec.fw_version = le16_to_cpu(cdev->spec.fw_version);
sound/usb/caiaq/device.c
149
cdev->spec.fw_version,
sound/usb/caiaq/device.h
43
unsigned short fw_version;
tools/hv/hv_fcopy_uio_daemon.c
217
unsigned int buflen, const int *fw_version, int fw_vercnt,
tools/hv/hv_fcopy_uio_daemon.c
259
fw_major = (fw_version[i] >> 16);
tools/hv/hv_fcopy_uio_daemon.c
260
fw_minor = (fw_version[i] & 0xFFFF);
tools/power/acpi/tools/pfrut/pfrut.c
181
printf("fw_version:%d\n", cap->fw_version);