/openbmc/phosphor-fan-presence/control/ |
H A D | fanctl.cpp | 29 using SDBusPlus = phosphor::fan::util::SDBusPlus; typedef 104 SDBusPlus::getSubTreePathsRaw(SDBusPlus::getBus(), path, iface, 0)) in getPathsFromIface() 130 auto& bus{SDBusPlus::getBus()}; in loadDBusData() 153 for (auto& path : SDBusPlus::getSubTreePathsRaw(bus, paths["tach"], in loadDBusData() 167 for (auto& path : SDBusPlus::getSubTreePathsRaw( in loadDBusData() 213 auto fields{SDBusPlus::callMethodAndRead<std::vector<DBusTuple>>( in getStates() 238 SDBusPlus::getProperty<std::string>(path, iface, "CurrentBMCState"); in getStates() 243 SDBusPlus::getProperty<std::string>(path, iface, "CurrentPowerState"); in getStates() 248 SDBusPlus::getProperty<std::string>(path, iface, "CurrentHostState"); in getStates() 303 cout << SDBusPlus::getProperty<uint64_t>( in status() [all …]
|
H A D | fan.cpp | 44 auto service = util::SDBusPlus::getService(bus, path, _interface); in Fan() 53 _targetSpeed = util::SDBusPlus::getProperty<uint64_t>( in Fan() 65 util::SDBusPlus::setProperty<uint64_t>( in setSpeed()
|
H A D | main.cpp | 87 phosphor::fan::util::SDBusPlus::getBus().attach_event( in main() 115 phosphor::fan::util::SDBusPlus::getBus().request_name(CONTROL_BUSNAME); in main() 117 Manager manager(phosphor::fan::util::SDBusPlus::getBus(), event, mode); in main()
|
H A D | manager.cpp | 70 auto propertyValue = util::SDBusPlus::getProperty<decltype(value)>( in checkCondition() 135 util::SDBusPlus::callMethod(_bus, SYSTEMD_SERVICE, SYSTEMD_OBJ_PATH, in doInit()
|
H A D | matches.hpp | 77 noc = rules::nameOwnerChanged(util::SDBusPlus::getService(obj, iface)); in nameOwnerChanged()
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | resolve_errors.cpp | 50 auto busName = SDBusPlus::getBusName(path, ASSOCIATION_IFACE); in operator ()() 58 auto endpoints = SDBusPlus::callMethodAndRead<EndpointsProperty>( in operator ()() 84 busName = SDBusPlus::getBusName(logEntry, LOGGING_IFACE); in resolve() 93 SDBusPlus::callMethod(busName, logEntry, PROPERTY_IFACE, "Set", in resolve()
|
H A D | event_entry.hpp | 45 EntryIface(SDBusPlus::getBus(), path.c_str(), in Entry() 62 EntryIface(SDBusPlus::getBus(), path.c_str(), in Entry()
|
H A D | main.cpp | 31 auto& bus = SDBusPlus::getBus(); in main()
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | power_interface.cpp | 30 util::SDBusPlus::callMethod(systemdService, systemdPath, systemdMgrIface, in softPowerOff() 37 util::SDBusPlus::callMethod( in executeHardPowerOff() 43 util::SDBusPlus::callMethod( in executeHardPowerOff()
|
H A D | tach_sensor.cpp | 65 util::SDBusPlus::getProperty<T>(bus, path, interface, propertyName); in readProperty() 156 _tachInput = util::SDBusPlus::getProperty<decltype(_tachInput)>( in updateTachAndTarget() 405 auto response = util::SDBusPlus::callMethod( in updateInventory()
|
H A D | system.cpp | 73 bool invServiceRunning = util::SDBusPlus::callMethodAndRead<bool>( in start() 156 auto serviceObjects = util::SDBusPlus::getSubTreeRaw( in subscribeSensorsToServices() 561 util::SDBusPlus::callMethod( in createBmcDump()
|
H A D | conditions.cpp | 28 return util::SDBusPlus::getPropertyVariant<PropertyValue>( in propertiesMatch()
|
/openbmc/phosphor-fan-presence/ |
H A D | json_config.hpp | 92 SubTreeMap subTreeObjs = util::SDBusPlus::getSubTreeRaw( in getCompatObjPaths() 93 util::SDBusPlus::getBus(), "/", confCompatIntf, 0); in getCompatObjPaths() 123 util::SDBusPlus::getBus(), in JsonConfig() 149 util::SDBusPlus::getProperty<std::vector<std::string>>( in JsonConfig() 150 util::SDBusPlus::getBus(), path, confCompatIntf, in JsonConfig()
|
H A D | power_state.hpp | 58 PowerState() : _bus(util::SDBusPlus::getBus()) {} in PowerState() 202 auto pgood = util::SDBusPlus::getProperty<int32_t>( in readPGood() 346 auto mapperResponse = util::SDBusPlus::getSubTreeRaw( in readHostState() 360 util::SDBusPlus::getProperty<HostState>( in readHostState()
|
/openbmc/phosphor-fan-presence/control/json/ |
H A D | fan.cpp | 36 ConfigBase(jsonObj), _bus(util::SDBusPlus::getBus()) in Fan() 78 auto service = util::SDBusPlus::getService(_bus, path, _interface); in setSensors() 85 _target = util::SDBusPlus::getProperty<uint64_t>( in setSensors() 113 util::SDBusPlus::setProperty<uint64_t>( in setTarget()
|
H A D | manager.cpp | 68 _bus(util::SDBusPlus::getBus()), _event(event), in Manager() 69 _mgr(util::SDBusPlus::getBus(), CONTROL_OBJPATH), _loadAllowed(true), in Manager() 71 util::SDBusPlus::getBus(), in Manager() 406 auto objects = util::SDBusPlus::getSubTreeRaw(util::SDBusPlus::getBus(), in addServices() 573 util::SDBusPlus::getManagedObjects<PropertyVariantType>( in addObjects() 592 util::SDBusPlus::getPropertyVariant<PropertyVariantType>( in addObjects() 707 auto value = util::SDBusPlus::getPropertyVariant< in addGroups() 725 auto objects = util::SDBusPlus::getManagedObjects< in addGroups()
|
H A D | profile.cpp | 97 util::SDBusPlus::getPropertyVariant<PropertyVariantType>( in allOf()
|
/openbmc/phosphor-fan-presence/sensor-monitor/ |
H A D | shutdown_alarm_monitor.cpp | 131 auto paths = SDBusPlus::getSubTreePathsRaw(bus, "/", interface, 0); in findAlarms() 157 value = SDBusPlus::getProperty<bool>(bus, sensorPath, interface, in checkAlarms() 259 value = SDBusPlus::getProperty<double>(bus, sensorPath, valueInterface, in startTimer() 337 auto value = SDBusPlus::getProperty<double>(bus, sensorPath, valueInterface, in stopTimer() 364 util::SDBusPlus::callMethod( in createBmcDump() 384 auto value = SDBusPlus::getProperty<double>(bus, sensorPath, valueInterface, in timerExpired() 397 SDBusPlus::callMethod(systemdService, systemdPath, systemdMgrIface, in timerExpired() 466 SDBusPlus::callMethod(loggingService, loggingPath, loggingCreateIface, in createEventLog()
|
H A D | threshold_alarm_logger.cpp | 137 SDBusPlus::getSubTreeRaw(this->bus, "/", interface, 0); in ThresholdAlarmLogger() 249 auto alarmValue = SDBusPlus::getProperty<bool>( in checkThresholds() 307 auto sensorValue = SDBusPlus::getProperty<double>( in createEventLog() 344 SDBusPlus::getProperty<double>(bus, sensorPath, interface, name); in createEventLog() 363 SDBusPlus::callMethod(loggingService, loggingPath, loggingCreateIface, in createEventLog() 405 auto endpoints = SDBusPlus::getProperty<std::vector<std::string>>( in getCallout() 452 service = SDBusPlus::getService(bus, sensorPath, interface); in checkThresholds()
|
/openbmc/phosphor-fan-presence/presence/ |
H A D | tach.cpp | 60 util::SDBusPlus::getBus(), in start() 68 std::get<double>(s) = util::SDBusPlus::getProperty<double>( in start() 105 values.push_back(util::SDBusPlus::getProperty<double>( in present()
|
H A D | fan.cpp | 55 util::SDBusPlus::lookupAndCallMethod(invNamespace, invMgrIface, "Notify"s, in setPresence() 61 return util::SDBusPlus::getProperty<bool>(invNamespace + std::get<1>(fan), in getPresence()
|
/openbmc/phosphor-dbus-monitor/src/templates/ |
H A D | method.mako.cpp | 1 makeMethod<SDBusPlus>(
|
H A D | generated.mako.hpp | 256 std::make_unique<PropertyWatchOfType<${w.datatype}, SDBusPlus>>( in get() 292 std::make_unique<PathWatch<SDBusPlus>>(
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | pcie_card_floors.cpp | 248 _pcieDevices = util::SDBusPlus::getSubTreePaths( in getCardFromSlot() 249 util::SDBusPlus::getBus(), "/", pcieDeviceIface, 0); in getCardFromSlot()
|
/openbmc/phosphor-fan-presence/cooling-type/ |
H A D | cooling_type.cpp | 112 static_cast<void>(util::SDBusPlus::lookupAndCallMethod( in updateInventory()
|