/openbmc/pldm/libpldmresponder/ |
H A D | event_parser.cpp | 115 auto propValue = utils::jsonEntryToDbusVal(type, propIt.value()); in mapStateToDBusVal() local 116 eventStateMap.emplace((*stateIt).get<uint8_t>(), std::move(propValue)); in mapStateToDBusVal() 128 utils::PropertyValue propValue{}; in eventAction() local 131 propValue = eventStateMap.at(state); in eventAction() 142 pldm::utils::DBusHandler().setDbusProperty(dbusMapping, propValue); in eventAction()
|
H A D | bios_enum_attribute.cpp | 141 auto propValue = dbusHandler->getDbusPropertyVariant( in getAttrValueIndex() local 144 auto iter = valMap.find(propValue); in getAttrValueIndex() 158 uint8_t BIOSEnumAttribute::getAttrValueIndex(const PropertyValue& propValue) in getAttrValueIndex() argument 162 return getValueIndex(std::get<std::string>(propValue), possibleValues); in getAttrValueIndex()
|
H A D | fru.cpp | 272 pldm::responder::dbus::Value propValue; in populateRecords() local 278 propValue = populatefwVersion(); in populateRecords() 282 propValue = interfaces.at(intf).at(prop); in populateRecords() 286 auto byteArray = std::get<std::vector<uint8_t>>(propValue); in populateRecords() 300 auto str = std::get<std::string>(propValue); in populateRecords()
|
H A D | bios_enum_attribute.hpp | 117 uint8_t getAttrValueIndex(const pldm::utils::PropertyValue& propValue);
|
/openbmc/pldm/common/ |
H A D | utils.cpp | 418 PropertyValue propValue{}; in jsonEntryToDbusVal() local 421 propValue = static_cast<uint8_t>(value); in jsonEntryToDbusVal() 425 propValue = static_cast<uint16_t>(value); in jsonEntryToDbusVal() 429 propValue = static_cast<uint32_t>(value); in jsonEntryToDbusVal() 433 propValue = static_cast<uint64_t>(value); in jsonEntryToDbusVal() 437 propValue = static_cast<int16_t>(value); in jsonEntryToDbusVal() 441 propValue = static_cast<int32_t>(value); in jsonEntryToDbusVal() 445 propValue = static_cast<int64_t>(value); in jsonEntryToDbusVal() 449 propValue = static_cast<bool>(value); in jsonEntryToDbusVal() 453 propValue = static_cast<double>(value); in jsonEntryToDbusVal() [all …]
|
/openbmc/phosphor-net-ipmid/command/ |
H A D | guid.cpp | 78 ipmi::Value propValue; in getSystemGUID() local 85 propValue = ipmi::getDbusProperty(bus, service, objPath, propInterface, in getSystemGUID() 94 std::string rfc4122Uuid = std::get<std::string>(propValue); in getSystemGUID()
|
/openbmc/phosphor-host-ipmid/ |
H A D | sensordatahandler.cpp | 84 auto propValue = ipmi::getDbusProperty( in mapDbusToAssertion() local 89 if (propValue == value.second.assert) in mapDbusToAssertion() 117 auto propValue = in mapDbusToEventdata2() local 123 if (propValue == value.second.assert) in mapDbusToEventdata2()
|
H A D | sensordatahandler.hpp | 183 auto propValue = ipmi::getDbusProperty( in readingAssertion() local 188 setAssertionBytes(static_cast<uint16_t>(std::get<T>(propValue)), &response); in readingAssertion() 239 auto propValue = ipmi::getDbusProperty( in readingData() local 244 double value = std::get<T>(propValue) * in readingData()
|
H A D | selutility.cpp | 303 auto propValue = in convertLogEntrytoSEL() local 305 assocs = std::get<std::vector<ipmi::Association>>(propValue); in convertLogEntrytoSEL() 354 auto propValue = ipmi::getDbusProperty(bus, service, objPath, in getEntryTimeStamp() local 356 timeStamp = std::get<uint64_t>(propValue); in getEntryTimeStamp()
|
H A D | whitelist-filter.cpp | 100 auto propValue = ipmi::getDbusProperty( in cacheRestrictedMode() local 103 mode = std::get<std::string>(propValue); in cacheRestrictedMode()
|
H A D | storagehandler.cpp | 556 auto propValue = ipmi::getDbusProperty( in ipmiStorageGetSelTime() local 558 bmc_time_usec = std::get<uint64_t>(propValue); in ipmiStorageGetSelTime()
|
H A D | chassishandler.cpp | 563 auto propValue = in getPOHCounter() local 567 return std::get<uint32_t>(propValue); in getPOHCounter()
|
/openbmc/entity-manager/src/ |
H A D | utils.cpp | 238 for (const auto& [propName, propValue] : interface) in templateCharReplace() 253 std::visit([&](auto&& val) { keyPair.value() = val; }, propValue); in templateCharReplace() 265 std::string val = std::visit(VariantToStringVisitor(), propValue); in templateCharReplace() 295 int number = std::visit(VariantToIntVisitor(), propValue); in templateCharReplace()
|
H A D | entity_manager.cpp | 638 for (const auto& [propName, propValue] : boardValues.items()) in postToDbus() 640 if (propValue.type() == nlohmann::json::value_t::object) in postToDbus() 648 propValue, objServer); in postToDbus()
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | fru_oem_ibm.cpp | 147 const std::string& propValue) in dbus_map_update() argument 149 pldm::utils::PropertyValue value = propValue; in dbus_map_update()
|
H A D | fru_oem_ibm.hpp | 94 const std::string& propValue);
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | types.hpp | 98 constexpr auto propValue = 1; variable
|
/openbmc/phosphor-fan-presence/control/json/ |
H A D | manager.cpp | 136 for (const auto& [propName, propValue] : properties) in dumpCache() 140 propValue); in dumpCache()
|
/openbmc/phosphor-user-manager/ |
H A D | user_mgr.cpp | 1257 for (const auto& [propName, propValue] : it->second) in getUserInfo() 1261 groupName = std::get<std::string>(propValue); in getUserInfo() 1265 privilege = std::get<std::string>(propValue); in getUserInfo()
|
/openbmc/x86-power-control/src/ |
H A D | power_control.cpp | 1006 for (auto& [property, propValue] : props) in setProperties() 1010 const std::string* value = std::get_if<std::string>(&propValue); in setProperties() 1020 const uint64_t* value = std::get_if<uint64_t>(&propValue); in setProperties() 1031 const std::string* value = std::get_if<std::string>(&propValue); in setProperties()
|
/openbmc/phosphor-host-ipmid/user_channel/ |
H A D | channel_mgmt.cpp | 1330 auto propValue = ipmi::getDbusProperty( in syncNetworkChannelConfig() local 1334 intfPrivStr = std::get<std::string>(propValue); in syncNetworkChannelConfig()
|
/openbmc/intel-ipmi-oem/src/ |
H A D | oemcommands.cpp | 2926 const Value& propValue = getDbusProperty( in ipmiOEMReadBoardProductId() local 2930 prodId = static_cast<uint8_t>(std::get<uint64_t>(propValue)); in ipmiOEMReadBoardProductId()
|