Home
last modified time | relevance | path

Searched refs:fruBus (Results 1 – 5 of 5) sorted by relevance

/openbmc/fb-ipmi-oem/src/
H A Dcommandutils.cpp58 uint8_t fruBus = std::get<uint64_t>( in getMbFruDevice() local
62 device = std::make_pair(fruBus, fruAddr); in getMbFruDevice()
H A Dstoragecommands.cpp269 uint8_t fruBus = std::get<uint32_t>(busFind->second); in replaceCacheFru() local
271 if (fruBus != mbFruBus || fruAddr != mbFruAddr) in replaceCacheFru()
273 deviceHashes.emplace(fruHash, std::make_pair(fruBus, fruAddr)); in replaceCacheFru()
/openbmc/intel-ipmi-oem/src/
H A Dmanufacturingcommands.cpp916 auto fruBus = std::get_if<uint64_t>(&findBus->second); in findFruDevice() local
920 if (!fruBus || !fruAddress || !macFruOffset) in findFruDevice()
926 busNum = *fruBus; in findFruDevice()
957 uint64_t fruBus = 0; in readMacFromFru() local
960 if (findFruDevice(ctx, macOffset, fruBus, fruAddress)) in readMacFromFru()
963 static_cast<uint8_t>(fruBus), "ADDRESS", lg2::dec, in readMacFromFru()
979 std::string i2cBus = "/dev/i2c-" + std::to_string(fruBus); in readMacFromFru()
999 uint64_t fruBus = 0; in writeMacToFru() local
1002 if (findFruDevice(ctx, macOffset, fruBus, fruAddress)) in writeMacToFru()
1005 static_cast<uint8_t>(fruBus), "ADDRESS", lg2::dec, in writeMacToFru()
[all …]
H A Dstoragecommands.cpp187 uint16_t fruBus = std::get<uint32_t>(busFind->second); in recalculateHashes() local
206 std::pair<uint16_t, uint8_t> newDev(fruBus, fruAddr); in recalculateHashes()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dstoragecommands.cpp174 uint16_t fruBus = std::get<uint32_t>(busFind->second); in recalculateHashes() local
194 std::pair<uint16_t, uint8_t> newDev(fruBus, fruAddr); in recalculateHashes()