Home
last modified time | relevance | path

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

/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dddimm_parser.hpp95 uint8_t getDdr5DiePerPackage(uint8_t i_ByteValue);
103 uint8_t getDdr5DensityPerDie(uint8_t i_ByteValue);
114 bool checkValidValue(uint8_t i_ByteValue, uint8_t i_shift,
/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dddimm_parser.cpp26 bool DdimmVpdParser::checkValidValue(uint8_t i_ByteValue, uint8_t i_shift, in checkValidValue() argument
30 uint8_t l_ByteValue = i_ByteValue >> i_shift; in checkValidValue()
42 uint8_t DdimmVpdParser::getDdr5DensityPerDie(uint8_t i_ByteValue) in getDdr5DensityPerDie() argument
45 if (i_ByteValue < constants::VALUE_5) in getDdr5DensityPerDie()
47 l_densityPerDie = i_ByteValue * constants::VALUE_4; in getDdr5DensityPerDie()
51 switch (i_ByteValue) in getDdr5DensityPerDie()
79 uint8_t DdimmVpdParser::getDdr5DiePerPackage(uint8_t i_ByteValue) in getDdr5DiePerPackage() argument
82 if (i_ByteValue < constants::VALUE_2) in getDdr5DiePerPackage()
84 l_DiePerPackage = i_ByteValue + constants::VALUE_1; in getDdr5DiePerPackage()
89 pow(constants::VALUE_2, (i_ByteValue in getDdr5DiePerPackage()
[all...]