| /freebsd/sys/dev/aq/ |
| H A D | aq_fw.c | 169 if (hw->fw_version.raw == 0) in aq_fw_ops_init() 170 hw->fw_version.raw = AQ_READ_REG(hw, 0x18); in aq_fw_ops_init() 173 hw->fw_version.major_version, hw->fw_version.minor_version, in aq_fw_ops_init() 174 hw->fw_version.build_number); in aq_fw_ops_init() 176 if (hw->fw_version.major_version == 1) { in aq_fw_ops_init() 180 } else if (hw->fw_version.major_version >= 2) { in aq_fw_ops_init() 187 hw->fw_version.raw); in aq_fw_ops_init() 353 if ((hw->fw_version.raw = AQ_READ_REG(hw, 0x18)) != 0) in wait_init_mac_firmware()
|
| H A D | aq2_fw.c | 142 hw->fw_version.raw = in aq2_fw_reboot() 168 iface, hw->fw_version.major_version, in aq2_fw_reboot() 169 hw->fw_version.minor_version, hw->fw_version.build_number); in aq2_fw_reboot()
|
| H A D | aq_hw.h | 196 struct aq_hw_fw_version fw_version; member 397 int aq_hw_get_fw_version(struct aq_hw *hw, uint32_t *fw_version);
|
| H A D | aq_hw.c | 181 hw->fw_version.raw = 0; in aq_hw_init_ucp() 200 if (hw->fw_version.major_version == 1) { in aq_hw_init_ucp() 218 if (!aq_hw_ver_match(&ver_expected, &hw->fw_version)) in aq_hw_init_ucp() 220 AQ_CFG_FW_MIN_VER_EXPECTED, hw->fw_version.raw); in aq_hw_init_ucp()
|
| /freebsd/sys/dev/qat/qat_common/ |
| H A D | adf_freebsd_ver_dbg.c | 13 char fw_version[ADF_CFG_MAX_VAL_LEN_IN_BYTES]; in adf_sysctl_read_fw_versions() local 22 snprintf(fw_version, in adf_sysctl_read_fw_versions() 29 snprintf(fw_version, ADF_CFG_MAX_VAL_LEN_IN_BYTES, ""); in adf_sysctl_read_fw_versions() 32 fw_version, in adf_sysctl_read_fw_versions() 33 strnlen(fw_version, ADF_CFG_MAX_VAL_LEN_IN_BYTES)); in adf_sysctl_read_fw_versions()
|
| H A D | adf_init.c | 159 char fw_version[ADF_CFG_MAX_VAL_LEN_IN_BYTES]; in adf_cfg_add_fw_version() local 162 snprintf(fw_version, in adf_cfg_add_fw_version() 169 accel_dev, ADF_GENERAL_SEC, key, (void *)fw_version, ADF_STR)) in adf_cfg_add_fw_version()
|
| /freebsd/usr.sbin/bluetooth/rtlbtfw/ |
| H A D | rtlbt_fw.c | 325 le32toh(fw_header->fw_version), num_patches); in rtlbt_parse_fwfile_v1() 363 memcpy(patch_buf + patch_length - 4, &fw_header->fw_version, 4); in rtlbt_parse_fwfile_v1() 485 hdr->fw_version[0], hdr->fw_version[1], in rtlbt_parse_fwfile_v2() 486 hdr->fw_version[2], hdr->fw_version[3], in rtlbt_parse_fwfile_v2() 487 hdr->fw_version[4], hdr->fw_version[5], in rtlbt_parse_fwfile_v2() 488 hdr->fw_version[6], hdr->fw_version[7]); in rtlbt_parse_fwfile_v2()
|
| H A D | rtlbt_fw.h | 91 uint32_t fw_version; member 97 uint8_t fw_version[8]; member
|
| /freebsd/sys/dev/e1000/ |
| H A D | e1000_nvm.c | 1294 u16 eeprom_verh, eeprom_verl, etrack_test, fw_version; in e1000_get_fw_version() local 1316 hw->nvm.ops.read(hw, NVM_VERSION, 1, &fw_version); in e1000_get_fw_version() 1317 fw_vers->eep_major = (fw_version & NVM_MAJOR_MASK) in e1000_get_fw_version() 1319 fw_vers->eep_minor = (fw_version & NVM_MINOR_MASK) in e1000_get_fw_version() 1321 fw_vers->eep_build = (fw_version & NVM_IMAGE_ID_MASK); in e1000_get_fw_version() 1363 hw->nvm.ops.read(hw, NVM_VERSION, 1, &fw_version); in e1000_get_fw_version() 1364 fw_vers->eep_major = (fw_version & NVM_MAJOR_MASK) in e1000_get_fw_version() 1368 if ((fw_version & NVM_NEW_DEC_MASK) == 0x0) { in e1000_get_fw_version() 1369 eeprom_verl = (fw_version & NVM_COMB_VER_MASK); in e1000_get_fw_version() 1371 eeprom_verl = (fw_version & NVM_MINOR_MASK) in e1000_get_fw_version()
|
| /freebsd/sys/dev/igc/ |
| H A D | igc_nvm.c | 728 u16 eeprom_verh, eeprom_verl, etrack_test, fw_version; in igc_get_fw_version() local 769 hw->nvm.ops.read(hw, NVM_VERSION, 1, &fw_version); in igc_get_fw_version() 770 fw_vers->eep_major = (fw_version & NVM_MAJOR_MASK) in igc_get_fw_version() 774 if ((fw_version & NVM_NEW_DEC_MASK) == 0x0) { in igc_get_fw_version() 775 eeprom_verl = (fw_version & NVM_COMB_VER_MASK); in igc_get_fw_version() 777 eeprom_verl = (fw_version & NVM_MINOR_MASK) in igc_get_fw_version()
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | mt76x02_mcu.c | 166 snprintf(dev->mt76.hw->wiphy->fw_version, in mt76x02_set_ethtool_fwver() 167 sizeof(dev->mt76.hw->wiphy->fw_version), in mt76x02_set_ethtool_fwver()
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | ethtool.h | 49 char fw_version[ETHTOOL_FWVERS_LEN]; member
|
| /freebsd/sys/dev/smartpqi/ |
| H A D | smartpqi_discovery.c | 1244 memcpy(softs->fw_version, identify_ctrl->fw_version, in pqisrc_get_ctrl_fw_version() 1245 sizeof(identify_ctrl->fw_version)); in pqisrc_get_ctrl_fw_version() 1246 softs->fw_version[sizeof(identify_ctrl->fw_version)] = '\0'; in pqisrc_get_ctrl_fw_version() 1247 snprintf(softs->fw_version + in pqisrc_get_ctrl_fw_version() 1248 strlen(softs->fw_version), in pqisrc_get_ctrl_fw_version() 1249 sizeof(softs->fw_version), in pqisrc_get_ctrl_fw_version() 1253 …DBG_NOTE("Firmware version: %s Firmware build number: %d\n", softs->fw_version, softs->fw_build_nu… in pqisrc_get_ctrl_fw_version()
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | qmi.h | 105 u32 fw_version; member
|
| H A D | core.c | 2129 if (ie_len > sizeof(fw_file->fw_version) - 1) in ath10k_core_fetch_firmware_api_n() 2132 memcpy(fw_file->fw_version, data, ie_len); in ath10k_core_fetch_firmware_api_n() 2133 fw_file->fw_version[ie_len] = '\0'; in ath10k_core_fetch_firmware_api_n() 2137 fw_file->fw_version); in ath10k_core_fetch_firmware_api_n() 3218 ar->hw->wiphy->fw_version); in ath10k_core_start() 3492 BUILD_BUG_ON(sizeof(ar->hw->wiphy->fw_version) != in ath10k_core_probe_fw() 3493 sizeof(ar->normal_mode_fw.fw_file.fw_version)); in ath10k_core_probe_fw() 3494 memcpy(ar->hw->wiphy->fw_version, ar->normal_mode_fw.fw_file.fw_version, in ath10k_core_probe_fw() 3495 sizeof(ar->hw->wiphy->fw_version)); in ath10k_core_probe_fw()
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | qmi.h | 121 u32 fw_version; member 365 u32 fw_version; member
|
| /freebsd/sys/dev/sfxge/common/ |
| H A D | siena_nvram.c | 301 sizeof (((siena_mc_dynamic_config_hdr_t *)NULL)->fw_version[0]))) 550 verp = &dcfg->fw_version[partn]; 687 fwverp = &dcfg->fw_version[partn];
|
| H A D | siena_flash.h | 190 siena_mc_fw_version_t fw_version[]; member
|
| /freebsd/sys/dev/ocs_fc/ |
| H A D | ocs_drv_fc.h | 88 const char *fw_version; member
|
| H A D | ocs.h | 123 const char *fw_version; member
|
| /freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
| H A D | mcu.c | 207 snprintf(dev->mt76.hw->wiphy->fw_version, in mt7603_load_firmware() 208 sizeof(dev->mt76.hw->wiphy->fw_version), in mt7603_load_firmware()
|
| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | qmi.h | 115 u32 fw_version; member 443 u32 fw_version; member
|
| /freebsd/sys/contrib/dev/iwlwifi/fw/ |
| H A D | img.h | 208 char fw_version[128]; member
|
| /freebsd/sys/contrib/dev/iwlwifi/ |
| H A D | iwl-drv.c | 669 snprintf(drv->fw.fw_version, in iwl_parse_v1_v2_firmware() 670 sizeof(drv->fw.fw_version), in iwl_parse_v1_v2_firmware() 849 snprintf(drv->fw.fw_version, in iwl_parse_tlv_firmware() 850 sizeof(drv->fw.fw_version), in iwl_parse_tlv_firmware() 1103 snprintf(drv->fw.fw_version, in iwl_parse_tlv_firmware() 1104 sizeof(drv->fw.fw_version), in iwl_parse_tlv_firmware() 1898 drv->fw.fw_version, op->name); in iwl_req_fw_callback()
|
| /freebsd/sys/dev/mxge/ |
| H A D | if_mxge_var.h | 229 char fw_version[128]; member
|