/openbmc/dbus-sensors/src/ |
H A D | DeviceMgmt.cpp | 24 auto findBus = cfg.find("Bus"); in getI2CDeviceParams() local 27 if (findType == cfg.end() || findBus == cfg.end() || findAddr == cfg.end()) in getI2CDeviceParams() 33 const uint64_t* bus = std::get_if<uint64_t>(&findBus->second); in getI2CDeviceParams()
|
/openbmc/dbus-sensors/src/nvme/ |
H A D | NVMeSensorMain.cpp | 63 auto findBus = properties.find("Bus"); in extractBusNumber() local 64 if (findBus == properties.end()) in extractBusNumber() 70 return std::visit(VariantToIntVisitor(), findBus->second); in extractBusNumber()
|
/openbmc/dbus-sensors/src/ipmb/ |
H A D | IpmbSensorMain.cpp | 41 auto findBus = values.find("Bus"); in sdrHandler() local 42 if (findBus == values.end()) in sdrHandler()
|
/openbmc/dbus-sensors/src/intrusion/ |
H A D | IntrusionSensorMain.cpp | 186 auto findBus = baseConfiguration->second.find("Bus"); in createSensorsFromConfig() local 188 if (findBus == baseConfiguration->second.end() || in createSensorsFromConfig() 197 int busId = std::get<uint64_t>(findBus->second); in createSensorsFromConfig()
|
/openbmc/phosphor-host-ipmid/dbus-sdr/ |
H A D | storagecommands.cpp | 570 auto findBus = findFruDevice->second.find("BUS"); in getFruSdrs() local 572 if (findBus == findFruDevice->second.end() || in getFruSdrs() 577 if (std::get<uint32_t>(findBus->second) != bus) in getFruSdrs() 626 auto findBus = findFruDevice->second.find("Bus"); in getFruSdrs() local 629 if (findBus == findFruDevice->second.end() || in getFruSdrs() 634 if ((std::get<uint64_t>(findBus->second) != bus) || in getFruSdrs()
|
/openbmc/intel-ipmi-oem/src/ |
H A D | storagecommands.cpp | 534 auto findBus = findFruDevice->second.find("BUS"); in getFruSdrs() local 536 if (findBus == findFruDevice->second.end() || in getFruSdrs() 541 if (std::get<uint32_t>(findBus->second) != bus) in getFruSdrs() 588 auto findBus = findFruDevice->second.find("Bus"); in getFruSdrs() local 591 if (findBus == findFruDevice->second.end() || in getFruSdrs() 596 if ((std::get<uint64_t>(findBus->second) != bus) || in getFruSdrs()
|
H A D | manufacturingcommands.cpp | 907 auto findBus = propMap.find("FruBus"); in findFruDevice() local 910 if (findBus == propMap.end() || findAddress == propMap.end() || in findFruDevice() 916 auto fruBus = std::get_if<uint64_t>(&findBus->second); in findFruDevice()
|
/openbmc/entity-manager/src/ |
H A D | fru_device.cpp | 140 auto findBus = busName.rfind('-'); in busStrToInt() local 141 if (findBus == std::string::npos) in busStrToInt() 145 std::string_view num = busName.substr(findBus + 1); in busStrToInt() 164 auto findBus = filename.find('-'); in getRootBus() local 165 if (findBus == std::string::npos) in getRootBus() 169 return std::stoi(filename.substr(0, findBus)); in getRootBus()
|
/openbmc/dbus-sensors/src/fan/ |
H A D | FanMain.cpp | 368 auto findBus = baseConfiguration->second.find("Bus"); in createSensors() local 371 if (findBus == baseConfiguration->second.end() || in createSensors() 379 VariantToUnsignedIntVisitor(), findBus->second); in createSensors()
|
/openbmc/dbus-sensors/src/intel-cpu/ |
H A D | IntelCPUSensorMain.cpp | 759 auto findBus = cfg.find("Bus"); in getCpuConfig() local 760 if (findBus == cfg.end()) in getCpuConfig() 766 std::visit(VariantToUnsignedIntVisitor(), findBus->second); in getCpuConfig()
|
/openbmc/s2600wf-misc/hsbp-manager/src/ |
H A D | hsbp_manager.cpp | 1611 auto findBus = values.find("Bus"); in updateAssets() local 1613 if (findBus == values.end()) in updateAssets() 1624 std::get<uint64_t>(findBus->second)); in updateAssets() 1821 auto findBus = values.find("Bus"); in populateMuxes() local 1824 if (findBus == values.end() || in populateMuxes() 1833 std::get<uint64_t>(findBus->second)); in populateMuxes()
|
/openbmc/fb-ipmi-oem/src/ |
H A D | storagecommands.cpp | 492 auto findBus = findFruDevice->second.find("BUS"); in getFruSdrs() local 494 if (findBus == findFruDevice->second.end() || in getFruSdrs() 499 if (std::get<uint32_t>(findBus->second) != bus) in getFruSdrs()
|