Home
last modified time | relevance | path

Searched refs:constexpr (Results 1 – 25 of 1110) sorted by relevance

12345678910>>...45

/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dconstants.hpp9 static constexpr auto KEYWORD_SIZE = 2;
10 static constexpr auto RECORD_SIZE = 4;
12 static constexpr uint8_t IPZ_DATA_START = 11;
13 static constexpr uint8_t IPZ_DATA_START_TAG = 0x84;
14 static constexpr uint8_t IPZ_RECORD_END_TAG = 0x78;
16 static constexpr uint8_t KW_VPD_DATA_START = 0;
17 static constexpr uint8_t KW_VPD_START_TAG = 0x82;
18 static constexpr uint8_t KW_VPD_PAIR_START_TAG = 0x84;
19 static constexpr uint8_t ALT_KW_VPD_PAIR_START_TAG = 0x90;
20 static constexpr uint8_
[all...]
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dapi-types.hpp30 constexpr Group groupPICMG = 0x00;
31 constexpr Group groupDMTG = 0x01;
32 constexpr Group groupSSI = 0x02;
33 constexpr Group groupVSO = 0x03;
34 constexpr Group groupDCMI = 0xDC;
42 constexpr int prioOpenBmcBase = 10;
43 constexpr int prioOemBase = 20;
44 constexpr int prioOdmBase = 30;
45 constexpr int prioCustomBase = 40;
46 constexpr int prioMax = 50;
[all …]
H A Dsessiondef.hpp22 static constexpr auto sessionManagerRootPath =
24 static constexpr auto sessionIntf = "xyz.openbmc_project.Ipmi.SessionInfo";
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;
32 static constexpr uint8_t maxNetworkInstanceSupported = 4;
[all …]
/openbmc/intel-ipmi-oem/include/
H A Doemcommands.hpp26 static constexpr NetFn netFnGeneral = netFnOemOne;
27 static constexpr NetFn netFnPlatform = netFnOemTwo;
28 static constexpr NetFn netFnApp = netFnOemEight;
32 static constexpr Cmd cmdGetBmcVersionString = 0x01;
33 static constexpr Cmd cmdRestoreConfiguration = 0x02;
34 static constexpr Cmd cmdGetSmSignal = 0x14;
35 static constexpr Cmd cmdSetSmSignal = 0x15;
36 static constexpr Cmd cmdSetBIOSID = 0x26;
37 static constexpr Cmd cmdGetOEMDeviceInfo = 0x27;
38 static constexpr Cmd cmdSetColdRedundancyConfig = 0x2d;
[all …]
H A Dbridgingcommands.hpp24 constexpr int responseQueueMaxSize = 20;
29 constexpr uint8_t ipmbLunMask = 0x03;
30 constexpr uint8_t ipmbSeqMask = 0x3F;
31 constexpr uint8_t ipmbMeTargetAddress = 0x2C;
32 constexpr uint8_t ipmbMeChannelNum = 1;
37 constexpr uint8_t ipmbNetFnGet(uint8_t netFnLun) in ipmbNetFnGet()
42 constexpr uint8_t ipmbLunFromNetFnLunGet(uint8_t netFnLun) in ipmbLunFromNetFnLunGet()
47 constexpr uint8_t ipmbSeqGet(uint8_t seqNumLun) in ipmbSeqGet()
52 constexpr uint8_t ipmbLunFromSeqLunGet(uint8_t seqNumLun) in ipmbLunFromSeqLunGet()
60 constexpr uint8_t ipmbNetFnLunSet(uint8_t netFn, uint8_t lun) in ipmbNetFnLunSet()
[all …]
H A Dsmbiosmdrv2handler.hpp25 static constexpr const char* mdrType2File = "/var/lib/smbios/smbios2";
26 static constexpr const char* smbiosPath = "/var/lib/smbios";
27 static constexpr const size_t msgPayloadSize =
29 static constexpr const size_t mdriiSMSize = 0x00100000;
31 static constexpr const uint16_t smbiosAgentId =
33 static constexpr const int firstAgentIndex = 1;
35 static constexpr const uint8_t maxDirEntries = 4; // Maximum directory entries
36 static constexpr const uint32_t mdr2SMSize =
38 static constexpr const uint32_t mdr2SMBaseAddress =
41 static constexpr const uint8_t mdrTypeII = 2; // MDR V2 type
[all …]
/openbmc/slpd-lite/
H A Dslp_meta.hpp6 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;
24 constexpr size_t SIZE_VERSION = 1;
25 constexpr size_t SIZE_LENGTH = 1;
26 constexpr size_t SIZE_FLAGS = 2;
27 constexpr size_t SIZE_EXT = 3;
[all …]
/openbmc/phosphor-fan-presence/control/
H A Dtypes.hpp19 constexpr auto propertyNamePos = 0;
20 constexpr auto propertyInterfacePos = 1;
21 constexpr auto propertyPathPos = 2;
22 constexpr auto propertyValuePos = 3;
28 constexpr auto conditionTypePos = 0;
29 constexpr auto conditionPropertyListPos = 1;
35 constexpr auto fanNamePos = 0;
36 constexpr auto sensorListPos = 1;
37 constexpr auto targetInterfacePos = 2;
38 constexpr auto targetControlPathPos = 3;
[all …]
/openbmc/phosphor-power/
H A Dtypes.hpp5 constexpr auto ASSOCIATION_IFACE = "xyz.openbmc_project.Association";
6 constexpr auto LOGGING_IFACE = "xyz.openbmc_project.Logging.Entry";
7 constexpr auto INVENTORY_IFACE = "xyz.openbmc_project.Inventory.Item";
8 constexpr auto POWER_IFACE = "org.openbmc.control.Power";
9 constexpr auto INVENTORY_MGR_IFACE = "xyz.openbmc_project.Inventory.Manager";
10 constexpr auto ASSET_IFACE = "xyz.openbmc_project.Inventory.Decorator.Asset";
11 constexpr auto PSU_INVENTORY_IFACE =
13 constexpr auto OPERATIONAL_STATE_IFACE =
15 constexpr auto VERSION_IFACE = "xyz.openbmc_project.Software.Version";
16 constexpr auto AVAILABILITY_IFACE =
[all …]
H A Dpmbus.hpp15 constexpr auto READ_VIN = "in1_input";
18 constexpr auto MFR_POUT_MAX = "max_power_out";
20 constexpr auto IBM_CFFPS_1400W = 30725;
25 constexpr auto VIN_VOLTAGE_MIN = 20;
26 constexpr auto VIN_VOLTAGE_110_THRESHOLD = 160;
32 constexpr auto VIN_VOLTAGE_0 = 0;
33 constexpr auto VIN_VOLTAGE_110 = 110;
34 constexpr auto VIN_VOLTAGE_220 = 220;
38 constexpr auto STATUS_WORD = "status0";
41 constexpr auto STATUS_INPUT = "status0_input";
[all …]
/openbmc/phosphor-host-ipmid/
H A Ddcmihandler.hpp14 static constexpr auto propIntf = "org.freedesktop.DBus.Properties";
15 static constexpr auto assetTagIntf =
17 static constexpr auto assetTagProp = "AssetTag";
18 static constexpr auto networkServiceName = "xyz.openbmc_project.Network";
19 static constexpr auto networkConfigObj = "/xyz/openbmc_project/network/config";
20 static constexpr auto networkConfigIntf =
22 static constexpr auto hostNameProp = "HostName";
23 static constexpr auto temperatureSensorType = 0x01;
24 static constexpr size_t maxInstances = 255;
25 static constexpr uint8_t maxRecords = 8;
[all …]
H A Dtransportconstants.hpp16 constexpr auto PATH_ROOT = "/xyz/openbmc_project/network"_zsv;
17 constexpr auto INTF_ETHERNET = "xyz.openbmc_project.Network.EthernetInterface";
18 constexpr auto INTF_IP = "xyz.openbmc_project.Network.IP";
19 constexpr auto INTF_IP_CREATE = "xyz.openbmc_project.Network.IP.Create";
20 constexpr auto INTF_MAC = "xyz.openbmc_project.Network.MACAddress";
21 constexpr auto INTF_NEIGHBOR = "xyz.openbmc_project.Network.Neighbor";
22 constexpr auto INTF_NEIGHBOR_CREATE_STATIC =
24 constexpr auto INTF_VLAN = "xyz.openbmc_project.Network.VLAN";
25 constexpr auto INTF_VLAN_CREATE = "xyz.openbmc_project.Network.VLAN.Create";
76 constexpr uint8_t IPv6Only = 0;
[all …]
H A Dselutility.hpp18 static constexpr auto mapperBusName = "xyz.openbmc_project.ObjectMapper";
19 static constexpr auto mapperObjPath = "/xyz/openbmc_project/object_mapper";
20 static constexpr auto mapperIntf = "xyz.openbmc_project.ObjectMapper";
22 static constexpr auto logWatchPath = "/xyz/openbmc_project/logging";
23 static constexpr auto logBasePath = "/xyz/openbmc_project/logging/entry";
24 static constexpr auto logEntryIntf = "xyz.openbmc_project.Logging.Entry";
25 static constexpr auto logDeleteIntf = "xyz.openbmc_project.Object.Delete";
27 static constexpr auto logObj = "/xyz/openbmc_project/logging";
28 static constexpr auto logIntf = "xyz.openbmc_project.Collection.DeleteAll";
29 static constexpr auto logDeleteAllMethod = "DeleteAll";
[all …]
/openbmc/openpower-vpd-parser/vpd-tool/include/
H A Dtool_constants.hpp9 static constexpr auto KEYWORD_SIZE = 2;
10 static constexpr auto RECORD_SIZE = 4;
11 static constexpr auto INDENTATION = 4;
12 static constexpr auto SUCCESS = 0;
13 static constexpr auto FAILURE = -1;
16 static constexpr auto STR_CMP_SUCCESS = 0;
18 constexpr auto inventoryManagerService =
20 constexpr auto baseInventoryPath = "/xyz/openbmc_project/inventory";
21 constexpr auto ipzVpdInfPrefix = "com.ibm.ipzvpd.";
23 constexpr aut
[all...]
/openbmc/fb-ipmi-oem/include/
H A Dstoragecommands.hpp30 static constexpr uint8_t ipmiSdrVersion = 0x51;
107 static constexpr auto selVersion = 0x51;
108 static constexpr auto invalidTimeStamp = 0xFFFFFFFF;
110 static constexpr auto freeSpace = 0xFFFF;
111 static constexpr uint8_t selOperationSupport = 0x02;
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";
[all …]
/openbmc/dbus-sensors/src/ipmb/
H A DIpmbSDRSensor.hpp25 static constexpr uint8_t netfnStorageReq = 0x0a;
26 static constexpr uint8_t cmdStorageGetSdrInfo = 0x20;
27 static constexpr uint8_t cmdStorageReserveSdr = 0x22;
28 static constexpr uint8_t cmdStorageGetSdr = 0x23;
31 static constexpr uint8_t sdrNxtRecLSB = 0;
32 static constexpr uint8_t sdrNxtRecMSB = 1;
33 static constexpr uint8_t perCountByte = 16;
36 static constexpr uint8_t sdrType = 5;
37 static constexpr uint8_t dataLengthByte = 6;
38 static constexpr uint8_t sdrSensorNum = 9;
[all …]
/openbmc/openpower-hw-diags/attn/
H A Dti_handler.hpp58 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 Dformat.hpp23 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";
48 static constexpr auto format = "=%lld";
53 static constexpr auto format = "=%lf";
58 static constexpr auto format = "=%hhd";
63 static constexpr auto format = "=%hd";
68 static constexpr auto format = "=%d";
[all …]
/openbmc/openpower-proc-control/
H A Dp9_cfam.hpp10 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;
16 static constexpr uint16_t P9_FSI2PIB_TRUE_MASK = 0x100D;
17 static constexpr uint16_t P9_CBS_CS = 0x2801;
18 static constexpr uint16_t P9_SBE_CTRL_STATUS = 0x2808;
19 static constexpr uint16_t P9_SBE_MSG_REGISTER = 0x2809;
20 static constexpr uint16_t P9_ROOT_CTRL0 = 0x2810;
[all …]
/openbmc/service-config-manager/inc/
H A Dutils.hpp28 static constexpr const char* sysdStartUnit = "StartUnit";
29 static constexpr const char* sysdStopUnit = "StopUnit";
30 static constexpr const char* sysdRestartUnit = "RestartUnit";
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";
36 static constexpr const char* sysdService = "org.freedesktop.systemd1";
37 static constexpr const char* sysdObjPath = "/org/freedesktop/systemd1";
[all …]
/openbmc/sdbusplus/include/sdbusplus/
H A Dvtable.hpp14 constexpr vtable_t start(decltype(vtable_t::flags) flags = 0);
17 constexpr vtable_t end();
27 constexpr vtable_t method(const char* member, const char* signature,
40 constexpr vtable_t method_o(const char* member, const char* signature,
51 constexpr vtable_t signal(const char* member, const char* signature,
61 constexpr vtable_t property(const char* member, const char* signature,
73 constexpr vtable_t property(
85 constexpr vtable_t property_o(const char* member, const char* signature,
98 constexpr vtable_t property_o(const char* member, const char* signature,
105 constexpr auto deprecated = SD_BUS_VTABLE_DEPRECATED;
[all …]
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__p2300.hpp35 inline constexpr stdexec::tag_invoke_t tag_invoke{};
90 inline constexpr stdexec::get_scheduler_t get_scheduler{};
92 inline constexpr stdexec::get_delegatee_scheduler_t get_delegatee_scheduler{};
94 inline constexpr stdexec::get_allocator_t get_allocator{};
96 inline constexpr stdexec::get_stop_token_t get_stop_token{};
111 inline constexpr stdexec::get_env_t get_env{};
126 inline constexpr stdexec::get_forward_progress_guarantee_t
141 inline constexpr stdexec::set_value_t set_value{};
143 inline constexpr stdexec::set_error_t set_error{};
145 inline constexpr stdexec::set_stopped_t set_stopped{};
[all …]
/openbmc/openpower-debug-collector/dump/
H A Dsbe_consts.hpp7 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;
29 constexpr auto SBEFIFO_CMD_CLASS_INSTRUCTION = 0xA700;
[all …]
/openbmc/smbios-mdr/include/
H A Dsmbios_mdrv2.hpp24 static constexpr const char* mdrDefaultFile = "/var/lib/smbios/smbios2";
26 static constexpr uint16_t mdrSMBIOSSize = 32 * 1024;
28 constexpr uint16_t smbiosAgentId = 0x0101;
29 constexpr int firstAgentIndex = 1;
31 constexpr uint8_t maxDirEntries = 4;
32 constexpr uint32_t mdr2SMSize = 0x00100000;
33 constexpr uint32_t mdr2SMBaseAddress = 0x9FF00000;
35 constexpr uint8_t mdrDirVersion = 1;
36 constexpr uint8_t mdrTypeII = 2;
38 constexpr uint8_t mdr2Version = 2;
[all …]
/openbmc/phosphor-power/power-sequencer/
H A Dtypes.hpp43 constexpr auto gpioNumField = 0;
44 constexpr auto gpioCalloutField = 1;
48 constexpr auto gpioDevicePathField = 0;
49 constexpr auto gpioPolarityField = 1;
50 constexpr auto errorFunctionField = 2;
51 constexpr auto optionFlagsField = 3;
52 constexpr auto gpioDefinitionField = 4;
61 constexpr auto gpiNumField = 0;
62 constexpr auto pinIDField = 1;
63 constexpr auto gpiNameField = 2;
[all …]

12345678910>>...45