Home
last modified time | relevance | path

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

/openbmc/dbus-sensors/src/
H A DPwmSensor.cpp69 sensorInterface->register_property( 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()
124 controlInterface->register_property( in PwmSensor()
168 valueMutabilityInterface->register_property("Mutable", true); in PwmSensor()
H A Dsensor.hpp265 sensorInterface->register_property("Unit", unit); in setInitialProperties()
266 sensorInterface->register_property("MaxValue", maxValue); in setInitialProperties()
267 sensorInterface->register_property("MinValue", minValue); in setInitialProperties()
268 sensorInterface->register_property( in setInitialProperties()
302 iface->register_property( in setInitialProperties()
321 iface->register_property(alarm, false); in setInitialProperties()
345 valueMutabilityInterface->register_property("Mutable", true); in setInitialProperties()
360 availableInterface->register_property( in setInitialProperties()
381 operationalInterface->register_property("Functional", true); in setInitialProperties()
H A DTachSensor.cpp85 itemIface->register_property("PrettyName", in TachSensor()
87 itemIface->register_property("Present", true); in TachSensor()
91 itemAssoc->register_property( in TachSensor()
315 iface->register_property("Collection", children); in RedundancySensor()
316 iface->register_property("Status", std::string("Full")); in RedundancySensor()
317 iface->register_property("AllowedFailures", static_cast<uint8_t>(count)); in RedundancySensor()
H A DChassisIntrusionSensor.cpp351 mIface->register_property( in start()
357 mIface->register_property("Rearm", rearmStr); in start()
H A DIntelCPUSensorMain.cpp180 iface->register_property("PrettyName", cpu.name); in createSensors()
181 iface->register_property("Present", true); in createSensors()
753 iface->register_property("PrettyName", name); in getCpuConfig()
754 iface->register_property("Present", *present); in getCpuConfig()
H A DPSUEvent.cpp55 eventInterface->register_property("functional", true); in PSUCombineEvent()
H A DExitAirTempSensor.cpp249 self->pwmLimitIface->register_property("Limit", maxRpm); in setupMatches()
309 cfmLimitIface->register_property("Limit", c2 * maxCFM * tachs.size()); in createMaxCFMIface()
H A DUtils.cpp610 association->register_property("Associations", associations); in createAssociation()
625 association->register_property("Associations", associations); in setInventoryAssociation()
/openbmc/openbmc-tools/dbus_sensor_tester/
H A Dmain.cpp86 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()
/openbmc/estoraged/src/
H A Destoraged.cpp87 driveInterface->register_property("Capacity", size); in EStoraged()
88 driveInterface->register_property("PredictedMediaLifeLeftPercent", in EStoraged()
90 driveInterface->register_property( in EStoraged()
93 driveInterface->register_property( in EStoraged()
120 locationCodeInterface->register_property("LocationCode", locationCode); in EStoraged()
127 assetInterface->register_property("PartNumber", partNumber); in EStoraged()
128 assetInterface->register_property("SerialNumber", serialNumber); in EStoraged()
142 association->register_property("Associations", associations); in EStoraged()
/openbmc/sdbusplus/example/
H A Dasio-example.cpp207 iface->register_property("int", 33, in server()
212 iface->register_property("myStringVec", myStringVec, in server()
214 iface->register_property("myStringVec2", myStringVec2); in server()
217 iface->register_property("lessThan50", 23, in server()
227 iface->register_property( in server()
/openbmc/s2600wf-misc/callback-manager/include/
H A Dcallback_manager.hpp34 association->register_property("Associations", std::set<Association>()); in AssociationManager()
35 sensorAssociation->register_property("Associations", in AssociationManager()
/openbmc/x86-power-control/src/
H A Dpower_control.cpp3015 hostIface->register_property( in main()
3123 chassisIface->register_property( in main()
3199 chassisSysIface->register_property( in main()
3219 chassisSysIface->register_property( in main()
3242 chassisSlotIface->register_property( in main()
3273 chassisSlotIface->register_property( in main()
3291 powerButtonIface->register_property( in main()
3402 nmiButtonIface->register_property( in main()
3503 osIface->register_property( in main()
3518 restartCauseIface->register_property( in main()
[all …]
/openbmc/bios-bmc-smm-error-logger/include/dbus/
H A Dfile_notifier.hpp31 pathIface->register_property("Path", filePath); in CperFileNotifier()
/openbmc/s2600wf-misc/hsbp-manager/src/
H A Dhsbp_manager.cpp634 ledInterface->register_property( in createInterface()
694 itemIface->register_property("Present", isPresent); in Drive()
701 operationalIface->register_property( in Drive()
733 associations->register_property("Associations", in Drive()
770 assetIface->register_property(key, value); in createAsset()
887 assetIface->register_property(key, *ptr); in populateAsset()
932 hsbpItemIface->register_property("Present", true); in run()
933 hsbpItemIface->register_property("PrettyName", name); in run()
950 versionIface->register_property( in run()
959 activationIface->register_property( in run()
[all …]
/openbmc/service-config-manager/src/
H A Dsrvcfg_manager.cpp538 sockAttrIface->register_property( in registerProperties()
561 srvCfgIface->register_property( in registerProperties()
610 srvCfgIface->register_property( in registerProperties()
660 srvCfgIface->register_property( in registerProperties()
/openbmc/entity-manager/src/
H A Dfru_device.cpp197 it->second->register_property("Bus", bus); in makeProbeInterface()
198 it->second->register_property("Address", address); in makeProbeInterface()
791 iface->register_property( in addFruObjectToDbus()
815 else if (!iface->register_property(key, property.second + '\0')) in addFruObjectToDbus()
824 iface->register_property("BUS", bus); in addFruObjectToDbus()
825 iface->register_property("ADDRESS", address); in addFruObjectToDbus()
H A Dentity_manager.cpp195 iface->register_property(name, values); in addArrayToDbus()
199 iface->register_property( in addArrayToDbus()
231 iface->register_property(name, value); in addProperty()
234 iface->register_property( in addProperty()
822 ifacePtr->register_property("Associations", assocPropValue); in postToDbus()
/openbmc/sdbusplus/docs/
H A Dasio.md6 `register_property()`. If you need to provide a custom getter or setter for a
/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dobject_server.hpp496 bool register_property( in register_property() function in sdbusplus::asio::dbus_interface
517 bool register_property(const std::string& name, in register_property() function in sdbusplus::asio::dbus_interface
531 bool register_property(const std::string& name, in register_property() function in sdbusplus::asio::dbus_interface
/openbmc/phosphor-objmgr/src/
H A Dassociations.cpp36 i->register_property("endpoints", endpoints); in updateEndpointsOnDbus()