Home
last modified time | relevance | path

Searched refs:propertyValue (Results 1 – 25 of 32) sorted by relevance

12

/openbmc/pldm/libpldmresponder/
H A Dbios_integer_attribute.cpp143 uint64_t BIOSIntegerAttribute::getAttrValue(const PropertyValue& propertyValue) in getAttrValue() argument
148 value = std::get<uint8_t>(propertyValue); in getAttrValue()
152 value = std::get<uint16_t>(propertyValue); in getAttrValue()
156 value = std::get<int16_t>(propertyValue); in getAttrValue()
160 value = std::get<uint32_t>(propertyValue); in getAttrValue()
164 value = std::get<int32_t>(propertyValue); in getAttrValue()
168 value = std::get<uint64_t>(propertyValue); in getAttrValue()
172 value = std::get<int64_t>(propertyValue); in getAttrValue()
176 value = std::get<double>(propertyValue); in getAttrValue()
196 auto propertyValue in getAttrValue() local
[all...]
H A Dplatform_numeric_effecter.hpp351 int getEffecterValue(T propertyValue, uint8_t effecterDataSize, in getEffecterValue() argument
359 uint8_t value = static_cast<uint8_t>(propertyValue); in getEffecterValue()
367 int8_t value = static_cast<int8_t>(propertyValue); in getEffecterValue()
377 uint16_t value = static_cast<uint16_t>(propertyValue); in getEffecterValue()
387 int16_t value = static_cast<int16_t>(propertyValue); in getEffecterValue()
397 uint32_t value = static_cast<uint32_t>(propertyValue); in getEffecterValue()
407 int32_t value = static_cast<int32_t>(propertyValue); in getEffecterValue()
434 const std::string& propertyType, pldm::utils::PropertyValue propertyValue, in getNumericEffecterValueHandler() argument
440 uint8_t propVal = std::get<uint8_t>(propertyValue); in getNumericEffecterValueHandler()
446 uint16_t propVal = std::get<uint16_t>(propertyValue); in getNumericEffecterValueHandler()
492 getNumericEffecterData(const DBusInterface & dBusIntf,Handler & handler,uint16_t effecterId,uint8_t & effecterDataSize,std::string & propertyType,pldm::utils::PropertyValue & propertyValue) getNumericEffecterData() argument
[all...]
H A Dplatform_state_sensor.hpp43 auto propertyValue = dBusIntf.getDbusPropertyVariant( in getStateSensorEventState() local
49 if (stateValue.second == propertyValue) in getStateSensorEventState()
/openbmc/phosphor-fan-presence/control/json/actions/
H A Dmapped_floor.cpp392 std::optional<PropertyVariantType> propertyValue; in run() local
396 propertyValue = Manager::getParameter( in run()
398 if (propertyValue) in run()
400 tryConvertToDouble(*propertyValue); in run()
417 propertyValue = in run()
422 if (propertyValue) in run()
431 if (std::holds_alternative<double>(*propertyValue)) in run()
433 if (*propertyValue <= value) in run()
439 else if (*propertyValue == value) in run()
/openbmc/dbus-sensors/src/intrusion/
H A DChassisIntrusionSensor.cpp306 std::string& propertyValue) in setSensorValue() argument
321 propertyValue = req; in setSensorValue()
327 propertyValue = req; in setSensorValue()
334 if (mValue == normalValStr && propertyValue != normalValStr) in setSensorValue()
340 else if (mValue == hwIntrusionValStr && propertyValue == normalValStr) in setSensorValue()
353 [&](const std::string& req, std::string& propertyValue) { in start() argument
354 return setSensorValue(req, propertyValue); in start()
H A DChassisIntrusionSensor.hpp38 int setSensorValue(const std::string& req, std::string& propertyValue);
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Ddbus_utility.hpp182 types::DbusVariantType propertyValue; in readDbusProperty() local
190 return propertyValue; in readDbusProperty()
202 result.read(propertyValue); in readDbusProperty()
206 return propertyValue; in readDbusProperty()
208 return propertyValue; in readDbusProperty()
228 const types::DbusVariantType& propertyValue) in writeDbusProperty() argument
243 method.append(interface, property, propertyValue); in writeDbusProperty()
/openbmc/pldm/platform-mc/
H A Ddbus_to_terminus_effecters.cpp131 dbusInfo.propertyValue = in parseEffecterJson()
371 if (std::isfinite(val) && !std::isfinite(propValues.propertyValue)) in processTerminusNumericEffecterChangeNotification()
375 .propertyValue = val; in processTerminusNumericEffecterChangeNotification()
380 if (!std::isfinite(propValues.propertyValue) || !std::isfinite(val)) in processTerminusNumericEffecterChangeNotification()
386 if (val == propValues.propertyValue) in processTerminusNumericEffecterChangeNotification()
420 .propertyValue = val; in processTerminusNumericEffecterChangeNotification()
427 const PropertyValue& propertyValue) in findNewStateValue() argument
432 auto it = std::find(propValues.begin(), propValues.end(), propertyValue); in findNewStateValue()
H A Ddbus_to_terminus_effecters.hpp57 double propertyValue; //!< D-Bus property values member
204 const pldm::utils::PropertyValue& propertyValue);
/openbmc/witherspoon-pfault-analysis/
H A Dutility.hpp78 std::variant<T> propertyValue(value); in setProperty() local
83 method.append(interface, propertyName, propertyValue); in setProperty()
/openbmc/phosphor-time-manager/
H A Dutils.hpp76 std::variant<T> propertyValue(value); in setProperty() local
81 method.append(interface, propertyName, propertyValue); in setProperty()
/openbmc/phosphor-fan-presence/control/
H A Dmanager.cpp70 auto propertyValue = util::SDBusPlus::getProperty<decltype(value)>( in checkCondition() local
75 if (value != propertyValue) in checkCondition()
/openbmc/bmcweb/redfish-core/src/utils/
H A Ddbus_utils.cpp29 const std::string& redfishPropertyName, const nlohmann::json& propertyValue, in afterSetProperty() argument
53 asyncResp->res, redfishPropertyName, propertyValue); in afterSetProperty()
/openbmc/phosphor-dbus-monitor/src/
H A Devent_manager.cpp35 const std::string& propertyValue) in create() argument
43 auto propVal = propertyName + "=" + propertyValue; in create()
H A Devent_manager.hpp41 const std::string& propertyValue);
/openbmc/openpower-hw-diags/util/
H A Ddbus.hpp63 const std::variant<T>& propertyValue) in setProperty() argument
73 method.append(propertyValue); in setProperty()
/openbmc/sdbusplus/example/
H A Dasio-example.cpp220 [](const int& req, int& propertyValue) { in server() argument
225 propertyValue = req; in server()
231 [](const std::string& req, std::string& propertyValue) { in server() argument
232 propertyValue = req; in server()
/openbmc/phosphor-power/
H A Dutility.hpp94 std::variant<T> propertyValue(value); in setProperty() local
99 method.append(interface, propertyName, propertyValue); in setProperty()
/openbmc/pldm/softoff/
H A Dsoftoff.cpp98 pldm::utils::PropertyValue propertyValue = in getHostState() local
103 if ((std::get<std::string>(propertyValue) != in getHostState()
105 (std::get<std::string>(propertyValue) != in getHostState()
/openbmc/sdbusplus/include/sdbusplus/asio/
H A Dproperty.hpp111 PropertyType&& propertyValue, Handler&& handler) in setProperty() argument
117 std::forward<PropertyType>(propertyValue))); in setProperty()
/openbmc/bmcweb/redfish-core/lib/
H A Dmanagers.hpp88 const std::string& propertyValue = in doBMCGracefulRestart() local
95 destProperty, propertyValue, in doBMCGracefulRestart()
115 const std::string& propertyValue = in doBMCForceRestart() local
122 destProperty, propertyValue, in doBMCForceRestart()
/openbmc/docs/architecture/
H A Dredfish-logging-in-bmcweb.md141 "Property Name", propertyValue));
151 propertyValue, NULL);
/openbmc/pldm/requester/
H A Dmctp_endpoint_discovery.cpp152 pldm::utils::PropertyValue propertyValue = in getEndpointConnectivityProp() local
155 if (std::get<std::string>(propertyValue) == "Available") in getEndpointConnectivityProp()
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dutils.hpp284 Type& propertyValue) in getDbusProperty() argument
295 propertyValue = *tmp; in getDbusProperty()
/openbmc/phosphor-psu-code-mgmt/src/
H A Ditem_updater.cpp66 for (const auto& [propertyName, propertyValue] : propertyMap) in onVersionInterfacesAdded()
72 std::get<std::string>(propertyValue)); in onVersionInterfacesAdded()
81 version = std::get<std::string>(propertyValue); in onVersionInterfacesAdded()

12