Home
last modified time | relevance | path

Searched refs:eeprom_cfg_blkl (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_main.c539 u16 eeprom_cfg_blkh = 0, eeprom_cfg_blkl = 0; in txgbe_probe() local
681 wx_read_ee_hostif(wx, offset + 0x83, &eeprom_cfg_blkl); in txgbe_probe()
684 if (eeprom_cfg_blkl && eeprom_cfg_blkh) { in txgbe_probe()
685 major = eeprom_cfg_blkl >> 8; in txgbe_probe()
686 build = (eeprom_cfg_blkl << 8) | (eeprom_cfg_blkh >> 8); in txgbe_probe()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c4044 u16 offset, eeprom_cfg_blkh, eeprom_cfg_blkl; in ixgbe_get_orom_version() local
4055 hw->eeprom.ops.read(hw, offset + NVM_OROM_BLK_LOW, &eeprom_cfg_blkl); in ixgbe_get_orom_version()
4058 if ((eeprom_cfg_blkl | eeprom_cfg_blkh) == 0x0 || in ixgbe_get_orom_version()
4059 eeprom_cfg_blkl == NVM_VER_INVALID || in ixgbe_get_orom_version()
4064 nvm_ver->or_major = eeprom_cfg_blkl >> NVM_OROM_SHIFT; in ixgbe_get_orom_version()
4065 nvm_ver->or_build = (eeprom_cfg_blkl << NVM_OROM_SHIFT) | in ixgbe_get_orom_version()