Home
last modified time | relevance | path

Searched refs:SensorValue (Results 1 – 14 of 14) sorted by relevance

/openbmc/phosphor-pid-control/test/
H A Ddbus_util_unittest.cpp21 using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value; typedef
46 SensorValue::namespace_path::value,
47 SensorValue::namespace_path::fan_tach)),
50 SensorValue::namespace_path::value)),
53 SensorValue::namespace_path::value,
54 SensorValue::namespace_path::temperature)),
57 SensorValue::namespace_path::value,
58 SensorValue::namespace_path::temperature)),
61 SensorValue::namespace_path::value,
62 SensorValue::namespace_path::power)),
[all …]
H A Dsensor_host_unittest.cpp25 using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value; typedef
54 SetupDbusObject(&sdbus_mock, defer, objPath, SensorValue::interface, in TEST()
81 SetupDbusObject(&sdbus_mock, defer, objPath, SensorValue::interface, in TEST()
100 StrEq(SensorValue::interface), NotNull())) in TEST()
H A Ddbus_passive_unittest.cpp37 using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value; typedef
70 std::format("{}/unknown/id", SensorValue::namespace_path::value); in TEST()
86 getService(StrEq(SensorValue::interface), StrEq(path))) in DbusPassiveTestObj()
118 std::format("{}/{}/id", SensorValue::namespace_path::value,
119 SensorValue::namespace_path::temperature);
186 *s = SensorValue::interface; in TEST_F()
258 *s = SensorValue::interface; in TEST_F()
620 getService(StrEq(SensorValue::interface), StrEq(path))) in DbusPassiveTestUnaSensorNotAsFailedObj()
652 std::format("{}/{}/id", SensorValue::namespace_path::value,
653 SensorValue::namespace_path::temperature);
[all …]
/openbmc/phosphor-pid-control/dbus/
H A Ddbushelper.cpp25 using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value; typedef
78 pimMsg.append(SensorValue::interface); in getProperties()
102 auto findUnit = propMap.find(SensorValue::property_names::unit); in getProperties()
110 auto findMax = propMap.find(SensorValue::property_names::max_value); in getProperties()
111 auto findMin = propMap.find(SensorValue::property_names::min_value); in getProperties()
130 propMap[SensorValue::property_names::value]); in getProperties()
H A Ddbuspassive.cpp41 using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value; typedef
87 service = helper->getService(SensorValue::interface, path); in createDbusPassive()
422 if (msgSensor == SensorValue::interface) in handleSensorValue()
424 auto valPropMap = msgData.find(SensorValue::property_names::value); in handleSensorValue()
H A Ddbusconfiguration.cpp62 using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value; typedef
472 SensorValue::interface, ControlFanPwm::interface}); in init()
513 if (interface == SensorValue::interface || in init()
517 if (interface == SensorValue::interface && in init()
850 if (dbusInterface != SensorValue::interface) in init()
858 SensorValue::interface)); in init()
878 if (dbusInterface != SensorValue::interface) in init()
885 SensorValue::interface)); in init()
/openbmc/phosphor-pid-control/
H A Dsetsensor.cpp17 using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value; typedef
40 pimMsg.append(SensorValue::interface); in SetHostSensor()
41 pimMsg.append(SensorValue::property_names::value); in SetHostSensor()
/openbmc/skeleton/libopenbmc_intf/
H A Dopenbmc_intf.h418 #define SENSOR_VALUE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SENSOR_VALUE, SensorValue))
423 typedef struct _SensorValue SensorValue; typedef
433 SensorValue *object,
437 SensorValue *object,
441 SensorValue *object,
445 gint (*get_heatbeat) (SensorValue *object);
447 gint (*get_poll_interval) (SensorValue *object);
449 gboolean (*get_settable) (SensorValue *object);
451 const gchar * (*get_units) (SensorValue *object);
453 GVariant * (*get_value) (SensorValue *object);
[all …]
H A Dopenbmc_intf.c4289 G_DEFINE_INTERFACE (SensorValue, sensor_value, G_TYPE_OBJECT) in G_DEFINE_INTERFACE() argument
4484 sensor_value_get_value (SensorValue *object) in sensor_value_get_value()
4502 sensor_value_dup_value (SensorValue *object) in sensor_value_dup_value()
4519 sensor_value_set_value (SensorValue *object, GVariant *value) in sensor_value_set_value()
4537 sensor_value_get_units (SensorValue *object) in sensor_value_get_units()
4555 sensor_value_dup_units (SensorValue *object) in sensor_value_dup_units()
4572 sensor_value_set_units (SensorValue *object, const gchar *value) in sensor_value_set_units()
4588 sensor_value_get_poll_interval (SensorValue *object) in sensor_value_get_poll_interval()
4605 sensor_value_set_poll_interval (SensorValue *object, gint value) in sensor_value_set_poll_interval()
4621 sensor_value_get_heatbeat (SensorValue *object) in sensor_value_get_heatbeat()
[all …]
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cpp51 using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value; typedef
267 auto sensorObject = sensorMap.find(SensorValue::interface); in getSensorMaxMin()
274 sensorObject->second.find(SensorValue::property_names::max_value); in getSensorMaxMin()
276 sensorObject->second.find(SensorValue::property_names::min_value); in getSensorMaxMin()
489 if (valueObject.find(SensorValue::property_names::value) == in calculateValue()
577 "PATH", path, "INTERFACE", SensorValue::interface, "ERROR", in getVrEventStatus()
807 SensorValue::interface) != interfaces.end()) in ipmiSetSensorReading()
814 auto sensorObject = sensorMap.find(SensorValue::interface); in ipmiSetSensorReading()
843 ctx, connection, path, SensorValue::interface, in ipmiSetSensorReading()
844 SensorValue::property_names::value, ipmi::Value(*value)); in ipmiSetSensorReading()
[all …]
H A Dsdrutils.cpp32 using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value; typedef
181 SensorValue::interface, "xyz.openbmc_project.Sensor.ValueMutability", in getSensorSubtree()
/openbmc/phosphor-host-ipmid/
H A Ddcmihandler.cpp28 using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value; typedef
1081 ctx, dbusService, dbusPath, SensorValue::interface, result); in readTemp()
1088 result.at(SensorValue::property_names::value)); in readTemp()
1138 ipmi::getService(ctx, SensorValue::interface, path, service); in read()
1346 ipmi::getService(ctx, SensorValue::interface, objectPath, service); in readPower()
1352 SensorValue::interface); in readPower()
1358 ec = ipmi::getDbusProperty(ctx, service, objectPath, SensorValue::interface, in readPower()
1359 SensorValue::property_names::value, value); in readPower()
1365 SensorValue::interface); in readPower()
H A Dsensordatahandler.hpp45 using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value; typedef
233 if (sensorInfo.propertyInterfaces.begin()->first == SensorValue::interface) in readingData()
H A Dsensorhandler.cpp47 using SensorValue = sdbusplus::common::xyz::openbmc_project::sensor::Value; typedef
455 SensorValue::interface,
849 if (info.propertyInterfaces.find(SensorValue::interface) == in ipmiSensorGetSensorThresholds()
929 if (info.propertyInterfaces.find(SensorValue::interface) == in ipmiSenSetSensorThresholds()