Home
last modified time | relevance | path

Searched refs:value_or (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/linux/drivers/parport/
H A Dparport_sunbpp.c114 unsigned char value_or = sbus_readb(&regs->p_or); in control_sunbpp_to_pc() local
118 if (!(value_or & P_OR_AFXN)) in control_sunbpp_to_pc()
120 if (!(value_or & P_OR_INIT)) in control_sunbpp_to_pc()
122 if (value_or & P_OR_SLCT_IN) in control_sunbpp_to_pc()
125 dprintk((KERN_DEBUG "tcr 0x%x or 0x%x\n", value_tcr, value_or)); in control_sunbpp_to_pc()
141 unsigned char value_or = sbus_readb(&regs->p_or); in parport_sunbpp_frob_control() local
144 value_tcr, value_or)); in parport_sunbpp_frob_control()
154 value_or &= ~P_OR_AFXN; in parport_sunbpp_frob_control()
156 value_or |= P_OR_AFXN; in parport_sunbpp_frob_control()
161 value_or &= ~P_OR_INIT; in parport_sunbpp_frob_control()
[all …]
/openbmc/phosphor-networkd/src/
H A Dutil.cpp206 .value_or(def); in getIPv6AcceptRA()
212 .value_or(DHCPVal{.v4 = true, .v6 = true}); in getDHCPValue()
226 .value_or(true); in getDHCPProp()
H A Dsystem_queries.cpp95 .value_or(EthInfo{}); in getEthInfo()
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Duser_header.cpp97 _eventScope = entry.eventScope.value_or( in UserHeader()
177 if (sevLevel.value_or("") == "SYSTEM_TERM") in UserHeader()
209 _actionFlags = entry.actionFlags.value_or(actionFlagsDefault); in UserHeader()
H A Dphal_service_actions.cpp124 getGardType(guardTypeStr).value_or(GardType::GARD_Predictive); in createGuardRecords()
H A Ddata_interface.cpp317 phosphor::logging::util::getOSReleaseValue("VERSION").value_or(""); in readBMCFWVersion()
323 phosphor::logging::util::getOSReleaseValue("VERSION_ID").value_or(""); in readServerFWVersion()
334 phosphor::logging::util::getOSReleaseValue("VERSION_ID").value_or(""); in readBMCFWVersionID()
925 .value_or("")); in getAssociatedPaths()
/openbmc/intel-ipmi-oem/src/
H A Dsensorcommands.cpp177 eventData2.value_or(0xFF), eventData3.value_or(0xFF)); in ipmiSenPlatformEvent()
H A Dchassiscommands.cpp187 uint8_t identifyInterval = interval.value_or(defaultIdentifyTimeOut); in ipmiChassisIdentify()
188 bool forceIdentify = force.value_or(0) & 0x01; in ipmiChassisIdentify()
/openbmc/bmcweb/redfish-core/lib/
H A Dsystems_logservices_hostlogger.hpp197 size_t skip = delegatedQuery.skip.value_or(0); in handleSystemsLogServicesHostloggerEntriesGet()
198 size_t top = delegatedQuery.top.value_or(query_param::Query::maxTop); in handleSystemsLogServicesHostloggerEntriesGet()
H A Dmanager_logservices_journal.hpp161 size_t skip = delegatedQuery.skip.value_or(0); in handleManagersJournalLogEntryCollectionGet()
162 size_t top = delegatedQuery.top.value_or(query_param::Query::maxTop); in handleManagersJournalLogEntryCollectionGet()
H A Dvirtual_media.hpp602 asyncResp->res, actionParams.transferProtocolType.value_or(""), in validateParams()
631 asyncResp->res, actionParams.transferProtocolType.value_or(""), in validateParams()
656 !(actionParams.writeProtected.value_or(false)),
H A Dsystems_logservices_postcodes.hpp494 size_t skip = delegatedQuery.skip.value_or(0); in handleSystemsLogServicesPostCodesEntriesGet()
495 size_t top = delegatedQuery.top.value_or(query_param::Query::maxTop); in handleSystemsLogServicesPostCodesEntriesGet()
/openbmc/phosphor-debug-collector/
H A Ddump_manager_bmc.cpp73 dumpTypeToString(dumpType).value_or("unknown").c_str(), "PATH", in createDump()
122 auto strType = dumpTypeToString(type).value_or("unknown"); in captureDump()
/openbmc/phosphor-host-ipmid/
H A Dtransporthandler.cpp311 addr = address.value_or(addr); in reconfigureIfAddr4()
315 prefix.value_or(fallbackPrefix)); in reconfigureIfAddr4()
730 if (!isLanChannel(channel).value_or(false)) in setLanInt()
1108 if (!isLanChannel(channel).value_or(false)) in getLan()
1200 gateway.value_or(stdplus::In4Addr{}))); in getLan()
1313 channelCall<getGatewayProperty<AF_INET6>>(channel).value_or( in getLan()
/openbmc/phosphor-led-sysfs/interfaces/
H A Dinternal_interface.cpp99 ledDescr.color.value_or(""))); in createLEDPath()
/openbmc/bmcweb/include/
H A Ddbus_privileges.hpp64 session.isConfigureSelfOnly = passwordExpired.value_or(false); in populateUserInfo()
/openbmc/sdeventplus/src/sdeventplus/utility/
H A Dtimer.cpp20 Clock<Id>(event).now() + interval.value_or(Duration::zero()), in Timer()
/openbmc/phosphor-bmc-code-mgmt/bmc/
H A Dupdate_manager.cpp159 auto purpose = convertedPurpose.value_or(Version::VersionPurpose::Unknown); in processImage()
H A Dimage_manager.cpp193 auto purpose = convertedPurpose.value_or(Version::VersionPurpose::Unknown); in processImage()
H A Dimage_verify.cpp52 purpose = convertedPurpose.value_or(Version::VersionPurpose::Unknown); in Signature()
/openbmc/bmcweb/http/
H A Dhttp_body.hpp288 return payloadSize.value_or(0U); in size()
/openbmc/phosphor-net-ipmid/command/
H A Drakp12.cpp38 "REDFISH_MESSAGE_ARGS", messageArgs.value_or(std::string{})); in logInvalidLoginRedfishEvent()
/openbmc/phosphor-host-ipmid/user_channel/
H A Dusercommands.cpp60 uint8_t sessLimit = sessionLimit.value_or(0); in ipmiSetUserAccess()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cpp2303 if (operation.value_or(0) == getSdrCount) in ipmiSensorGetDeviceSdrInfo()
2307 else if (operation.value_or(0) == getSensorCount) in ipmiSensorGetDeviceSdrInfo()
2460 ctx, ipmiDecoratorPaths.value_or(std::unordered_set<std::string>()), in ipmiStorageGetSDR()
2562 ipmiDecoratorPaths.value_or(std::unordered_set<std::string>()), in getSensorsByEntityId()
/openbmc/phosphor-logging/
H A Dlog_manager.cpp711 return version.value_or(""); in readFWVersion()

12