Home
last modified time | relevance | path

Searched refs:sensorInterface (Results 1 – 21 of 21) sorted by relevance

/openbmc/dbus-sensors/src/
H A DPwmSensor.cpp49 sensorInterface = objectServer.add_interface( in PwmSensor()
69 sensorInterface->register_property( in PwmSensor()
112 sensorInterface->signal_property("Value"); in PwmSensor()
117 sensorInterface->register_property("MaxValue", static_cast<double>(100)); in PwmSensor()
118 sensorInterface->register_property("MinValue", static_cast<double>(0)); in PwmSensor()
119 sensorInterface->register_property("Unit", sensor_paths::unitPercent); in PwmSensor()
141 sensorInterface->signal_property("Value"); in PwmSensor()
154 sensorInterface->signal_property("Value"); in PwmSensor()
159 sensorInterface->initialize(); in PwmSensor()
166 conn, sensorInterface->get_object_path(), in PwmSensor()
[all …]
H A Dsensor.hpp104 std::shared_ptr<sdbusplus::asio::dbus_interface> sensorInterface; member
274 sensorInterface->register_property("Unit", unit); in setInitialProperties()
275 sensorInterface->register_property("MaxValue", maxValue); in setInitialProperties()
276 sensorInterface->register_property("MinValue", minValue); in setInitialProperties()
277 sensorInterface->register_property( in setInitialProperties()
332 if (!sensorInterface->initialize()) in setInitialProperties()
352 dbusConnection, sensorInterface->get_object_path(), in setInitialProperties()
367 dbusConnection, sensorInterface->get_object_path(), in setInitialProperties()
388 dbusConnection, sensorInterface->get_object_path(), in setInitialProperties()
597 updateProperty(sensorInterface, valu in updateValueProperty()
[all...]
H A DPwmSensor.hpp24 std::shared_ptr<sdbusplus::asio::dbus_interface> sensorInterface; member in PwmSensor
/openbmc/openbmc-tools/dbus_sensor_tester/
H A Dmain.cpp83 std::shared_ptr<sdbusplus::asio::dbus_interface> sensorInterface = in main() local
86 sensorInterface->register_property<std::string>( in main()
88 sensorInterface->register_property<double>("MaxValue", 100); in main()
89 sensorInterface->register_property<double>("MinValue", -100); in main()
90 sensorInterface->register_property<double>("Value", 42); in main()
92 sensorInterface->initialize(); in main()
93 sensorInterfaces.emplace_back(sensorInterface); in main()
/openbmc/phosphor-host-ipmid/
H A Dsensordatahandler.cpp108 auto service = ipmi::getService(bus, sensorInfo.sensorInterface, in mapDbusToEventdata2()
139 sensorInfo.sensorInterface); in assertion()
153 sensorInfo.sensorInterface); in assertion()
188 const std::string& sensorInterface) in makeDbusMsg() argument
193 auto dbusService = getService(bus, sensorInterface, sensorPath); in makeDbusMsg()
204 "Set", sensorInfo.sensorInterface); in eventdata()
257 sensorInfo.sensorInterface); in assertion()
294 auto msg = makeDbusMsg(sensorInfo.sensorInterface, sensorInfo.sensorPath, in assertion()
295 "Notify", sensorInfo.sensorInterface); in assertion()
H A Dsensordatahandler.hpp180 auto service = ipmi::getService(bus, sensorInfo.sensorInterface, in readingAssertion()
210 auto service = ipmi::getService(bus, sensorInfo.sensorInterface, in readingData()
496 const std::string& sensorInterface);
518 "Set", sensorInfo.sensorInterface); in readingAssertion()
548 "Set", sensorInfo.sensorInterface); in readingData()
618 const std::string& sensorInterface);
H A Dsensorhandler.cpp238 ipmi::getService(bus, info.sensorInterface, info.sensorPath); in find_openbmc_path()
586 ec = ipmi::getService(ctx, sensorInfo.sensorInterface, in ipmiSensorGetSensorReading()
727 ec = ipmi::getService(ctx, info.sensorInterface, info.sensorPath, service); in getSensorThresholds()
939 ec = ipmi::getService(ctx, info.sensorInterface, info.sensorPath, service); in ipmiSenSetSensorThresholds()
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensor.cpp88 sensorInterface = objectServer.add_interface( in IntelCPUSensor()
119 objServer.remove_interface(sensorInterface); in ~IntelCPUSensor()
211 updateProperty(sensorInterface, oldValue, *newVal, in updateMinMaxValues()
218 updateProperty(sensorInterface, oldValue, 0, dbusName); in updateMinMaxValues()
222 updateProperty(sensorInterface, oldValue, in updateMinMaxValues()
/openbmc/phosphor-host-ipmid/scripts/
H A Dwritesensor.mako.cpp77 sensorInterface = serviceInterface
79 sensorInterface = next(iter(interfaces))
86 .sensorInterface = "${sensorInterface}",
/openbmc/dbus-sensors/src/nvme/
H A DNVMeSensor.cpp56 sensorInterface = objectServer.add_interface( in NVMeSensor()
84 objServer.remove_interface(sensorInterface); in ~NVMeSensor()
/openbmc/dbus-sensors/src/external/
H A DExternalSensor.cpp52 sensorInterface = objectServer.add_interface( in ExternalSensor()
113 objServer.remove_interface(sensorInterface); in ~ExternalSensor()
/openbmc/phosphor-pid-control/dbus/
H A Ddbusconfiguration.cpp50 constexpr const char* sensorInterface = "xyz.openbmc_project.Sensor.Value"; variable
444 sensorInterface, defaultPwmInterface}); in init()
485 if (interface == sensorInterface || in init()
489 if (interface == sensorInterface && in init()
775 if (dbusInterface != sensorInterface) in init()
784 sensorInterface); in init()
804 if (dbusInterface != sensorInterface) in init()
813 sensorInterface); in init()
/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempSensor.cpp71 sensorInterface = objectServer.add_interface( in HwmonTempSensor()
130 objServer.remove_interface(sensorInterface); in ~HwmonTempSensor()
/openbmc/dbus-sensors/src/psu/
H A DPSUSensor.cpp81 sensorInterface = objectServer.add_interface( in PSUSensor()
112 objServer.remove_interface(sensorInterface); in ~PSUSensor()
/openbmc/dbus-sensors/src/adc/
H A DADCSensor.cpp77 sensorInterface = objectServer.add_interface( in ADCSensor()
102 objServer.remove_interface(sensorInterface); in ~ADCSensor()
/openbmc/dbus-sensors/src/fan/
H A DTachSensor.cpp64 sensorInterface = objectServer.add_interface( in TachSensor()
110 objServer.remove_interface(sensorInterface); in ~TachSensor()
/openbmc/dbus-sensors/src/mcu/
H A DMCUTempSensor.cpp77 sensorInterface = objectServer.add_interface( in MCUTempSensor()
100 objectServer.remove_interface(sensorInterface); in ~MCUTempSensor()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cpp251 static constexpr const char* sensorInterface = variable
261 auto sensorObject = sensorMap.find(sensor::sensorInterface); in getSensorMaxMin()
566 "PATH", path, "INTERFACE", sensor::sensorInterface, "ERROR", in getVrEventStatus()
796 sensor::sensorInterface) != interfaces.end()) in ipmiSetSensorReading()
803 auto sensorObject = sensorMap.find(sensor::sensorInterface); in ipmiSetSensorReading()
832 setDbusProperty(ctx, connection, path, sensor::sensorInterface, in ipmiSetSensorReading()
842 "PATH", path, "INTERFACE", sensor::sensorInterface, in ipmiSetSensorReading()
881 "PATH", path, "INTERFACE", sensor::sensorInterface, in ipmiSetSensorReading()
960 auto sensorObject = sensorMap.find(sensor::sensorInterface); in ipmiSenGetSensorReading()
1266 auto sensorPair = sensorMap.find(sensor::sensorInterface); in getIPMIThresholds()
[all …]
/openbmc/dbus-sensors/src/exit-air/
H A DExitAirTempSensor.cpp182 sensorInterface = objectServer.add_interface( in CFMSensor()
301 objServer.remove_interface(sensorInterface); in ~CFMSensor()
518 sensorInterface = objectServer.add_interface( in ExitAirTempSensor()
541 objServer.remove_interface(sensorInterface); in ~ExitAirTempSensor()
/openbmc/dbus-sensors/src/ipmb/
H A DIpmbSensor.cpp79 sensorInterface = objectServer.add_interface( in IpmbSensor()
98 objectServer.remove_interface(sensorInterface); in ~IpmbSensor()
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dtypes.hpp166 DbusInterface sensorInterface; member