Home
last modified time | relevance | path

Searched refs:fw_version (Results 1 – 200 of 245) sorted by relevance

12

/linux-4.4.14/net/wireless/
Dethtool.c15 if (wdev->wiphy->fw_version[0]) in cfg80211_get_drvinfo()
16 strlcpy(info->fw_version, wdev->wiphy->fw_version, in cfg80211_get_drvinfo()
17 sizeof(info->fw_version)); in cfg80211_get_drvinfo()
19 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in cfg80211_get_drvinfo()
/linux-4.4.14/drivers/input/mouse/
Delantech.c244 if (etd->fw_version < 0x020000) { in elantech_report_absolute_v1()
289 if (etd->fw_version < 0x020000 && in elantech_report_absolute_v1()
533 if (etd->fw_version & 0x001000) { in elantech_report_absolute_v3()
553 if (etd->fw_version & 0x001000) { in elantech_input_sync_v4()
684 if (etd->fw_version < 0x020000) { in elantech_packet_check_v1()
793 ic_version = (etd->fw_version & 0x0f0000) >> 16; in elantech_packet_check_v4()
1020 if (etd->fw_version == 0x020800 || in elantech_set_range()
1021 etd->fw_version == 0x020b00 || in elantech_set_range()
1022 etd->fw_version == 0x020030) { in elantech_set_range()
1031 i = (etd->fw_version > 0x020800 && in elantech_set_range()
[all …]
Delantech.h139 unsigned int fw_version; member
Dcypress_ps2.h153 int fw_version; member
Dcypress_ps2.c235 cytp->fw_version = param[2] & FW_VERSION_MASX; in cypress_read_fw_version()
242 if (cytp->fw_version >= 11) in cypress_read_fw_version()
245 psmouse_dbg(psmouse, "cytp->fw_version = %d\n", cytp->fw_version); in cypress_read_fw_version()
Delan_i2c_core.c81 u8 fw_version; member
255 error = data->ops->get_version(data->client, false, &data->fw_version); in elan_query_device_info()
465 return sprintf(buf, "%d.0\n", data->fw_version); in elan_sysfs_read_fw_ver()
1059 data->fw_version, in elan_probe()
/linux-4.4.14/drivers/mfd/
Dqcom_rpm.c465 u32 fw_version[3]; in qcom_rpm_probe() local
533 fw_version[0] = readl(RPM_STATUS_REG(rpm, 0)); in qcom_rpm_probe()
534 fw_version[1] = readl(RPM_STATUS_REG(rpm, 1)); in qcom_rpm_probe()
535 fw_version[2] = readl(RPM_STATUS_REG(rpm, 2)); in qcom_rpm_probe()
536 if (fw_version[0] != rpm->data->version) { in qcom_rpm_probe()
539 fw_version[0], in qcom_rpm_probe()
540 fw_version[1], in qcom_rpm_probe()
541 fw_version[2], in qcom_rpm_probe()
546 dev_info(&pdev->dev, "RPM firmware %u.%u.%u\n", fw_version[0], in qcom_rpm_probe()
547 fw_version[1], in qcom_rpm_probe()
[all …]
/linux-4.4.14/drivers/bluetooth/
Dath3k.c394 struct ath3k_version fw_version; in ath3k_load_patch() local
409 ret = ath3k_get_version(udev, &fw_version); in ath3k_load_patch()
416 le32_to_cpu(fw_version.rom_version)); in ath3k_load_patch()
429 if (pt_rom_version != le32_to_cpu(fw_version.rom_version) || in ath3k_load_patch()
430 pt_build_version <= le32_to_cpu(fw_version.build_version)) { in ath3k_load_patch()
447 struct ath3k_version fw_version; in ath3k_load_syscfg() local
456 ret = ath3k_get_version(udev, &fw_version); in ath3k_load_syscfg()
462 switch (fw_version.ref_clock) { in ath3k_load_syscfg()
479 le32_to_cpu(fw_version.rom_version), clk_value, ".dfu"); in ath3k_load_syscfg()
Dbtrtl.h37 __le32 fw_version; member
Dbtrtl.c156 le32_to_cpu(epatch_info->fw_version), num_patches); in rtl8723b_parse_firmware()
202 memcpy(buf + patch_length - 4, &epatch_info->fw_version, 4); in rtl8723b_parse_firmware()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
De1000_nvm.c708 u16 eeprom_verh, eeprom_verl, etrack_test, fw_version; in igb_get_fw_version() local
729 hw->nvm.ops.read(hw, NVM_VERSION, 1, &fw_version); in igb_get_fw_version()
730 fw_vers->eep_major = (fw_version & NVM_MAJOR_MASK) in igb_get_fw_version()
732 fw_vers->eep_minor = (fw_version & NVM_MINOR_MASK) in igb_get_fw_version()
734 fw_vers->eep_build = (fw_version & NVM_IMAGE_ID_MASK); in igb_get_fw_version()
774 hw->nvm.ops.read(hw, NVM_VERSION, 1, &fw_version); in igb_get_fw_version()
775 fw_vers->eep_major = (fw_version & NVM_MAJOR_MASK) in igb_get_fw_version()
779 if ((fw_version & NVM_NEW_DEC_MASK) == 0x0) { in igb_get_fw_version()
780 eeprom_verl = (fw_version & NVM_COMB_VER_MASK); in igb_get_fw_version()
782 eeprom_verl = (fw_version & NVM_MINOR_MASK) in igb_get_fw_version()
Digb.h451 char fw_version[32]; member
Digb_main.c2109 snprintf(adapter->fw_version, in igb_set_fw_version()
2110 sizeof(adapter->fw_version), in igb_set_fw_version()
2120 snprintf(adapter->fw_version, in igb_set_fw_version()
2121 sizeof(adapter->fw_version), in igb_set_fw_version()
2127 snprintf(adapter->fw_version, in igb_set_fw_version()
2128 sizeof(adapter->fw_version), in igb_set_fw_version()
2132 snprintf(adapter->fw_version, in igb_set_fw_version()
2133 sizeof(adapter->fw_version), in igb_set_fw_version()
Digb_ethtool.c841 strlcpy(drvinfo->fw_version, adapter->fw_version, in igb_get_drvinfo()
842 sizeof(drvinfo->fw_version)); in igb_get_drvinfo()
/linux-4.4.14/drivers/media/usb/dvb-usb/
Ddib0700_core.c139 if (st->fw_version >= 0x10201) { in dib0700_set_usb_xfer_len()
477 u32 fw_version; in dib0700_download_firmware() local
525 fw_version = (buf[8] << 24) | (buf[9] << 16) | (buf[10] << 8) | buf[11]; in dib0700_download_firmware()
532 if (fw_version >= 0x10201) { in dib0700_download_firmware()
553 if ((onoff != 0) && (st->fw_version >= 0x10201)) { in dib0700_streaming_ctrl()
628 if (st->fw_version < 0x10200) { in dib0700_change_protocol()
780 if (st->fw_version < 0x10200 || !intf) in dib0700_rc_setup()
849 u32 hwversion, romversion, fw_version, fwtype; in dib0700_probe() local
852 &fw_version, &fwtype); in dib0700_probe()
855 hwversion, romversion, fw_version, fwtype); in dib0700_probe()
[all …]
Ddib0700.h49 u32 fw_version; member
Ddib0700_devices.c527 if (st->fw_version >= 0x10200) { in dib0700_rc_query_old_firmware()
2130 u32 fw_version; in tfe8096p_frontend_attach() local
2136 dib0700_get_version(adap->dev, NULL, NULL, &fw_version, NULL); in tfe8096p_frontend_attach()
2137 if (fw_version >= 0x10200) in tfe8096p_frontend_attach()
2370 u32 fw_version; in stk9090m_frontend_attach() local
2373 dib0700_get_version(adap->dev, NULL, NULL, &fw_version, NULL); in stk9090m_frontend_attach()
2374 if (fw_version >= 0x10200) in stk9090m_frontend_attach()
2438 u32 fw_version; in nim9090md_frontend_attach() local
2441 dib0700_get_version(adap->dev, NULL, NULL, &fw_version, NULL); in nim9090md_frontend_attach()
2442 if (fw_version >= 0x10200) in nim9090md_frontend_attach()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_vce.c58 static const char *fw_version = "[ATI LIB=VCEFW,"; in radeon_vce_init() local
97 size = rdev->vce_fw->size - strlen(fw_version) - 9; in radeon_vce_init()
100 if (strncmp(c, fw_version, strlen(fw_version)) == 0) in radeon_vce_init()
106 c += strlen(fw_version); in radeon_vce_init()
128 rdev->vce.fw_version = (start << 24) | (mid << 16) | (end << 8); in radeon_vce_init()
131 if ((rdev->vce.fw_version != ((40 << 24) | (2 << 16) | (2 << 8))) && in radeon_vce_init()
132 (rdev->vce.fw_version != ((50 << 24) | (0 << 16) | (1 << 8))) && in radeon_vce_init()
133 (rdev->vce.fw_version != ((50 << 24) | (1 << 16) | (2 << 8)))) in radeon_vce_init()
Dsumo_smc.c102 if (pi->fw_version >= 0x00010C00) in sumo_is_alt_vddnb_supported()
Dsumo_dpm.h114 u32 fw_version; member
Dradeon_kms.c516 *value = rdev->vce.fw_version; in radeon_info_ioctl()
Dsumo_dpm.c1360 pi->fw_version = sumo_get_running_fw_version(rdev); in sumo_dpm_setup_asic()
1361 DRM_INFO("Found smc ucode version: 0x%08x\n", pi->fw_version); in sumo_dpm_setup_asic()
/linux-4.4.14/drivers/infiniband/ulp/ipoib/
Dipoib_ethtool.c47 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in ipoib_get_drvinfo()
/linux-4.4.14/drivers/input/touchscreen/
Dwacom_i2c.c35 char fw_version; member
84 features->fw_version = get_unaligned_le16(&data[13]); in wacom_query_device()
89 features->pressure_max, features->fw_version); in wacom_query_device()
183 input->id.version = features.fw_version; in wacom_i2c_probe()
Dedt-ft5x06.c760 char *fw_version) in edt_ft5x06_ts_identify() argument
793 strlcpy(fw_version, p ? p : "", EDT_NAME_LEN); in edt_ft5x06_ts_identify()
803 strlcpy(fw_version, rdbuf, 2); in edt_ft5x06_ts_identify()
886 char fw_version[EDT_NAME_LEN]; in edt_ft5x06_ts_probe() local
946 error = edt_ft5x06_ts_identify(client, tsdata, fw_version); in edt_ft5x06_ts_probe()
958 tsdata->name, fw_version, tsdata->num_x, tsdata->num_y); in edt_ft5x06_ts_probe()
Delants_i2c.c130 u16 fw_version; member
338 ts->fw_version = elants_i2c_parse_version(resp); in elants_i2c_query_fw_version()
339 if (ts->fw_version != 0x0000 && in elants_i2c_query_fw_version()
340 ts->fw_version != 0xffff) in elants_i2c_query_fw_version()
1039 static ELANTS_VERSION_ATTR(fw_version);
Dwdt87xx_i2c.c934 static DEVICE_ATTR_RO(fw_version);
/linux-4.4.14/drivers/net/wireless/rt2x00/
Drt2x00firmware.c65 snprintf(rt2x00dev->hw->wiphy->fw_version, in rt2x00lib_request_firmware()
66 sizeof(rt2x00dev->hw->wiphy->fw_version), "%d.%d", in rt2x00lib_request_firmware()
/linux-4.4.14/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c292 sizeof(info->fw_version)) { in qede_get_drvinfo()
293 snprintf(info->fw_version, sizeof(info->fw_version), in qede_get_drvinfo()
296 snprintf(info->fw_version, sizeof(info->fw_version), in qede_get_drvinfo()
/linux-4.4.14/drivers/net/fjes/
Dfjes_ethtool.c105 strlcpy(drvinfo->fw_version, "none", sizeof(drvinfo->fw_version)); in fjes_get_drvinfo()
/linux-4.4.14/drivers/net/wireless/libertas/
Dethtool.c16 snprintf(info->fw_version, sizeof(info->fw_version), in lbs_ethtool_get_drvinfo()
/linux-4.4.14/drivers/net/wimax/i2400m/
Di2400m.h641 unsigned long fw_version; /* version of the firmware interface */ member
942 return i2400m->fw_version <= 0x00090001; in i2400m_le_v1_3()
949 return i2400m->fw_version >= 0x00090002; in i2400m_ge_v1_4()
Dnetdev.c602 strlcpy(info->fw_version, i2400m->fw_name ? : "", in i2400m_get_drvinfo()
603 sizeof(info->fw_version)); in i2400m_get_drvinfo()
Dusb.c350 strlcpy(info->fw_version, i2400m->fw_name ? : "", in i2400mu_get_drvinfo()
351 sizeof(info->fw_version)); in i2400mu_get_drvinfo()
Dcontrol.c1068 i2400m->fw_version = major << 16 | minor; in i2400m_firmware_check()
/linux-4.4.14/drivers/net/ethernet/toshiba/
Dspider_net_ethtool.c78 strlcpy(drvinfo->fw_version, "no information", in spider_net_ethtool_get_drvinfo()
79 sizeof(drvinfo->fw_version)); in spider_net_ethtool_get_drvinfo()
/linux-4.4.14/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.c139 struct sst_byt_fw_version fw_version; member
756 init.fw_version.major, init.fw_version.minor, in sst_byt_dsp_init()
757 init.fw_version.build, init.fw_version.type); in sst_byt_dsp_init()
758 dev_info(byt->dev, "Build type: %x\n", init.fw_version.type); in sst_byt_dsp_init()
/linux-4.4.14/drivers/media/pci/ngene/
Dngene-cards.c626 .fw_version = 18,
640 .fw_version = 18,
655 .fw_version = 18,
670 .fw_version = 18,
686 .fw_version = 18,
705 .fw_version = 15,
Dngene.h828 int fw_version; member
Dngene-core.c1237 version = dev->card_info->fw_version; in ngene_load_firm()
1311 if (dev->card_info->fw_version >= 17) { in ngene_buffer_config()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_fw_file_hdr.h37 struct bnx2x_fw_file_section fw_version; member
/linux-4.4.14/drivers/net/wireless/p54/
Dfwio.c37 u8 *fw_version = NULL; in p54_parse_firmware() local
80 fw_version = (unsigned char *) bootrec->data; in p54_parse_firmware()
126 if (fw_version) { in p54_parse_firmware()
129 fw_version, priv->fw_var >> 8, priv->fw_var & 0xff); in p54_parse_firmware()
130 snprintf(dev->wiphy->fw_version, sizeof(dev->wiphy->fw_version), in p54_parse_firmware()
131 "%s - %x.%x", fw_version, in p54_parse_firmware()
Dp54.h78 char fw_version[24]; member
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dboot.h40 u8 fw_version[WL1271_FW_VERSION_MAX_LEN]; member
Dboot.c58 strncpy(wl->chip.fw_ver_str, static_data->fw_version, in wlcore_boot_parse_fw_ver()
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/
Dwcn36xx.h192 u8 fw_version; member
255 wcn->fw_version == version && in wcn36xx_is_fw_version()
Dsmd.c395 wcn->fw_version = rsp->start_rsp_params.version.version; in wcn36xx_smd_start_rsp()
404 wcn->fw_version, wcn->fw_revision, in wcn36xx_smd_start_rsp()
/linux-4.4.14/drivers/net/wireless/
Dat76c50x-usb.c1651 fwe->fw_version.major = fwh->major; in at76_load_firmware()
1652 fwe->fw_version.minor = fwh->minor; in at76_load_firmware()
1653 fwe->fw_version.patch = fwh->patch; in at76_load_firmware()
1654 fwe->fw_version.build = fwh->build; in at76_load_firmware()
2370 len = sizeof(wiphy->fw_version); in at76_init_new_device()
2371 snprintf(wiphy->fw_version, len, "%d.%d.%d-%d", in at76_init_new_device()
2372 priv->fw_version.major, priv->fw_version.minor, in at76_init_new_device()
2373 priv->fw_version.patch, priv->fw_version.build); in at76_init_new_device()
2388 priv->fw_version.major, priv->fw_version.minor, in at76_init_new_device()
2389 priv->fw_version.patch, priv->fw_version.build); in at76_init_new_device()
[all …]
Dat76c50x-usb.h369 struct mib_fw_version fw_version; member
438 struct mib_fw_version fw_version; member
/linux-4.4.14/drivers/scsi/
Dpmcraid.c159 u16 fw_version; in pmcraid_slave_alloc() local
163 fw_version = be16_to_cpu(pinstance->inq_data->fw_version); in pmcraid_slave_alloc()
175 if (fw_version <= PMCRAID_FW_VERSION_1) in pmcraid_slave_alloc()
1333 static int pmcraid_expose_resource(u16 fw_version, in pmcraid_expose_resource() argument
1339 if (fw_version <= PMCRAID_FW_VERSION_1) in pmcraid_expose_resource()
1555 u16 fw_version; in pmcraid_handle_config_change() local
1560 fw_version = be16_to_cpu(pinstance->inq_data->fw_version); in pmcraid_handle_config_change()
1576 (fw_version <= PMCRAID_FW_VERSION_1 ? in pmcraid_handle_config_change()
1604 if (fw_version <= PMCRAID_FW_VERSION_1) in pmcraid_handle_config_change()
1609 } else if (!pmcraid_expose_resource(fw_version, cfg_entry)) { in pmcraid_handle_config_change()
[all …]
Dmegaraid.c314 sprintf (adapter->fw_version, "%c%d%d.%d%d", in mega_query_adapter()
315 adapter->product_info.fw_version[2], in mega_query_adapter()
317 adapter->product_info.fw_version[1] & 0x0f, in mega_query_adapter()
319 adapter->product_info.fw_version[0] & 0x0f); in mega_query_adapter()
327 memcpy(adapter->fw_version, in mega_query_adapter()
328 (char *)adapter->product_info.fw_version, 4); in mega_query_adapter()
329 adapter->fw_version[4] = 0; in mega_query_adapter()
338 adapter->fw_version, adapter->bios_version, adapter->numldrv); in mega_query_adapter()
1785 product_info->fw_version[i] = in mega_8_to_40ld()
1786 inquiry->adapter_info.fw_version[i]; in mega_8_to_40ld()
[all …]
Dmegaraid.h230 u8 fw_version[16]; /* printable ASCI string */ member
333 u8 fw_version[4]; /* Firmware version */ member
811 u8 fw_version[7]; member
Dpmcraid.h557 __le16 fw_version; member
/linux-4.4.14/drivers/message/fusion/
Dmptctl.h389 u8 fw_version[16]; /* string */ member
412 u8 fw_version[16]; /* string */ member
Dmptctl.c2486 karg.fw_version[0] = ioc->facts.FWVersion.Struct.Major >= 10 ? in mptctl_hp_hostinfo()
2488 karg.fw_version[1] = (ioc->facts.FWVersion.Struct.Major % 10 ) + '0'; in mptctl_hp_hostinfo()
2489 karg.fw_version[2] = '.'; in mptctl_hp_hostinfo()
2490 karg.fw_version[3] = ioc->facts.FWVersion.Struct.Minor >= 10 ? in mptctl_hp_hostinfo()
2492 karg.fw_version[4] = (ioc->facts.FWVersion.Struct.Minor % 10 ) + '0'; in mptctl_hp_hostinfo()
2493 karg.fw_version[5] = '.'; in mptctl_hp_hostinfo()
2494 karg.fw_version[6] = ioc->facts.FWVersion.Struct.Unit >= 10 ? in mptctl_hp_hostinfo()
2496 karg.fw_version[7] = (ioc->facts.FWVersion.Struct.Unit % 10 ) + '0'; in mptctl_hp_hostinfo()
2497 karg.fw_version[8] = '.'; in mptctl_hp_hostinfo()
2498 karg.fw_version[9] = ioc->facts.FWVersion.Struct.Dev >= 10 ? in mptctl_hp_hostinfo()
[all …]
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c302 fw_info.ver = adev->vce.fw_version; in amdgpu_info_ioctl()
306 fw_info.ver = adev->uvd.fw_version; in amdgpu_info_ioctl()
310 fw_info.ver = adev->mc.fw_version; in amdgpu_info_ioctl()
340 fw_info.ver = adev->pm.fw_version; in amdgpu_info_ioctl()
346 fw_info.ver = adev->sdma.instance[info->query_fw.index].fw_version; in amdgpu_info_ioctl()
Damdgpu_vce.c143 adev->vce.fw_version = ((version_major << 24) | (version_minor << 16) | in amdgpu_vce_sw_init()
396 if ((ring->adev->vce.fw_version >> 24) >= 52) in amdgpu_vce_get_create_msg()
411 if ((ring->adev->vce.fw_version >> 24) >= 52) { in amdgpu_vce_get_create_msg()
Dci_smc.c223 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_ci_load_smc_ucode()
Damdgpu_cgs.c726 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_cgs_get_firmware_info()
732 info->version = adev->pm.fw_version; in amdgpu_cgs_get_firmware_info()
Damdgpu.h741 uint32_t fw_version; member
1660 uint32_t fw_version; member
1676 unsigned fw_version; member
1698 unsigned fw_version; member
1716 uint32_t fw_version; member
Diceland_smc.c285 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in iceland_smu_upload_firmware_image()
Dcik_sdma.c514 adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version); in cik_sdma_load_microcode()
523 WREG32(mmSDMA0_UCODE_ADDR + sdma_offsets[i], adev->sdma.instance[i].fw_version); in cik_sdma_load_microcode()
Dsdma_v2_4.c147 adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version); in sdma_v2_4_init_microcode()
564 WREG32(mmSDMA0_UCODE_ADDR + sdma_offsets[i], adev->sdma.instance[i].fw_version); in sdma_v2_4_load_microcode()
Dsdma_v3_0.c244 adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version); in sdma_v3_0_init_microcode()
712 WREG32(mmSDMA0_UCODE_ADDR + sdma_offsets[i], adev->sdma.instance[i].fw_version); in sdma_v3_0_load_microcode()
Dfiji_smc.c278 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in fiji_smu_upload_firmware_image()
Dtonga_smc.c278 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in tonga_smu_upload_firmware_image()
Damdgpu_uvd.c159 adev->uvd.fw_version = ((version_major << 24) | (version_minor << 16) | in amdgpu_uvd_sw_init()
Dgmc_v8_0.c258 adev->mc.fw_version = le32_to_cpu(hdr->header.ucode_version); in gmc_v8_0_mc_load_microcode()
Dgmc_v7_0.c217 adev->mc.fw_version = le32_to_cpu(hdr->header.ucode_version); in gmc_v7_0_mc_load_microcode()
/linux-4.4.14/drivers/clk/ux500/
Du8500_of_clk.c68 struct prcmu_fw_version *fw_version; in u8500_clk_init() local
112 fw_version = prcmu_get_fw_version(); in u8500_clk_init()
113 if (fw_version != NULL) { in u8500_clk_init()
114 switch (fw_version->project) { in u8500_clk_init()
/linux-4.4.14/drivers/net/ethernet/qualcomm/
Dqca_debug.c185 strlcpy(p->fw_version, "QCA7000", sizeof(p->fw_version)); in qcaspi_get_drvinfo()
/linux-4.4.14/drivers/iio/accel/
Dmma9551_core.c111 u8 fw_version[2]; member
622 be32_to_cpu(info.device_id), info.fw_version[0], in mma9551_read_version()
623 info.fw_version[1]); in mma9551_read_version()
/linux-4.4.14/sound/usb/caiaq/
Ddevice.c173 cdev->spec.fw_version = le16_to_cpu(cdev->spec.fw_version); in usb_ep1_command_reply_dispatch()
176 cdev->spec.fw_version, in usb_ep1_command_reply_dispatch()
Ddevice.h42 unsigned short fw_version; member
/linux-4.4.14/drivers/media/pci/bt8xx/
Ddst.c935 memcpy(&state->fw_version, &state->rxbuffer, 8); in dst_fw_ver()
937 state->fw_version[0] >> 4, state->fw_version[0] & 0x0f, in dst_fw_ver()
938 state->fw_version[1], in dst_fw_ver()
939 state->fw_version[5], state->fw_version[6], in dst_fw_ver()
940 state->fw_version[4], state->fw_version[3], state->fw_version[2]); in dst_fw_ver()
Ddst_common.h134 u8 fw_version[8]; member
/linux-4.4.14/drivers/net/can/softing/
Dsofting.h68 uint16_t fw_version, hw_version, license, serial; member
Dsofting_fw.c373 card->id.fw_version = ioread16(&card->dpram[DPRAM_FCT_PARAM + 2]); in softing_chip_poweron()
Dsofting_main.c713 DEV_ATTR_RO(firmware_version, id.fw_version);
/linux-4.4.14/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c53 u8 fw_version[3]; /* Firmware version */ member
879 pdev->usb_if->fw_info.fw_version[0], in pcan_usb_fd_init()
880 pdev->usb_if->fw_info.fw_version[1], in pcan_usb_fd_init()
881 pdev->usb_if->fw_info.fw_version[2], in pcan_usb_fd_init()
885 if (pdev->usb_if->fw_info.fw_version[0] >= 2) { in pcan_usb_fd_init()
/linux-4.4.14/drivers/net/can/usb/
Dkvaser_usb.c231 __le32 fw_version; member
241 __le32 fw_version; member
463 u32 fw_version; member
663 dev->fw_version = le32_to_cpu(msg.u.leaf.softinfo.fw_version); in kvaser_usb_get_software_info()
668 dev->fw_version = le32_to_cpu(msg.u.usbcan.softinfo.fw_version); in kvaser_usb_get_software_info()
2025 ((dev->fw_version >> 24) & 0xff), in kvaser_usb_probe()
2026 ((dev->fw_version >> 16) & 0xff), in kvaser_usb_probe()
2027 (dev->fw_version & 0xffff)); in kvaser_usb_probe()
/linux-4.4.14/include/sound/
Dsnd_wavefront.h83 char fw_version[2]; /* major = [0], minor = [1] */ member
/linux-4.4.14/drivers/firmware/efi/
Desrt.c32 u32 fw_version; member
133 esre_attr_decl(fw_version, 32, "%u");
/linux-4.4.14/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c352 strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); in uec_get_drvinfo()
Dgianfar_ethtool.c183 strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); in gfar_gdrvinfo()
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Denic_ethtool.c146 strlcpy(drvinfo->fw_version, fw_info->fw_version, in enic_get_drvinfo()
147 sizeof(drvinfo->fw_version)); in enic_get_drvinfo()
Dvnic_devcmd.h467 char fw_version[32]; member
/linux-4.4.14/drivers/net/wireless/iwlwifi/
Diwl-drv.c547 snprintf(drv->fw.fw_version, in iwl_parse_v1_v2_firmware()
548 sizeof(drv->fw.fw_version), in iwl_parse_v1_v2_firmware()
633 snprintf(drv->fw.fw_version, in iwl_parse_tlv_firmware()
634 sizeof(drv->fw.fw_version), in iwl_parse_tlv_firmware()
893 snprintf(drv->fw.fw_version, in iwl_parse_tlv_firmware()
894 sizeof(drv->fw.fw_version), "%u.%u.%u", in iwl_parse_tlv_firmware()
1392 drv->fw.fw_version, op->name); in iwl_req_fw_callback()
Diwl-fw.h249 char fw_version[ETHTOOL_FWVERS_LEN]; member
/linux-4.4.14/drivers/scsi/megaraid/
Dmbox_defs.h337 uint8_t fw_version[16]; member
516 uint8_t fw_version[4]; member
Dmega_common.h186 uint8_t fw_version[VERSION_SIZE]; member
Dmegaraid_mbox.c3030 memset(adapter->fw_version, 0, VERSION_SIZE); in megaraid_mbox_product_info()
3033 memcpy(adapter->fw_version, pinfo->fw_version, 4); in megaraid_mbox_product_info()
3034 adapter->fw_version[4] = 0; in megaraid_mbox_product_info()
3041 adapter->fw_version, adapter->bios_version)); in megaraid_mbox_product_info()
3152 (adapter->fw_version[0] > '6' || in megaraid_mbox_support_random_del()
3153 (adapter->fw_version[0] == '6' && in megaraid_mbox_support_random_del()
3154 adapter->fw_version[2] > '6') || in megaraid_mbox_support_random_del()
3155 (adapter->fw_version[0] == '6' in megaraid_mbox_support_random_del()
3156 && adapter->fw_version[2] == '6' in megaraid_mbox_support_random_del()
3157 && adapter->fw_version[3] > '1'))) { in megaraid_mbox_support_random_del()
/linux-4.4.14/net/bridge/
Dbr_device.c216 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in br_getinfo()
/linux-4.4.14/drivers/hv/
Dchannel_mgmt.c56 int fw_version, int srv_version) in vmbus_prep_negotiate_resp() argument
66 fw_major = (fw_version >> 16); in vmbus_prep_negotiate_resp()
67 fw_minor = (fw_version & 0xFFFF); in vmbus_prep_negotiate_resp()
/linux-4.4.14/drivers/scsi/esas2r/
Desas2r_init.c1252 a->fw_version = le16_to_cpu( in esas2r_format_init_msg()
1259 a->fw_version += (major << 16) + (minor << 24); in esas2r_format_init_msg()
1270 || (be32_to_cpu(a->fw_version) > 0x00524702)) { in esas2r_format_init_msg()
1391 if (a->fw_version == 0) in esas2r_init_adapter_hw()
1395 (int)LOBYTE(HIWORD(a->fw_version)), in esas2r_init_adapter_hw()
1396 (int)HIBYTE(HIWORD(a->fw_version))); in esas2r_init_adapter_hw()
Desas2r_vda.c321 cfg->data.init.fw_version = in esas2r_complete_vda_ioctl()
324 cfg->data.init.fw_version = in esas2r_complete_vda_ioctl()
Desas2r_ioctl.c458 gcc->major_rev = LOBYTE(LOWORD(a->fw_version)); in csmi_ioctl_callback()
459 gcc->minor_rev = HIBYTE(LOWORD(a->fw_version)); in csmi_ioctl_callback()
460 gcc->build_rev = LOBYTE(HIWORD(a->fw_version)); in csmi_ioctl_callback()
461 gcc->release_rev = HIBYTE(HIWORD(a->fw_version)); in csmi_ioctl_callback()
Datvda.h973 u32 fw_version; member
Desas2r.h876 u32 fw_version; member
/linux-4.4.14/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ethtool.c53 snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "N/A"); in xgene_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c316 strlcpy(drvinfo->fw_version, "L1e", sizeof(drvinfo->fw_version)); in atl1e_get_drvinfo()
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_mr.h289 uint8_t fw_version[16]; member
472 uint8_t fw_version[16]; member
Dqla_gs.c632 ha->mr.fw_version, qla2x00_version_str); in qla2x00_get_sym_node_name()
1415 ha->isp_ops->fw_version_str(vha, eiter->a.fw_version, in qla2x00_fdmi_rhba()
1416 sizeof(eiter->a.fw_version)); in qla2x00_fdmi_rhba()
1417 alen = strlen(eiter->a.fw_version); in qla2x00_fdmi_rhba()
1423 "Firmware vers = %s.\n", eiter->a.fw_version); in qla2x00_fdmi_rhba()
1840 ha->isp_ops->fw_version_str(vha, eiter->a.fw_version, in qla2x00_fdmiv2_rhba()
1841 sizeof(eiter->a.fw_version)); in qla2x00_fdmiv2_rhba()
1842 alen = strlen(eiter->a.fw_version); in qla2x00_fdmiv2_rhba()
1848 "Firmware vers = %s.\n", eiter->a.fw_version); in qla2x00_fdmiv2_rhba()
Dqla_mr.c702 snprintf(str, size, "%s", ha->mr.fw_version); in qlafx00_fw_version_str()
1947 memcpy(&vha->hw->mr.fw_version, pinfo->fw_version, in qlafx00_fx_disc()
1948 sizeof(vha->hw->mr.fw_version)); in qlafx00_fx_disc()
1949 strim(vha->hw->mr.fw_version); in qlafx00_fx_disc()
/linux-4.4.14/drivers/scsi/snic/
Dvnic_devcmd.h188 char fw_version[32]; member
/linux-4.4.14/drivers/nfc/
Dport100.c1425 u16 fw_version; in port100_probe() local
1502 fw_version = port100_get_firmware_version(dev); in port100_probe()
1503 if (!fw_version) in port100_probe()
1509 (fw_version & 0xFF00) >> 8, fw_version & 0xFF); in port100_probe()
/linux-4.4.14/drivers/net/wireless/ath/carl9170/
Dfw.c121 strlcpy(ar->hw->wiphy->fw_version, motd_desc->release, in carl9170_fw_info()
122 sizeof(ar->hw->wiphy->fw_version)); in carl9170_fw_info()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dwmi.c288 wil->fw_version = le32_to_cpu(evt->sw_version); in wmi_evt_ready()
291 wil_info(wil, "FW ver. %d; MAC %pM; %d MID's\n", wil->fw_version, in wmi_evt_ready()
294 snprintf(wdev->wiphy->fw_version, sizeof(wdev->wiphy->fw_version), in wmi_evt_ready()
295 "%d", wil->fw_version); in wmi_evt_ready()
Dwil6210.h549 u32 fw_version; member
/linux-4.4.14/drivers/scsi/fnic/
Dvnic_devcmd.h301 char fw_version[32]; member
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-ethtool.c374 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), "%d.%d.%d", in xgbe_get_drvinfo()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dacx.c152 strncpy(buf, rev->fw_version, min(len, sizeof(rev->fw_version))); in wl1251_acx_fw_version()
159 buf[min(len, sizeof(rev->fw_version)) - 1] = '\0'; in wl1251_acx_fw_version()
Dmain.c427 strncpy(wiphy->fw_version, wl->fw_ver, sizeof(wiphy->fw_version)); in wl1251_op_start()
Dacx.h80 char fw_version[20]; member
/linux-4.4.14/drivers/net/irda/
Dirda-usb.c1073 unsigned long fw_version = 0; in stir421x_patch_device() local
1105 fw_version = (major << 12) in stir421x_patch_device()
1111 __func__, fw_version); in stir421x_patch_device()
1115 if (self->usbdev->descriptor.bcdDevice == cpu_to_le16(fw_version)) { in stir421x_patch_device()
/linux-4.4.14/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c229 strlcpy(drvinfo->fw_version, adapter->fw_ver, in be_get_drvinfo()
230 sizeof(drvinfo->fw_version)); in be_get_drvinfo()
232 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in be_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/altera/
Daltera_tse_ethtool.c82 snprintf(info->fw_version, ETHTOOL_FWVERS_LEN, "v%d.%d", in tse_get_drvinfo()
/linux-4.4.14/include/uapi/linux/
Dcyclades.h445 __u32 fw_version; /* firmware version */ member
Dethtool.h179 char fw_version[ETHTOOL_FWVERS_LEN]; member
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-firmware-efi-esrt48 What: /sys/firmware/efi/esrt/entries/entry$N/fw_version
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c91 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in netxen_nic_get_drvinfo()
838 dump->version = adapter->fw_version; in netxen_get_dump_flag()
Dnetxen_nic_main.c867 prev_fw_version = adapter->fw_version; in netxen_check_options()
868 adapter->fw_version = NETXEN_VERSION_CODE(fw_major, fw_minor, fw_build); in netxen_check_options()
873 adapter->fw_version > prev_fw_version) { in netxen_check_options()
893 if (adapter->fw_version < NETXEN_VERSION_CODE(3, 4, 216)) { in netxen_check_options()
909 if (adapter->fw_version >= NETXEN_VERSION_CODE(4, 0, 222)) in netxen_check_options()
Dnetxen_nic.h1697 u32 fw_version; member
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dcore.c1059 if (ie_len > sizeof(ar->hw->wiphy->fw_version) - 1) in ath10k_core_fetch_firmware_api_n()
1062 memcpy(ar->hw->wiphy->fw_version, data, ie_len); in ath10k_core_fetch_firmware_api_n()
1063 ar->hw->wiphy->fw_version[ie_len] = '\0'; in ath10k_core_fetch_firmware_api_n()
1067 ar->hw->wiphy->fw_version); in ath10k_core_fetch_firmware_api_n()
1657 ar->hw->wiphy->fw_version); in ath10k_core_start()
Ddebug.c144 ar->hw->wiphy->fw_version, in ath10k_print_driver_info()
721 strlcpy(dump_data->fw_ver, ar->hw->wiphy->fw_version, in ath10k_build_dump_file()
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c4188 cmaj = vdev->config.device_hw_info.fw_version.major; in vxge_fw_upgrade()
4189 cmin = vdev->config.device_hw_info.fw_version.minor; in vxge_fw_upgrade()
4190 cbld = vdev->config.device_hw_info.fw_version.build; in vxge_fw_upgrade()
4228 maj = vdev->config.device_hw_info.fw_version.major; in vxge_probe_fw_update()
4229 min = vdev->config.device_hw_info.fw_version.minor; in vxge_probe_fw_update()
4230 bld = vdev->config.device_hw_info.fw_version.build; in vxge_probe_fw_update()
4528 if (VXGE_FW_VER(ll_config->device_hw_info.fw_version.major, in vxge_probe()
4529 ll_config->device_hw_info.fw_version.minor, in vxge_probe()
4530 ll_config->device_hw_info.fw_version.build) >= in vxge_probe()
4675 ll_config->device_hw_info.fw_version.version, in vxge_probe()
[all …]
Dvxge-main.h399 char fw_version[VXGE_HW_FW_STRLEN]; member
Dvxge-config.c807 struct vxge_hw_device_version *fw_version = &hw_info->fw_version; in __vxge_hw_vpath_fw_ver_get() local
831 fw_version->major = in __vxge_hw_vpath_fw_ver_get()
833 fw_version->minor = in __vxge_hw_vpath_fw_ver_get()
835 fw_version->build = in __vxge_hw_vpath_fw_ver_get()
838 snprintf(fw_version->version, VXGE_HW_FW_STRLEN, "%d.%d.%d", in __vxge_hw_vpath_fw_ver_get()
839 fw_version->major, fw_version->minor, fw_version->build); in __vxge_hw_vpath_fw_ver_get()
Dvxge-ethtool.c106 strlcpy(info->fw_version, vdev->fw_version, sizeof(info->fw_version)); in vxge_ethtool_gdrvinfo()
Dvxge-config.h821 struct vxge_hw_device_version fw_version; member
/linux-4.4.14/drivers/media/dvb-frontends/
Ddib9000.c764 u16 fw_version = 0; in dib9000_risc_check_version() local
766 if (dib9000_mbx_send(state, OUT_MSG_REQ_VERSION, &fw_version, 1) != 0) in dib9000_risc_check_version()
772 fw_version = (r[0] << 8) | r[1]; in dib9000_risc_check_version()
773 dprintk("RISC: ver: %d.%02d (IC: %d)", fw_version >> 10, fw_version & 0x3ff, (r[2] << 8) | r[3]); in dib9000_risc_check_version()
775 if ((fw_version >> 10) != 7) in dib9000_risc_check_version()
778 switch (fw_version & 0x3ff) { in dib9000_risc_check_version()
/linux-4.4.14/drivers/net/
Drionet.c428 strlcpy(info->fw_version, "n/a", sizeof(info->fw_version)); in rionet_get_drvinfo()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dinit.c997 strlcpy(ar->wiphy->fw_version, data, in ath6kl_fetch_fw_apin()
998 min(sizeof(ar->wiphy->fw_version), ie_len+1)); in ath6kl_fetch_fw_apin()
1002 ar->wiphy->fw_version); in ath6kl_fetch_fw_apin()
1766 ar->wiphy->fw_version, in __ath6kl_init_hw_start()
Dmain.c537 if (strlen(ar->wiphy->fw_version) == 0) { in ath6kl_ready_event()
538 snprintf(ar->wiphy->fw_version, in ath6kl_ready_event()
539 sizeof(ar->wiphy->fw_version), in ath6kl_ready_event()
Dhif.c106 ar->wiphy->fw_version); in ath6kl_hif_dump_fw_crash()
/linux-4.4.14/drivers/input/misc/
Dims-pcu.c69 char fw_version[IMS_PCU_FW_VERSION_LEN]; member
1128 static IMS_PCU_RO_ATTR(fw_version);
1800 snprintf(pcu->fw_version, sizeof(pcu->fw_version), in ims_pcu_get_device_info()
1832 pcu->fw_version, in ims_pcu_get_device_info()
/linux-4.4.14/drivers/net/ethernet/3com/
Dtyphoon.c979 strlcpy(info->fw_version, "Sleep image", in typhoon_get_drvinfo()
980 sizeof(info->fw_version)); in typhoon_get_drvinfo()
984 strlcpy(info->fw_version, "Unknown runtime", in typhoon_get_drvinfo()
985 sizeof(info->fw_version)); in typhoon_get_drvinfo()
988 snprintf(info->fw_version, sizeof(info->fw_version), in typhoon_get_drvinfo()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dfw.c261 rtlhal->fw_version = (u16) GET_FIRMWARE_HDR_VERSION(pfwheader); in rtl92d_download_fw()
265 rtlhal->fw_version, rtlhal->fw_subversion, in rtl92d_download_fw()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ethtool.c217 strcpy(info->fw_version, "N/A"); in get_drvinfo()
219 snprintf(info->fw_version, sizeof(info->fw_version), in get_drvinfo()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_csr.c158 uint32_t fw_version; member
/linux-4.4.14/drivers/infiniband/hw/usnic/
Dusnic_ib_sysfs.c60 return scnprintf(buf, PAGE_SIZE, "%s\n", info.fw_version); in usnic_ib_show_fw_ver()
Dusnic_ib_verbs.c287 usnic_ib_fw_string_to_u64(&info.fw_version[0], &props->fw_ver); in usnic_ib_query_device()
/linux-4.4.14/sound/soc/intel/atom/
Dsst-mfld-dsp.h250 struct snd_sst_fw_version fw_version;/* Firmware version details */ member
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c253 char fw_version[128]; member
571 strncpy(mgp->fw_version, hdr->version, sizeof(mgp->fw_version)); in myri10ge_validate_firmware()
572 mgp->fw_version[sizeof(mgp->fw_version) - 1] = '\0'; in myri10ge_validate_firmware()
574 sscanf(mgp->fw_version, "%d.%d.%d", &mgp->fw_ver_major, in myri10ge_validate_firmware()
579 dev_err(dev, "Found firmware version %s\n", mgp->fw_version); in myri10ge_validate_firmware()
1830 strlcpy(info->fw_version, mgp->fw_version, sizeof(info->fw_version)); in myri10ge_get_drvinfo()
/linux-4.4.14/net/8021q/
Dvlan_dev.c636 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in vlan_ethtool_get_drvinfo()
/linux-4.4.14/net/batman-adv/
Dsoft-interface.c1054 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in batadv_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c411 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in ql_get_drvinfo()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dops.c507 snprintf(mvm->hw->wiphy->fw_version, in iwl_op_mode_mvm_start()
508 sizeof(mvm->hw->wiphy->fw_version), in iwl_op_mode_mvm_start()
509 "%s", fw->fw_version); in iwl_op_mode_mvm_start()
Dutils.c528 IWL_ERR(mvm, "Loaded firmware version: %s\n", mvm->fw->fw_version); in iwl_mvm_dump_nic_error_log_old()
614 IWL_ERR(mvm, "Loaded firmware version: %s\n", mvm->fw->fw_version); in iwl_mvm_dump_nic_error_log()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbfi.h208 char fw_version[BFA_VERSION_LEN]; member
Dbnad_ethtool.c312 strlcpy(drvinfo->fw_version, ioc_attr->adapter_attr.fw_ver, in bnad_get_drvinfo()
313 sizeof(drvinfo->fw_version)); in bnad_get_drvinfo()
/linux-4.4.14/drivers/scsi/qla4xxx/
Dql4_attr.c317 static DEVICE_ATTR(fw_version, S_IRUGO, qla4xxx_fw_version_show, NULL);
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c44 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in mlx5e_get_drvinfo()
/linux-4.4.14/drivers/net/wireless/orinoco/
Dmain.c2047 err = determine_fw_capabilities(priv, wiphy->fw_version, in orinoco_init()
2048 sizeof(wiphy->fw_version), in orinoco_init()
2065 err = determine_fw_capabilities(priv, wiphy->fw_version, in orinoco_init()
2066 sizeof(wiphy->fw_version), in orinoco_init()
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Dmain.c1368 snprintf(priv->hw->wiphy->fw_version, in iwl_op_mode_dvm_start()
1369 sizeof(priv->hw->wiphy->fw_version), in iwl_op_mode_dvm_start()
1370 "%s", fw->fw_version); in iwl_op_mode_dvm_start()
1867 priv->fw->fw_version); in iwl_nic_error()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82599.c1892 u16 fw_version = 0; in ixgbe_verify_fw_version_82599() local
1916 if (hw->eeprom.ops.read(hw, offset, &fw_version)) in ixgbe_verify_fw_version_82599()
1919 if (fw_version > 0x5) in ixgbe_verify_fw_version_82599()
/linux-4.4.14/drivers/usb/gadget/function/
Du_ether.c169 strlcpy(p->fw_version, dev->gadget->name, sizeof(p->fw_version)); in eth_get_drvinfo()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dhtc_drv_init.c800 snprintf(hw->wiphy->fw_version, sizeof(hw->wiphy->fw_version), "%d.%d", in ath9k_init_firmware_version()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.c232 rtlhal->fw_version = le16_to_cpu(pfwheader->version); in rtl8821ae_download_fw()
242 rtlhal->fw_version = le16_to_cpu(pfwheader->version); in rtl8821ae_download_fw()
/linux-4.4.14/drivers/net/hyperv/
Dnetvsc_drv.c757 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in netvsc_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dbnx2.c7034 strlcpy(info->fw_version, bp->fw_version, sizeof(info->fw_version)); in bnx2_get_drvinfo()
8081 memcpy(bp->fw_version, &data[j], len); in bnx2_read_vpd_fw_ver()
8082 bp->fw_version[len] = ' '; in bnx2_read_vpd_fw_ver()
8272 j = strlen(bp->fw_version); in bnx2_init_board()
8278 bp->fw_version[j++] = 'b'; in bnx2_init_board()
8279 bp->fw_version[j++] = 'c'; in bnx2_init_board()
8280 bp->fw_version[j++] = ' '; in bnx2_init_board()
8285 bp->fw_version[j++] = (num / k) + '0'; in bnx2_init_board()
8290 bp->fw_version[j++] = '.'; in bnx2_init_board()
8313 bp->fw_version[j++] = ' '; in bnx2_init_board()
[all …]
Dbcm63xx_enet.c1334 strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); in bcm_enet_get_drvinfo()
2602 strncpy(drvinfo->fw_version, "N/A", 32); in bcm_enetsw_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dethtool.c171 efx_mcdi_print_fwver(efx, info->fw_version, in efx_ethtool_get_drvinfo()
172 sizeof(info->fw_version)); in efx_ethtool_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ethtool.c431 strlcpy(info->fw_version, bp->fw_ver_str, sizeof(info->fw_version)); in bnxt_get_drvinfo()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcore.c621 strlcpy(info->fw_version, drvr->fwver, sizeof(info->fw_version)); in brcmf_ethtool_get_drvinfo()
/linux-4.4.14/drivers/usb/serial/
Dio_ti.c130 int fw_version; member
1030 serial->fw_version = (fw_hdr->major_version << 8) + in download_fw()
1262 serial->fw_version = download_cur_ver; in do_download_mode()
2571 if (edge_serial->fw_version > FW_HEARTBEAT_VERSION_CUTOFF) { in edge_startup()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c278 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in qlcnic_get_drvinfo()
1671 dump->version = adapter->fw_version; in qlcnic_get_dump_flag()
Dqlcnic_minidump.c1337 qlcnic_set_sys_info(adapter, tmpl_hdr, 1, adapter->fw_version); in qlcnic_dump_fw()
1421 prev_version = adapter->fw_version; in qlcnic_83xx_get_minidump_template()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf_ethtool.c212 strlcpy(drvinfo->fw_version, "N/A", 4); in i40evf_get_drvinfo()
/linux-4.4.14/net/dsa/
Dslave.c661 strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); in dsa_slave_get_drvinfo()
/linux-4.4.14/sound/isa/wavefront/
Dwavefront_synth.c2164 dev->fw_version[0] = rbuf[0]; in snd_wavefront_detect()
2165 dev->fw_version[1] = rbuf[1]; in snd_wavefront_detect()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dswitchx2.c398 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in mlxsw_sx_port_get_drvinfo()
Dspectrum.c750 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in mlxsw_sp_port_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dpxa168_eth.c1400 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in pxa168_get_drvinfo()
/linux-4.4.14/drivers/net/cris/
Deth_v10.c1453 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in e100_get_drvinfo()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dfw.c211 rtlhal->fw_version = le16_to_cpu(pfwheader->version); in rtl92ee_download_fw()
/linux-4.4.14/drivers/scsi/pm8001/
Dpm8001_ctl.c100 static DEVICE_ATTR(fw_version, S_IRUGO, pm8001_ctl_fw_version_show, NULL);
/linux-4.4.14/drivers/media/common/siano/
Dsmscoreapi.h210 u16 fw_version; member
Dsmscoreapi.c1371 if (coredev->fw_version >= 0x800) { in smscore_set_device_mode()
1547 coredev->fw_version = ver->rom_ver_major << 8 | in smscore_onresponse()
Dsmsdvb-main.c731 if (client->coredev->fw_version >= 0x800) in smsdvb_send_statistics_request()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.c242 rtlhal->fw_version = le16_to_cpu(pfwheader->version); in rtl92c_download_fw()
/linux-4.4.14/drivers/net/ethernet/octeon/
Docteon_mgmt.c1345 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in octeon_mgmt_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/adi/
Dbfin_mac.c497 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in bfin_mac_ethtool_getdrvinfo()
/linux-4.4.14/drivers/net/ethernet/xscale/
Dixp4xx_eth.c1002 snprintf(info->fw_version, sizeof(info->fw_version), "%u:%u:%u:%u", in ixp4xx_get_drvinfo()
/linux-4.4.14/drivers/net/wireless/zd1211rw/
Dzd_chip.c1037 snprintf(wiphy->fw_version, sizeof(wiphy->fw_version), in print_fw_version()
/linux-4.4.14/drivers/net/ethernet/aeroflex/
Dgreth.c1143 strlcpy(info->fw_version, "N/A", sizeof(info->fw_version)); in greth_get_drvinfo()
/linux-4.4.14/drivers/scsi/bfa/
Dbfi.h290 char fw_version[BFA_VERSION_LEN]; member
Dbfa_fcs.h648 u8 fw_version[BFA_VERSION_LEN]; member
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c333 *u32_tmp = rtlhal->fw_version; in halbtc_get()
/linux-4.4.14/drivers/net/ethernet/amd/
Damd8111e.c1407 snprintf(info->fw_version, sizeof(info->fw_version), in amd8111e_get_drvinfo()
/linux-4.4.14/drivers/infiniband/hw/cxgb3/
Diwch_provider.c1165 next = info.fw_version + 1; in fw_vers_string_to_u64()
1286 return sprintf(buf, "%s\n", info.fw_version); in show_fw_ver()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c91 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in mlx4_en_get_drvinfo()
/linux-4.4.14/drivers/net/usb/
Dusbnet.c1013 strlcpy (info->fw_version, dev->driver_info->description, in usbnet_get_drvinfo()
1014 sizeof info->fw_version); in usbnet_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/tehuti/
Dtehuti.c2182 strlcpy(drvinfo->fw_version, "N/A", sizeof(drvinfo->fw_version)); in bdx_get_drvinfo()
/linux-4.4.14/drivers/infiniband/hw/nes/
Dnes_nic.c1324 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in nes_netdev_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
Dethtool.c643 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in e1000_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_ethtool.c669 strncpy(drvinfo->fw_version, "N/A", ETHTOOL_FWVERS_LEN); in hns_nic_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/atheros/atlx/
Datl2.c2030 strlcpy(drvinfo->fw_version, "L2", sizeof(drvinfo->fw_version)); in atl2_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/
Dcxgb4vf_main.c1343 snprintf(drvinfo->fw_version, sizeof(drvinfo->fw_version), in cxgb4vf_get_drvinfo()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c153 strncpy(drvinfo->fw_version, oct->fw_info.liquidio_firmware_version, in lio_get_drvinfo()

12