Home
last modified time | relevance | path

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

/openbmc/dbus-sensors/src/
H A DPwmSensor.cpp69 sensorInterface->register_property( in PwmSensor()
116 sensorInterface->register_property("MaxValue", static_cast<double>(100)); in PwmSensor()
117 sensorInterface->register_property("MinValue", static_cast<double>(0)); in PwmSensor()
118 sensorInterface->register_property("Unit", sensor_paths::unitPercent); in PwmSensor()
123 controlInterface->register_property( in PwmSensor()
167 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.cpp86 itemIface->register_property("PrettyName", in TachSensor()
88 itemIface->register_property("Present", true); in TachSensor()
92 itemAssoc->register_property( in TachSensor()
316 iface->register_property("Collection", children); in RedundancySensor()
317 iface->register_property("Status", std::string("Full")); in RedundancySensor()
318 iface->register_property("AllowedFailures", static_cast<uint8_t>(count)); in RedundancySensor()
H A DChassisIntrusionSensor.cpp349 mIface->register_property( in start()
355 mIface->register_property("Rearm", rearmStr); in start()
H A DIntelCPUSensorMain.cpp181 iface->register_property("PrettyName", cpu.name); in createSensors()
182 iface->register_property("Present", true); in createSensors()
754 iface->register_property("PrettyName", name); in getCpuConfig()
755 iface->register_property("Present", *present); in getCpuConfig()
H A DPSUEvent.cpp56 eventInterface->register_property("functional", true); in PSUCombineEvent()
H A DExitAirTempSensor.cpp245 self->pwmLimitIface->register_property("Limit", maxRpm); in setupMatches()
303 cfmLimitIface->register_property("Limit", c2 * maxCFM * tachs.size()); in createMaxCFMIface()
H A DUtils.cpp607 association->register_property("Associations", associations); in createAssociation()
622 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.cpp88 driveInterface->register_property("Capacity", size); in EStoraged()
89 driveInterface->register_property("PredictedMediaLifeLeftPercent", in EStoraged()
91 driveInterface->register_property( in EStoraged()
94 driveInterface->register_property( in EStoraged()
121 locationCodeInterface->register_property("LocationCode", locationCode); in EStoraged()
128 assetInterface->register_property("PartNumber", partNumber); in EStoraged()
129 assetInterface->register_property("SerialNumber", serialNumber); in EStoraged()
143 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.cpp3007 hostIface->register_property( in main()
3112 chassisIface->register_property( in main()
3187 chassisSysIface->register_property( in main()
3206 chassisSysIface->register_property( in main()
3229 chassisSlotIface->register_property( in main()
3257 chassisSlotIface->register_property( in main()
3275 powerButtonIface->register_property( in main()
3384 nmiButtonIface->register_property( in main()
3485 osIface->register_property( in main()
3500 restartCauseIface->register_property( in main()
[all …]
/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.cpp539 sockAttrIface->register_property( in registerProperties()
561 srvCfgIface->register_property(srvCfgPropMasked, unitMaskedState, in registerProperties()
606 srvCfgIface->register_property(srvCfgPropEnabled, unitEnabledState, in registerProperties()
652 srvCfgIface->register_property(srvCfgPropRunning, unitRunningState, 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()
802 iface->register_property( in addFruObjectToDbus()
826 else if (!iface->register_property(key, property.second + '\0')) in addFruObjectToDbus()
837 iface->register_property("BUS", bus); in addFruObjectToDbus()
838 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.hpp505 bool register_property( in register_property() function in sdbusplus::asio::dbus_interface
526 bool register_property(const std::string& name, in register_property() function in sdbusplus::asio::dbus_interface
540 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()