Home
last modified time | relevance | path

Searched refs:findBus (Results 1 – 12 of 12) sorted by relevance

/openbmc/dbus-sensors/src/
H A DDeviceMgmt.cpp24 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 DNVMeSensorMain.cpp63 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 DIpmbSensorMain.cpp41 auto findBus = values.find("Bus"); in sdrHandler() local
42 if (findBus == values.end()) in sdrHandler()
/openbmc/dbus-sensors/src/intrusion/
H A DIntrusionSensorMain.cpp186 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 Dstoragecommands.cpp570 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 Dstoragecommands.cpp534 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 Dmanufacturingcommands.cpp907 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 Dfru_device.cpp140 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 DFanMain.cpp368 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 DIntelCPUSensorMain.cpp759 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 Dhsbp_manager.cpp1611 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 Dstoragecommands.cpp492 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()