Home
last modified time | relevance | path

Searched refs:sensorInterface (Results 1 – 25 of 25) 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.hpp109 std::shared_ptr<sdbusplus::asio::dbus_interface> sensorInterface; member
281 sensorInterface->register_property("Unit", unit); in setInitialProperties()
282 sensorInterface->register_property("MaxValue", maxValue); in setInitialProperties()
283 sensorInterface->register_property("MinValue", minValue); in setInitialProperties()
284 sensorInterface->register_property( in setInitialProperties()
339 if (!sensorInterface->initialize()) in setInitialProperties()
359 dbusConnection, sensorInterface->get_object_path(), in setInitialProperties()
374 dbusConnection, sensorInterface->get_object_path(), in setInitialProperties()
395 dbusConnection, sensorInterface->get_object_path(), in setInitialProperties()
604 updateProperty(sensorInterface, value, newValue, "Value"); in updateValueProperty()
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.cpp119 auto service = ipmi::getService(bus, sensorInfo.sensorInterface, in mapDbusToEventdata2()
160 sensorInfo.sensorInterface); in assertion()
174 sensorInfo.sensorInterface); in assertion()
209 const std::string& sensorInterface) in makeDbusMsg() argument
214 auto dbusService = getService(bus, sensorInterface, sensorPath); in makeDbusMsg()
225 "Set", sensorInfo.sensorInterface); in eventdata()
278 sensorInfo.sensorInterface); in assertion()
315 auto msg = makeDbusMsg(sensorInfo.sensorInterface, sensorInfo.sensorPath, in assertion()
316 "Notify", sensorInfo.sensorInterface); in assertion()
H A Dsensordatahandler.hpp190 auto service = ipmi::getService(bus, sensorInfo.sensorInterface, in readingAssertion()
205 sensorInfo.sensorInterface, "ERROR", e); in readingAssertion()
228 auto service = ipmi::getService(bus, sensorInfo.sensorInterface, in readingData()
272 sensorInfo.sensorInterface, "ERROR", e); in readingData()
525 const std::string& sensorInterface);
546 "Set", sensorInfo.sensorInterface); in readingAssertion()
575 "Set", sensorInfo.sensorInterface); in readingData()
645 const std::string& sensorInterface);
H A Dsensorhandler.cpp246 ipmi::getService(bus, info.sensorInterface, info.sensorPath); in find_openbmc_path()
594 ec = ipmi::getService(ctx, sensorInfo.sensorInterface, in ipmiSensorGetSensorReading()
735 ec = ipmi::getService(ctx, info.sensorInterface, info.sensorPath, service); in getSensorThresholds()
938 ec = ipmi::getService(ctx, info.sensorInterface, info.sensorPath, service); in ipmiSenSetSensorThresholds()
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensor.cpp87 sensorInterface = objectServer.add_interface( in IntelCPUSensor()
118 objServer.remove_interface(sensorInterface); in ~IntelCPUSensor()
217 updateProperty(sensorInterface, oldValue, *newVal, in updateMinMaxValues()
224 updateProperty(sensorInterface, oldValue, 0, dbusName); in updateMinMaxValues()
228 updateProperty(sensorInterface, oldValue, in updateMinMaxValues()
/openbmc/dbus-sensors/src/nvme/
H A DNVMeSensor.cpp56 sensorInterface = objectServer.add_interface( in NVMeSensor()
84 objServer.remove_interface(sensorInterface); in ~NVMeSensor()
/openbmc/phosphor-host-ipmid/scripts/
H A Dwritesensor.cpp.mako77 sensorInterface = serviceInterface
79 sensorInterface = next(iter(interfaces))
86 .sensorInterface = "${sensorInterface}",
/openbmc/dbus-sensors/src/nvidia-gpu/
H A DNvidiaGpuVoltageSensor.cpp54 sensorInterface = objectServer.add_interface(
75 objectServer.remove_interface(sensorInterface); in ~NvidiaGpuVoltageSensor()
H A DNvidiaGpuEnergySensor.cpp54 sensorInterface = objectServer.add_interface(
75 objectServer.remove_interface(sensorInterface); in ~NvidiaGpuEnergySensor()
H A DNvidiaGpuSensor.cpp53 sensorInterface = objectServer.add_interface(
95 objectServer.remove_interface(sensorInterface); in ~NvidiaGpuTempSensor()
H A DNvidiaGpuPowerSensor.cpp56 sensorInterface = objectServer.add_interface(
78 objectServer.remove_interface(sensorInterface); in ~NvidiaGpuPowerSensor()
/openbmc/dbus-sensors/src/external/
H A DExternalSensor.cpp51 sensorInterface = objectServer.add_interface( in ExternalSensor()
106 objServer.remove_interface(sensorInterface); in ~ExternalSensor()
/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/adc/
H A DADCSensor.cpp78 sensorInterface = objectServer.add_interface( in ADCSensor()
103 objServer.remove_interface(sensorInterface); in ~ADCSensor()
/openbmc/dbus-sensors/src/psu/
H A DPSUSensor.cpp78 sensorInterface = objectServer.add_interface( in PSUSensor()
109 objServer.remove_interface(sensorInterface); in ~PSUSensor()
/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.cpp75 sensorInterface = objectServer.add_interface( in MCUTempSensor()
98 objectServer.remove_interface(sensorInterface); in ~MCUTempSensor()
/openbmc/dbus-sensors/src/exit-air/
H A DExitAirTempSensor.cpp176 sensorInterface = objectServer.add_interface( in CFMSensor()
295 objServer.remove_interface(sensorInterface); in ~CFMSensor()
502 sensorInterface = objectServer.add_interface( in ExitAirTempSensor()
525 objServer.remove_interface(sensorInterface); in ~ExitAirTempSensor()
/openbmc/dbus-sensors/src/smbpbi/
H A DSmbpbiSensor.cpp70 sensorInterface = in SmbpbiSensor()
112 objectServer.remove_interface(sensorInterface); in ~SmbpbiSensor()
/openbmc/dbus-sensors/src/ipmb/
H A DIpmbSensor.cpp80 sensorInterface = objectServer.add_interface( in IpmbSensor()
99 objectServer.remove_interface(sensorInterface); in ~IpmbSensor()
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dtypes.hpp167 DbusInterface sensorInterface; member
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cpp1642 sensor->second, path, sensor->second.sensorInterface); in ipmiSenGetSensorEventStatus()