/openbmc/openpower-vpd-parser/ |
H A D | const.hpp | 28 static constexpr auto LAST_KW = "PF"; 29 static constexpr auto POUND_KW = '#'; 49 constexpr int IPZ_DATA_START = 11; 78 constexpr int TWO_BYTES = 2; 81 constexpr auto FORMAT_11S_LEN = 3; 100 static constexpr auto VALUE_0 = 0; 101 static constexpr auto VALUE_1 = 1; 102 static constexpr auto VALUE_2 = 2; 103 static constexpr auto VALUE_3 = 3; 104 static constexpr auto VALUE_4 = 4; [all …]
|
H A D | defines.hpp | 21 constexpr const char* getRecord() = delete; 24 constexpr const char* getRecord<Record::VINI>() in getRecord() 30 constexpr const char* getRecord<Record::OPFR>() in getRecord() 36 constexpr const char* getRecord<Record::OSYS>() in getRecord() 66 constexpr const char* getKeyword() = delete; 69 constexpr const char* getKeyword<Keyword::DR>() in getKeyword() 75 constexpr const char* getKeyword<Keyword::PN>() in getKeyword() 155 static constexpr auto BD_YEAR_END = 4; 156 static constexpr auto BD_MONTH_END = 7; 157 static constexpr auto BD_DAY_END = 10; [all …]
|
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | api-types.hpp | 30 constexpr Group groupPICMG = 0x00; 31 constexpr Group groupDMTG = 0x01; 32 constexpr Group groupSSI = 0x02; 33 constexpr Group groupVSO = 0x03; 34 constexpr Group groupDCMI = 0xDC; 43 constexpr int prioOemBase = 20; 44 constexpr int prioOdmBase = 30; 45 constexpr int prioCustomBase = 40; 46 constexpr int prioMax = 50; 368 constexpr Cc ccSuccess = 0x00; [all …]
|
H A D | sessiondef.hpp | 22 static constexpr auto sessionManagerRootPath = 25 static constexpr uint8_t ipmi20VerSession = 0x01; 26 static constexpr size_t maxSessionCountPerChannel = 15; 27 static constexpr size_t sessionZero = 0; 28 static constexpr size_t maxSessionlessCount = 1; 29 static constexpr uint8_t invalidSessionID = 0; 30 static constexpr uint8_t invalidSessionHandle = 0; 31 static constexpr uint8_t defaultSessionHandle = 0xFF; 33 static constexpr uint8_t ccInvalidSessionId = 0x87; 35 static constexpr uint8_t searchCurrentSession = 0; [all …]
|
/openbmc/intel-ipmi-oem/include/ |
H A D | oemcommands.hpp | 34 static constexpr Cmd cmdGetSmSignal = 0x14; 35 static constexpr Cmd cmdSetSmSignal = 0x15; 36 static constexpr Cmd cmdSetBIOSID = 0x26; 80 static constexpr Cmd cmdSetBIOSCap = 0xD3; 96 static constexpr Cmd cmdClearCMOS = 0x91; 101 static constexpr Cmd cmdMdrStatus = 0x20; 103 static constexpr Cmd cmdMdrEvent = 0x22; 104 static constexpr Cmd cmdMdrRead = 0x23; 105 static constexpr Cmd cmdMdrWrite = 0x24; 106 static constexpr Cmd cmdMdrLock = 0x25; [all …]
|
H A D | bridgingcommands.hpp | 24 constexpr int responseQueueMaxSize = 20; 29 constexpr uint8_t ipmbLunMask = 0x03; 30 constexpr uint8_t ipmbSeqMask = 0x3F; 32 constexpr uint8_t ipmbMeChannelNum = 1; 70 constexpr size_t ipmbMaxDataSize = 256; 75 constexpr size_t ipmbChecksumSize = 1; 76 constexpr size_t ipmbMinFrameLength = 7; 77 constexpr size_t ipmbMaxFrameLength = 87 constexpr uint8_t targetChannelLan = 0x4; 98 constexpr uint8_t modeNoTracking = 0x0; [all …]
|
/openbmc/slpd-lite/ |
H A D | slp_meta.hpp | 6 constexpr size_t VERSION_2 = 2; 7 constexpr auto SUCCESS = 0; 9 constexpr auto PORT = 427; 11 constexpr auto TIMEOUT = 30; 13 constexpr auto LIFETIME = 5; 16 constexpr size_t MAX_LEN = 255; 26 constexpr size_t SIZE_FLAGS = 2; 27 constexpr size_t SIZE_EXT = 3; 28 constexpr size_t SIZE_XID = 2; 29 constexpr size_t SIZE_LANG = 2; [all …]
|
/openbmc/phosphor-power/ |
H A D | types.hpp | 11 constexpr auto PSU_INVENTORY_IFACE = 13 constexpr auto OPERATIONAL_STATE_IFACE = 16 constexpr auto AVAILABILITY_IFACE = 25 constexpr auto ENDPOINTS_PROP = "endpoints"; 26 constexpr auto MESSAGE_PROP = "Message"; 27 constexpr auto RESOLVED_PROP = "Resolved"; 28 constexpr auto PRESENT_PROP = "Present"; 29 constexpr auto FUNCTIONAL_PROP = "Functional"; 30 constexpr auto AVAILABLE_PROP = "Available"; 31 constexpr auto ASSOC_PROP = "Associations"; [all …]
|
H A D | pmbus.hpp | 15 constexpr auto READ_VIN = "in1_input"; 20 constexpr auto IBM_CFFPS_1400W = 30725; 25 constexpr auto VIN_VOLTAGE_MIN = 20; 32 constexpr auto VIN_VOLTAGE_0 = 0; 33 constexpr auto VIN_VOLTAGE_110 = 110; 34 constexpr auto VIN_VOLTAGE_220 = 220; 52 constexpr auto WARNING_MASK = 0x6A; 90 constexpr auto FAN_FAULT = 0x0400; 121 constexpr auto OV_FAULT = 0x80; 124 constexpr auto UV_FAULT = 0x10; [all …]
|
/openbmc/phosphor-fan-presence/control/ |
H A D | types.hpp | 19 constexpr auto propertyNamePos = 0; 35 constexpr auto fanNamePos = 0; 42 constexpr auto pathPos = 0; 43 constexpr auto intfPos = 1; 44 constexpr auto propPos = 2; 58 constexpr auto pcPathPos = 0; 59 constexpr auto pcIntfPos = 1; 60 constexpr auto pcPropPos = 2; 65 constexpr auto namePos = 0; 70 constexpr auto typePos = 1; [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | dcmihandler.hpp | 15 static constexpr auto assetTagIntf = 17 static constexpr auto assetTagProp = "AssetTag"; 20 static constexpr auto networkConfigIntf = 22 static constexpr auto hostNameProp = "HostName"; 24 static constexpr size_t maxInstances = 255; 25 static constexpr uint8_t maxRecords = 8; 26 static constexpr auto gDCMISensorsConfig = 28 static constexpr auto ethernetIntf = 32 static constexpr auto dhcpIntf = 37 static constexpr auto gDCMICapabilitiesConfig = [all …]
|
H A D | transportconstants.hpp | 22 constexpr auto INTF_NEIGHBOR_CREATE_STATIC = 76 constexpr uint8_t IPv6Only = 0; 77 constexpr uint8_t DualStack = 1; 78 constexpr uint8_t IPv6Alerts = 2; 92 constexpr uint8_t DHCP = 0; 93 constexpr uint8_t SLAAC = 1; 113 constexpr uint8_t Static = 0; 114 constexpr uint8_t Dynamic = 1; 118 constexpr Cc ccParamNotSupported = 0x80; 119 constexpr Cc ccParamSetLocked = 0x81; [all …]
|
H A D | selutility.hpp | 43 static constexpr auto selVersion = 0x51; 46 static constexpr auto firstEntry = 0x0000; 47 static constexpr auto lastEntry = 0xFFFF; 48 static constexpr auto entireRecord = 0xFF; 49 static constexpr auto selRecordSize = 16; 53 static constexpr bool overflow = false; 54 static constexpr bool deleteSel = true; 56 static constexpr bool reserveSel = true; 72 constexpr size_t SELRecordLength = 16; 143 static constexpr auto initiateErase = 0xAA; [all …]
|
/openbmc/fb-ipmi-oem/include/ |
H A D | storagecommands.hpp | 30 static constexpr uint8_t ipmiSdrVersion = 0x51; 107 static constexpr auto selVersion = 0x51; 110 static constexpr auto freeSpace = 0xFFFF; 113 static constexpr auto firstEntry = 0x0000; 114 static constexpr auto lastEntry = 0xFFFF; 115 static constexpr auto entireRecord = 0xFF; 116 static constexpr auto selRecordSize = 16; 118 static constexpr auto stdErr = "Standard"; 124 static constexpr uint8_t stdErrType = 0x02; 132 static constexpr uint8_t unifiedMemErr = 1; [all …]
|
/openbmc/dbus-sensors/src/ipmb/ |
H A D | IpmbSDRSensor.hpp | 24 static constexpr uint8_t sdrNxtRecLSB = 0; 25 static constexpr uint8_t sdrNxtRecMSB = 1; 26 static constexpr uint8_t perCountByte = 16; 29 static constexpr uint8_t sdrType = 5; 30 static constexpr uint8_t dataLengthByte = 6; 31 static constexpr uint8_t sdrSensorNum = 9; 39 static constexpr uint8_t twosCompVal = 128; 40 static constexpr double thermalConst = 256; 45 static constexpr uint8_t sdrUnitType = 25; 49 static constexpr uint8_t mDataByte = 28; [all …]
|
/openbmc/openpower-hw-diags/attn/ |
H A D | ti_handler.hpp | 58 constexpr uint8_t hbDumpFlag = 0x01; 59 constexpr uint8_t hbNotVisibleFlag = 0x02; 62 constexpr uint8_t TI_WITH_PLID = 0x01; 63 constexpr uint8_t TI_WITH_SRC = 0x02; 64 constexpr uint8_t TI_WITH_EID = 0x03; 67 constexpr uint16_t INITSVC_COMP_ID = 0x0500; 68 constexpr uint16_t PNOR_COMP_ID = 0x0600; 69 constexpr uint16_t HWAS_COMP_ID = 0x0C00; 70 constexpr uint16_t SECURE_COMP_ID = 0x1E00; 71 constexpr uint16_t TRBOOT_COMP_ID = 0x2B00; [all …]
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | format.hpp | 23 static constexpr auto format = "=%d"; 28 static constexpr auto format = "=%hhd"; 33 static constexpr auto format = "=%hd"; 38 static constexpr auto format = "=%d"; 43 static constexpr auto format = "=%ld"; 53 static constexpr auto format = "=%lf"; 63 static constexpr auto format = "=%hd"; 68 static constexpr auto format = "=%d"; 83 static constexpr auto format = "=%s"; 88 static constexpr auto format = "=%s"; [all …]
|
/openbmc/openpower-proc-control/ |
H A D | p9_cfam.hpp | 10 static constexpr uint32_t P9_DD10_CHIPID = 0x120D1049; 12 static constexpr uint16_t P9_FSI_A_SI1S = 0x081C; 13 static constexpr uint16_t P9_LL_MODE_REG = 0x0840; 14 static constexpr uint16_t P9_FSI2PIB_CHIPID = 0x100A; 15 static constexpr uint16_t P9_FSI2PIB_INTERRUPT = 0x100B; 17 static constexpr uint16_t P9_CBS_CS = 0x2801; 18 static constexpr uint16_t P9_SBE_CTRL_STATUS = 0x2808; 20 static constexpr uint16_t P9_ROOT_CTRL0 = 0x2810; 21 static constexpr uint16_t P9_PERV_CTRL0 = 0x281A; 22 static constexpr uint16_t P9_HB_MBX5_REG = 0x283C; [all …]
|
/openbmc/service-config-manager/inc/ |
H A D | utils.hpp | 28 static constexpr const char* sysdStartUnit = "StartUnit"; 29 static constexpr const char* sysdStopUnit = "StopUnit"; 31 static constexpr const char* sysdReloadMethod = "Reload"; 32 static constexpr const char* sysdGetJobMethod = "GetJob"; 33 static constexpr const char* sysdReplaceMode = "replace"; 34 static constexpr const char* dBusGetAllMethod = "GetAll"; 35 static constexpr const char* dBusGetMethod = "Get"; 42 static constexpr const char* stateMasked = "masked"; 43 static constexpr const char* stateEnabled = "enabled"; 44 static constexpr const char* stateDisabled = "disabled"; [all …]
|
/openbmc/openpower-debug-collector/dump/ |
H A D | sbe_consts.hpp | 7 constexpr auto SBE_DUMP_TYPE_HOSTBOOT = 0x5; 8 constexpr auto SBE_DUMP_TYPE_HARDWARE = 0x1; 9 constexpr auto SBE_DUMP_TYPE_PERFORMANCE = 0x3; 12 constexpr auto SBE_DUMP_TYPE_SBE = 0xA; 13 constexpr auto SBE_DUMP_TYPE_MSBE = 0xB; 17 constexpr auto SBE_CLOCK_ON = 0x1; 20 constexpr auto SBE_CLOCK_OFF = 0x2; 23 constexpr auto SBEFIFO_CMD_CLASS_DUMP = 0xAA00; 26 constexpr auto SBEFIFO_CMD_GET_DUMP = 0x01; 35 constexpr uint8_t FFDC_FORMAT_SUBTYPE = 0xCB; [all …]
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | vtable.hpp | 14 constexpr vtable_t start(decltype(vtable_t::flags) flags = 0); 17 constexpr vtable_t end(); 73 constexpr vtable_t property( 98 constexpr vtable_t 105 constexpr auto deprecated = SD_BUS_VTABLE_DEPRECATED; 106 constexpr auto hidden = SD_BUS_VTABLE_HIDDEN; 117 constexpr auto const_ = SD_BUS_VTABLE_PROPERTY_CONST; 121 constexpr auto none = decltype(vtable_t::flags){}; 129 constexpr vtable_t end() in end() 163 constexpr vtable_t property( in property() [all …]
|
/openbmc/openpower-vpd-parser/vpd-parser/ |
H A D | isdimm_vpd_parser.cpp | 15 static constexpr auto SPD_JEDEC_DDR4_SDRAM_CAP_MASK = 0x0F; 16 static constexpr auto SPD_JEDEC_DDR4_PRI_BUS_WIDTH_MASK = 0x07; 17 static constexpr auto SPD_JEDEC_DDR4_SDRAM_WIDTH_MASK = 0x07; 18 static constexpr auto SPD_JEDEC_DDR4_NUM_RANKS_MASK = 0x38; 19 static constexpr auto SPD_JEDEC_DDR4_DIE_COUNT_MASK = 0x70; 20 static constexpr auto SPD_JEDEC_DDR4_SINGLE_LOAD_STACK = 0x02; 26 static constexpr auto SPD_JEDEC_DDR4_SDRAMCAP_RESERVED = 8; 27 static constexpr auto SPD_JEDEC_DDR4_4_RESERVED_BITS = 4; 28 static constexpr auto SPD_JEDEC_DDR4_3_RESERVED_BITS = 3; 33 static constexpr auto SPD_JEDEC_DDR4_SN_BYTE0_OFFSET = 325; [all …]
|
/openbmc/phosphor-power/power-sequencer/ |
H A D | types.hpp | 43 constexpr auto gpioNumField = 0; 44 constexpr auto gpioCalloutField = 1; 49 constexpr auto gpioPolarityField = 1; 51 constexpr auto optionFlagsField = 3; 61 constexpr auto gpiNumField = 0; 62 constexpr auto pinIDField = 1; 63 constexpr auto gpiNameField = 2; 64 constexpr auto pollField = 3; 74 constexpr auto pathField = 0; 75 constexpr auto railNamesField = 1; [all …]
|
/openbmc/witherspoon-pfault-analysis/power-sequencer/ |
H A D | types.hpp | 43 constexpr auto gpioNumField = 0; 44 constexpr auto gpioCalloutField = 1; 49 constexpr auto gpioPolarityField = 1; 51 constexpr auto optionFlagsField = 3; 61 constexpr auto gpiNumField = 0; 62 constexpr auto pinIDField = 1; 63 constexpr auto gpiNameField = 2; 64 constexpr auto pollField = 3; 74 constexpr auto pathField = 0; 75 constexpr auto railNamesField = 1; [all …]
|
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/ |
H A D | __p2300.hpp | 35 inline constexpr stdexec::tag_invoke_t tag_invoke{}; 111 inline constexpr stdexec::get_env_t get_env{}; 158 inline constexpr stdexec::start_t start{}; 213 inline constexpr stdexec::connect_t connect{}; 232 inline constexpr auto just = stdexec::just; 242 inline constexpr auto read = stdexec::read; 277 inline constexpr auto on = stdexec::on; 283 inline constexpr auto then = stdexec::then; 295 inline constexpr auto bulk = stdexec::bulk; 297 inline constexpr auto split = stdexec::split; [all …]
|