Home
last modified time | relevance | path

Searched refs:sensorTypes (Results 1 – 11 of 11) sorted by relevance

/openbmc/dbus-sensors/src/adc/
H A DADCSensorMain.cpp59 static constexpr auto sensorTypes{std::to_array<const char*>({"ADC"})}; variable
137 for (const char* type : sensorTypes) in createSensors()
317 std::vector<std::string>{sensorTypes.begin(), sensorTypes.end()}); in createSensors()
417 setupPropertiesChangedMatches(*systemBus, sensorTypes, eventHandler); in main()
/openbmc/dbus-sensors/src/fan/
H A DFanMain.cpp59 static auto sensorTypes{std::to_array<const char*>( variable
71 static_assert(std::tuple_size<decltype(sensorTypes)>::value == FanTypes::max,
311 std::string cfgIntf = configInterfaceName(sensorTypes[fanType]); in createSensors()
332 baseType = sensorTypes[fanType]; in createSensors()
604 std::vector<std::string>{sensorTypes.begin(), sensorTypes.end()}, in createSensors()
661 setupPropertiesChangedMatches(*systemBus, sensorTypes, eventHandler); in main()
/openbmc/fb-ipmi-oem/include/
H A Dsensorutils.hpp122 sensorTypes{{{"temperature", SensorTypeCodes::temperature}, variable
152 auto findSensor = sensorTypes.find(type.c_str()); in getSensorTypeFromPath()
153 if (findSensor != sensorTypes.end()) in getSensorTypeFromPath()
/openbmc/dbus-sensors/src/
H A DDeviceMgmt.hpp84 const I2CDeviceTypeMap& sensorTypes) in instantiateDevices() argument
133 getI2CDeviceParams(sensorTypes, cfg); in instantiateDevices()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsdrutils.cpp42 sensorTypes{ variable
323 auto findSensor = sensorTypes.find(type.c_str()); in getSensorTypeFromPath()
324 if (findSensor != sensorTypes.end()) in getSensorTypeFromPath()
356 auto findSensor = sensorTypes.find(type.c_str()); in getSensorEventTypeFromPath()
357 if (findSensor != sensorTypes.end()) in getSensorEventTypeFromPath()
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempMain.cpp67 static const I2CDeviceTypeMap sensorTypes{ variable
286 instantiateDevices(sensorConfigurations, sensors, sensorTypes); in createSensors()
534 std::vector<std::string> types(sensorTypes.size()); in createSensors()
535 for (const auto& [type, dt] : sensorTypes) in createSensors()
651 setupPropertiesChangedMatches(*systemBus, sensorTypes, eventHandler); in main()
/openbmc/dbus-sensors/src/psu/
H A DPSUSensorMain.cpp66 static const I2CDeviceTypeMap sensorTypes{ variable
309 auto devices = instantiateDevices(sensorConfigs, sensors, sensorTypes); in createSensorsCallback()
337 if (sensorTypes.find(pmbusName) == sensorTypes.end()) in createSensorsCallback()
394 for (const auto& [type, dt] : sensorTypes) in createSensorsCallback()
1077 std::vector<std::string> types(sensorTypes.size()); in createSensors()
1078 for (const auto& [type, dt] : sensorTypes) in createSensors()
1259 setupPropertiesChangedMatches(*systemBus, sensorTypes, eventHandler); in main()
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensorMain.cpp106 static constexpr auto sensorTypes{std::to_array<const char*>({"XeonCPU"})}; variable
257 for (const char* type : sensorTypes) in createSensors()
704 for (const char* type : sensorTypes) in getCpuConfig()
715 for (const char* type : sensorTypes) in getCpuConfig()
859 setupPropertiesChangedMatches(*systemBus, sensorTypes, eventHandler); in main()
/openbmc/intel-ipmi-oem/include/
H A Dsdrutils.hpp361 sensorTypes{{{"temperature", SensorTypeCodes::temperature}, variable
391 auto findSensor = sensorTypes.find(type.c_str()); in getSensorTypeFromPath()
392 if (findSensor != sensorTypes.end()) in getSensorTypeFromPath()
/openbmc/phosphor-host-ipmid/include/dbus-sdr/
H A Dsdrutils.hpp331 sensorTypes;
/openbmc/bmcweb/redfish-core/lib/
H A Dsensors.hpp330 std::span<const std::string_view> sensorTypes, in reduceSensorList() argument
349 for (std::string_view type : sensorTypes) in reduceSensorList()
402 std::span<const std::string_view> sensorTypes, in getChassis() argument
416 sensorTypes](const boost::system::error_code& ec, in getChassis()
456 sensorPath, [asyncResp, chassisSubNode, sensorTypes, in getChassis()
473 sensorTypes, &nodeSensorList, in getChassis()