Searched refs:fruAreas (Results 1 – 4 of 4) sorted by relevance
/openbmc/entity-manager/src/ |
H A D | fru_utils.hpp | 59 enum class fruAreas enum 95 inline fruAreas operator++(fruAreas& x) in operator ++() 97 return x = static_cast<fruAreas>( in operator ++() 98 std::underlying_type<fruAreas>::type(x) + 1); in operator ++() 101 inline const std::string& getFruAreaName(fruAreas area) in getFruAreaName() 117 bool verifyOffset(const std::vector<uint8_t>& fruBytes, fruAreas currentArea, 171 unsigned int getHeaderAreaFieldOffset(fruAreas area);
|
H A D | fru_utils.cpp | 240 if (currentArea > fruAreas::fruAreaMultirecord) in verifyOffset() 257 for (fruAreas area = fruAreas::fruAreaInternal; in verifyOffset() 388 for (fruAreas area = fruAreas::fruAreaChassis; in formatIPMIFRU() 447 case fruAreas::fruAreaChassis: in formatIPMIFRU() 455 case fruAreas::fruAreaBoard: in formatIPMIFRU() 487 case fruAreas::fruAreaProduct: in formatIPMIFRU() 759 for (fruAreas area = fruAreas::fruAreaInternal; in readFRUContents() 915 fruAreas fruAreaToUpdate = static_cast<fruAreas>(it - fruAreaNames.begin()); in findFruAreaLocationAndField() 920 case fruAreas::fruAreaChassis: in findFruAreaLocationAndField() 924 case fruAreas::fruAreaBoard: in findFruAreaLocationAndField() [all …]
|
H A D | fru_device.cpp | 1173 for (fruAreas nextFRUArea = fruAreas::fruAreaInternal; in updateFRUProperty() 1174 nextFRUArea <= fruAreas::fruAreaMultirecord; ++nextFRUArea) in updateFRUProperty() 1249 for (fruAreas nextFRUArea = fruAreas::fruAreaInternal; in updateFRUProperty() 1250 nextFRUArea <= fruAreas::fruAreaMultirecord; ++nextFRUArea) in updateFRUProperty()
|
/openbmc/entity-manager/test/ |
H A D | test_fru-utils.cpp | 67 EXPECT_FALSE(verifyOffset(fruData, fruAreas::fruAreaChassis, 0)); in TEST() 78 verifyOffset(fruData, static_cast<fruAreas>(areaOutOfRange), 0)); in TEST() 87 EXPECT_FALSE(verifyOffset(fruData, fruAreas::fruAreaChassis, 2)); in TEST() 96 EXPECT_FALSE(verifyOffset(fruData, fruAreas::fruAreaProduct, 2)); in TEST() 105 EXPECT_TRUE(verifyOffset(fruData, fruAreas::fruAreaChassis, 1)); in TEST()
|