Searched refs:fw_vers (Results 1 – 12 of 12) sorted by relevance
/freebsd/sys/dev/igc/ |
H A D | igc_nvm.c | 726 void igc_get_fw_version(struct igc_hw *hw, struct igc_fw_version *fw_vers) in igc_get_fw_version() argument 732 memset(fw_vers, 0, sizeof(struct igc_fw_version)); in igc_get_fw_version() 753 fw_vers->or_valid = true; in igc_get_fw_version() 754 fw_vers->or_major = comb_verl >> in igc_get_fw_version() 756 fw_vers->or_build = (comb_verl << in igc_get_fw_version() 760 fw_vers->or_patch = comb_verh & in igc_get_fw_version() 770 fw_vers->eep_major = (fw_version & NVM_MAJOR_MASK) in igc_get_fw_version() 787 fw_vers->eep_minor = result; in igc_get_fw_version() 792 fw_vers->etrack_id = (eeprom_verh << NVM_ETRACK_SHIFT) in igc_get_fw_version() 797 fw_vers->etrack_id = (eeprom_verh << NVM_ETRACK_SHIFT) | in igc_get_fw_version()
|
H A D | igc_nvm.h | 46 struct igc_fw_version *fw_vers);
|
/freebsd/sys/dev/e1000/ |
H A D | e1000_nvm.c | 1285 void e1000_get_fw_version(struct e1000_hw *hw, struct e1000_fw_version *fw_vers) in e1000_get_fw_version() argument 1291 memset(fw_vers, 0, sizeof(struct e1000_fw_version)); in e1000_get_fw_version() 1298 e1000_read_invm_version(hw, fw_vers); in e1000_get_fw_version() 1310 fw_vers->eep_major = (fw_version & NVM_MAJOR_MASK) in e1000_get_fw_version() 1312 fw_vers->eep_minor = (fw_version & NVM_MINOR_MASK) in e1000_get_fw_version() 1314 fw_vers->eep_build = (fw_version & NVM_IMAGE_ID_MASK); in e1000_get_fw_version() 1320 e1000_read_invm_version(hw, fw_vers); in e1000_get_fw_version() 1341 fw_vers->or_valid = true; in e1000_get_fw_version() 1342 fw_vers->or_major = in e1000_get_fw_version() 1344 fw_vers->or_build = in e1000_get_fw_version() [all …]
|
H A D | e1000_nvm.h | 95 struct e1000_fw_version *fw_vers);
|
/freebsd/sys/dev/cxgbe/ |
H A D | t4_vf.c | 209 sc->params.fw_vers = val[0]; in get_params__pre_init() 214 G_FW_HDR_FW_VER_MAJOR(sc->params.fw_vers), in get_params__pre_init() 215 G_FW_HDR_FW_VER_MINOR(sc->params.fw_vers), in get_params__pre_init() 216 G_FW_HDR_FW_VER_MICRO(sc->params.fw_vers), in get_params__pre_init() 217 G_FW_HDR_FW_VER_BUILD(sc->params.fw_vers)); in get_params__pre_init()
|
H A D | t4_netmap.c | 237 if (sc->params.fw_vers >= FW_VERSION32(1, 24, 11, 0)) in alloc_nm_txq() 479 if (sc->params.fw_vers < FW_VERSION32(1, 25, 1, 0)) { in alloc_nm_txq_hwq()
|
H A D | t4_main.c | 5219 G_FW_HDR_FW_VER_MAJOR(sc->params.fw_vers), in get_params__pre_init() 5220 G_FW_HDR_FW_VER_MINOR(sc->params.fw_vers), in get_params__pre_init() 5221 G_FW_HDR_FW_VER_MICRO(sc->params.fw_vers), in get_params__pre_init() 5222 G_FW_HDR_FW_VER_BUILD(sc->params.fw_vers)); in get_params__pre_init() 5283 sc->params.fw_vers < FW_VERSION32(1, 20, 1, 0)) { in set_params__pre_init() 5526 if (sc->params.fw_vers < FW_VERSION32(1, 20, 5, 0)) { in get_params__post_init() 5566 if (sc->params.fw_vers < FW_VERSION32(1, 20, 5, 0)) { in get_params__post_init() 8891 if (sc->params.fw_vers < FW_VERSION32(1, 24, 7, 0) || in sysctl_reset_sensor()
|
/freebsd/sys/dev/cxgbe/cudbg/ |
H A D | cudbg_lib.c | 4366 u32 fw_vers; in collect_vpd_data() local 4425 fw_vers = padap->params.fw_vers; in collect_vpd_data() 4426 if (!fw_vers) { in collect_vpd_data() 4427 rc = t4_get_fw_version(padap, &fw_vers); in collect_vpd_data() 4432 vpd_data->fw_major = G_FW_HDR_FW_VER_MAJOR(fw_vers); in collect_vpd_data() 4433 vpd_data->fw_minor = G_FW_HDR_FW_VER_MINOR(fw_vers); in collect_vpd_data() 4434 vpd_data->fw_micro = G_FW_HDR_FW_VER_MICRO(fw_vers); in collect_vpd_data() 4435 vpd_data->fw_build = G_FW_HDR_FW_VER_BUILD(fw_vers); in collect_vpd_data()
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | provider.c | 307 props->fw_ver = sc->params.fw_vers; in c4iw_query_device()
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | common.h | 372 unsigned int fw_vers; /* firmware version */ member
|
H A D | t4_hw.c | 3472 FIRST_RET(t4_get_fw_version(adapter, &adapter->params.fw_vers)); in t4_get_version_info()
|
/freebsd/sys/dev/cxgbe/crypto/ |
H A D | t4_crypto.c | 1939 if (sc->adapter->params.fw_vers >= FW_VERSION32(1, 25, 4, 0) || in ccr_init_port()
|