Home
last modified time | relevance | path

Searched full:constants (Results 1 – 25 of 1738) sorted by relevance

12345678910>>...70

/openbmc/openpower-vpd-parser/vpd-manager/src/
H A Dddimm_parser.cpp3 #include "constants.hpp"
43 if (i_ByteValue < constants::VALUE_5) in getDdr5DensityPerDie()
45 l_densityPerDie = i_ByteValue * constants::VALUE_4; in getDdr5DensityPerDie()
51 case constants::VALUE_5: in getDdr5DensityPerDie()
55 case constants::VALUE_6: in getDdr5DensityPerDie()
59 case constants::VALUE_7: in getDdr5DensityPerDie()
63 case constants::VALUE_8: in getDdr5DensityPerDie()
79 uint8_t l_DiePerPackage = constants::VALUE_0; in getDdr5DiePerPackage()
80 if (i_ByteValue < constants::VALUE_2) in getDdr5DiePerPackage()
82 l_DiePerPackage = i_ByteValue + constants in getDdr5DiePerPackage()
[all...]
H A Dbios_handler.cpp5 #include "constants.hpp"
27 constants::pldmServiceName), in checkAndListenPldmService()
43 (l_name.compare(constants::pldmServiceName) == in checkAndListenPldmService()
44 constants::STR_CMP_SUCCESS)) in checkAndListenPldmService()
58 if (dbusUtility::isServiceRunning(constants::pldmServiceName)) in checkAndListenPldmService()
75 constants::biosConfigMgrObjPath, in listenBiosAttributes()
76 constants::biosConfigMgrInterface), in listenBiosAttributes()
188 constants::pimServiceName, constants::systemVpdInvPath, in processFieldCoreOverride()
189 constants in processFieldCoreOverride()
[all...]
H A Dparser_factory.cpp3 #include "constants.hpp"
36 if (i_vpdVector[constants::IPZ_DATA_START] == constants::IPZ_DATA_START_TAG) in vpdTypeCheck()
40 else if (i_vpdVector[constants::KW_VPD_DATA_START] == in vpdTypeCheck()
41 constants::KW_VPD_START_TAG) in vpdTypeCheck()
45 else if (((i_vpdVector[constants::SPD_BYTE_3] & in vpdTypeCheck()
46 constants::SPD_BYTE_BIT_0_3_MASK) == in vpdTypeCheck()
47 constants::SPD_MODULE_TYPE_DDIMM)) in vpdTypeCheck()
50 if (i_vpdVector.size() > (constants::DDIMM_11S_BARCODE_START + in vpdTypeCheck()
51 constants::DDIMM_11S_BARCODE_LEN)) in vpdTypeCheck()
54 for (uint8_t l_index = 0; l_index < constants::DDIMM_11S_FORMAT_LEN; in vpdTypeCheck()
[all …]
H A Dkeyword_vpd_parser.cpp3 #include "constants.hpp"
22 if (*m_vpdIterator != constants::KW_VPD_START_TAG) in parse()
27 checkNextBytesValidity(sizeof(constants::KW_VPD_START_TAG)); in parse()
28 std::advance(m_vpdIterator, sizeof(constants::KW_VPD_START_TAG)); in parse()
32 checkNextBytesValidity(constants::TWO_BYTES + l_dataSize); in parse()
33 std::advance(m_vpdIterator, constants::TWO_BYTES + l_dataSize); in parse()
36 if (*m_vpdIterator != constants::KW_VPD_PAIR_START_TAG) in parse()
38 if (*m_vpdIterator != constants::ALT_KW_VPD_PAIR_START_TAG) in parse()
48 if (*m_vpdIterator != constants::KW_VAL_PAIR_END_TAG) in parse()
56 checkNextBytesValidity(constants::TWO_BYTES); in parse()
[all …]
H A Disdimm_parser.cpp3 #include "constants.hpp"
16 // Constants
75 l_tmp = i_iterator[constants::SPD_BYTE_4] & SPD_JEDEC_DDR4_SDRAM_CAP_MASK; in getDDR4DimmCapacity()
88 l_tmp = i_iterator[constants::SPD_BYTE_13] & in getDDR4DimmCapacity()
101 l_tmp = i_iterator[constants::SPD_BYTE_12] & in getDDR4DimmCapacity()
112 l_tmp = i_iterator[constants::SPD_BYTE_6] & in getDDR4DimmCapacity()
117 l_tmp = i_iterator[constants::SPD_BYTE_6] & in getDDR4DimmCapacity()
124 l_tmp = i_iterator[constants::SPD_BYTE_12] & SPD_JEDEC_DDR4_NUM_RANKS_MASK; in getDDR4DimmCapacity()
144 char l_tmpPN[constants::PART_NUM_LEN + 1] = {'\0'}; in getDDR4PartNumber()
157 char l_tmpSN[constants::SERIAL_NUM_LEN + 1] = {'\0'}; in getDDR4SerialNumber()
[all …]
/openbmc/phosphor-webui/app/common/services/
H A DdataService.js14 'Constants',
15 function(Constants) { argument
16 this.server_health = Constants.SERVER_HEALTH.unknown;
18 this.LED_state = Constants.LED_STATE_TEXT.off;
46 Constants.API_CREDENTIALS.host_storage_key) !== null) {
48 Constants.API_CREDENTIALS.host_storage_key);
50 return Constants.API_CREDENTIALS.default_protocol + '://' +
59 Constants.API_CREDENTIALS.default_protocol + '://' + hostWithPort;
61 Constants.API_CREDENTIALS.host_storage_key, hostURL);
82 this.server_state = Constants.HOST_STATE_TEXT.on;
[all …]
/openbmc/linux/include/uapi/linux/
H A Dethtool_netlink.h61 /* add new constants above here */
113 /* add new constants above here */
137 /* add new constants above here */
150 /* add new constants above here */
159 /* add new constants above here */
172 /* add new constants above here */
184 /* add new constants above here */
193 /* add new constants above here */
204 /* add new constants above here */
213 /* add new constants above here */
[all …]
/openbmc/phosphor-webui/app/server-control/controllers/
H A Dpower-operations-controller.js13 '$scope', 'APIUtils', 'dataService', 'Constants', '$interval', '$q',
16 $scope, APIUtils, dataService, Constants, $interval, $q, toastService, argument
64 }, Constants.POLL_INTERVALS.POWER_OP);
79 Constants.HOST_STATE_TEXT.off, Constants.TIMEOUT.HOST_OFF,
80 Constants.MESSAGES.POLL.HOST_OFF_TIMEOUT);
85 Constants.HOST_STATE_TEXT.on, Constants.TIMEOUT.HOST_ON,
86 Constants.MESSAGES.POLL.HOST_ON_TIMEOUT);
91 Constants.MESSAGES.POWER_OP.WARM_REBOOT_FAILED);
109 Constants.HOST_STATE_TEXT.off,
110 Constants.TIMEOUT.HOST_OFF_IMMEDIATE,
[all …]
/openbmc/openpower-vpd-parser/vpd-manager/include/utility/
H A Ddbus_utility.hpp3 #include "constants.hpp"
146 constants::objectMapperService, constants::objectMapperPath, in getObjectSubTree()
147 constants::objectMapperInf, "GetSubTree"); in getObjectSubTree()
276 if (l_nodeHandle.key().str.find(constants::pimPath, 0) != in callPIM()
280 0, std::strlen(constants::pimPath), ""); in callPIM()
287 bus.new_method_call(constants::pimServiceName, constants::pimPath, in callPIM()
288 constants::pimIntf, "Notify"); in callPIM()
351 constants::biosConfigMgrService, constants::biosConfigMgrObjPath, in biosGetAttributeMethodCall()
352 constants::biosConfigMgrInterface, "GetAttribute"); in biosGetAttributeMethodCall()
419 constants::hostService, constants::hostObjectPath, in isHostRunning()
[all …]
H A Dvpd_specific_utility.hpp5 #include "constants.hpp"
167 result.insert(constants::BD_YEAR_END, 1, '-'); in encodeKeyword()
168 result.insert(constants::BD_MONTH_END, 1, '-'); in encodeKeyword()
169 result.insert(constants::BD_DAY_END, 1, ' '); in encodeKeyword()
170 result.insert(constants::BD_HOUR_END, 1, ':'); in encodeKeyword()
238 std::string kwd1, kwd2{constants::kwdSE}; in getExpandedLocationCode()
249 kwd1 = constants::kwdFC; in getExpandedLocationCode()
250 kwdInterface = constants::vcenInf; in getExpandedLocationCode()
251 recordName = constants::recVCEN; in getExpandedLocationCode()
258 kwd1 = constants::kwdTM; in getExpandedLocationCode()
[all …]
/openbmc/linux/scripts/gdb/linux/
H A Dmm.py11 from linux import utils, constants
25 if not constants.LX_CONFIG_SPARSEMEM_VMEMMAP:
27 if constants.LX_CONFIG_ARM64 and utils.is_target_arch('aarch64'):
38 if constants.LX_CONFIG_ARM64_64K_PAGES:
42 self.MAX_PHYSMEM_BITS = constants.LX_CONFIG_ARM64_VA_BITS
44 self.PAGE_SHIFT = constants.LX_CONFIG_ARM64_PAGE_SHIFT
48 self.VA_BITS = constants.LX_CONFIG_ARM64_VA_BITS
59 if str(constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER).isdigit():
60 self.MAX_ORDER = constants.LX_CONFIG_ARCH_FORCE_MAX_ORDER
70 if constants.LX_CONFIG_SPARSEMEM_EXTREME:
[all …]
H A Dproc.py16 from linux import constants
123 FS_INFO = {constants.LX_SB_SYNCHRONOUS: ",sync",
124 constants.LX_SB_MANDLOCK: ",mand",
125 constants.LX_SB_DIRSYNC: ",dirsync",
126 constants.LX_SB_NOATIME: ",noatime",
127 constants.LX_SB_NODIRATIME: ",nodiratime"}
129 MNT_INFO = {constants.LX_MNT_NOSUID: ",nosuid",
130 constants.LX_MNT_NODEV: ",nodev",
131 constants.LX_MNT_NOEXEC: ",noexec",
132 constants.LX_MNT_NOATIME: ",noatime",
[all …]
H A Dvmalloc.py11 from linux import lists, utils, stackdepot, constants, mm
13 if constants.LX_CONFIG_MMU:
29 if not constants.LX_CONFIG_MMU:
46 if v['flags'] & constants.LX_VM_IOREMAP:
48 if v['flags'] & constants.LX_VM_ALLOC:
50 if v['flags'] & constants.LX_VM_MAP:
52 if v['flags'] & constants.LX_VM_USERMAP:
54 if v['flags'] & constants.LX_VM_DMA_COHERENT:
H A Dradixtree.py15 from linux import constants
22 …return ((node.cast(long_type) & constants.LX_RADIX_TREE_ENTRY_MASK) == constants.LX_RADIX_TREE_INT…
27 indirect_ptr = node.cast(long_type) & ~constants.LX_RADIX_TREE_INTERNAL_NODE
31 return (constants.LX_RADIX_TREE_MAP_SIZE << node['shift']) - 1
55 shift = node['shift'] + constants.LX_RADIX_TREE_MAP_SHIFT
58 offset = (index >> node['shift']) & constants.LX_RADIX_TREE_MAP_MASK
68 shift -= constants.LX_RADIX_TREE_MAP_SHIFT
H A Dinterrupts.py7 from linux import constants
15 return desc['status_use_accessors'] & constants.LX_IRQ_HIDDEN
21 return desc['irq_data']['common']['state_use_accessors'] & constants.LX_IRQD_LEVEL
68 if constants.LX_CONFIG_GENERIC_IRQ_SHOW_LEVEL:
120 if constants.LX_CONFIG_X86_LOCAL_APIC:
129 if constants.LX_CONFIG_SMP:
134 if constants.LX_CONFIG_X86_THERMAL_VECTOR:
137 if constants.LX_CONFIG_X86_MCE_THRESHOLD:
140 if constants.LX_CONFIG_X86_MCE_AMD:
143 if constants.LX_CONFIG_X86_MCE:
[all …]
H A Dslab.py12 from linux import lists, utils, stackdepot, constants, mm
14 SLAB_RED_ZONE = constants.LX_SLAB_RED_ZONE
15 SLAB_POISON = constants.LX_SLAB_POISON
16 SLAB_KMALLOC = constants.LX_SLAB_KMALLOC
17 SLAB_HWCACHE_ALIGN = constants.LX_SLAB_HWCACHE_ALIGN
18 SLAB_CACHE_DMA = constants.LX_SLAB_CACHE_DMA
19 SLAB_CACHE_DMA32 = constants.LX_SLAB_CACHE_DMA32
20 SLAB_STORE_USER = constants.LX_SLAB_STORE_USER
21 SLAB_PANIC = constants.LX_SLAB_PANIC
26 if constants.LX_CONFIG_SLUB_DEBUG:
[all …]
/openbmc/u-boot/drivers/serial/
H A Datmel_usart.h219 /* Constants for USART_MODE */
228 /* Constants for USCLKS */
233 /* Constants for CHRL */
239 /* Constants for PAR */
247 /* Constants for NBSTOP */
252 /* Constants for CHMODE */
258 /* Constants for MSBF */
262 /* Constants for OVER */
266 /* Constants for CD */
270 /* Constants for TO */
[all …]
/openbmc/openpower-vpd-parser/vpd-tool/src/
H A Dvpd_tool.cpp19 int l_rc = constants::FAILURE; in readKeyword()
31 constants::baseInventoryPath + i_vpdPath); in readKeyword()
34 constants::inventoryManagerService, l_inventoryObjectPath, in readKeyword()
35 constants::ipzVpdInfPrefix + i_recordName, i_keywordName); in readKeyword()
50 l_rc = constants::SUCCESS; in readKeyword()
59 l_rc = constants::SUCCESS; in readKeyword()
93 int l_rc{constants::FAILURE}; in dumpObject()
97 i_fruPath = constants::baseInventoryPath + i_fruPath; in dumpObject()
112 l_rc = constants::SUCCESS; in dumpObject()
135 (i_objectPath.find(constants in getFruProperties()
[all...]
H A Dvpd_tool_main.cpp29 return vpd::constants::SUCCESS; in doMfgClean()
60 return vpd::constants::FAILURE; in writeKeyword()
67 return vpd::constants::FAILURE; in writeKeyword()
76 return vpd::constants::FAILURE; in writeKeyword()
85 return vpd::constants::FAILURE; in writeKeyword()
122 return vpd::constants::FAILURE; in readKeyword()
155 return vpd::constants::FAILURE; in checkOptionValuePair()
159 (i_recordName.size() != vpd::constants::RECORD_SIZE)) in checkOptionValuePair()
163 return vpd::constants::FAILURE; in checkOptionValuePair()
167 (i_keywordName.size() != vpd::constants::KEYWORD_SIZE)) in checkOptionValuePair()
[all …]
/openbmc/telemetry/tests/src/utils/
H A Dstring_utils.cpp47 return details::getString(constants::maxPrefixLength); in getMaxPrefix()
52 return details::getString(constants::maxIdNameLength); in getMaxId()
57 return details::getStringWithSpaces(constants::maxIdNameLength); in getMaxName()
62 return details::getString(constants::maxPrefixLength + 1); in getTooLongPrefix()
67 return details::getString(constants::maxIdNameLength + 1); in getTooLongId()
72 return details::getStringWithSpaces(constants::maxIdNameLength + 1); in getTooLongName()
/openbmc/openpower-vpd-parser/vpd-tool/include/
H A Dtool_utils.hpp133 std::cout << i_jsonData.dump(constants::INDENTATION) << std::endl;
208 constants::vpdManagerService, constants::vpdManagerObjectPath, in saveToFile()
209 constants::vpdManagerInfName, "ReadKeyword"); in saveToFile()
250 if (i_keywordValue.substr(0, 2).compare("0x") == constants::STR_CMP_SUCCESS) in displayOnConsole()
328 int l_rc = constants::FAILURE; in writeKeywordOnHardware()
332 constants::vpdManagerService, constants::vpdManagerObjectPath, in writeKeywordOnHardware()
333 constants::vpdManagerInfName, "UpdateKeyword"); in writeKeywordOnHardware()
367 int l_rc = constants in convertToBinary()
[all...]
/openbmc/telemetry/src/utils/
H A Dmake_id_name.cpp47 if (strippedId.find_first_of(utils::constants::allowedCharactersInPath) == in generateId()
54 return c == '/' || utils::constants::allowedCharactersInPath.find(c) == in generateId()
61 strippedId.substr(0, constants::maxIdNameLength); in generateId()
68 if (digitsInIdx > constants::maxIdNameLength) in generateId()
76 strippedId.substr(0, constants::maxIdNameLength - digitsInIdx) + in generateId()
91 if (name.length() > constants::maxIdNameLength) in makeIdName()
105 name = name.substr(0, constants::maxIdNameLength); in makeIdName()
/openbmc/linux/include/video/
H A Dradeon.h456 /* MCLK_CNTL bit constants */
464 /* SCLK_CNTL bit constants */
469 /* SCLK_MORE_CNTL bit constants */
472 /* BUS_CNTL bit constants */
510 /* CLOCK_CNTL_INDEX bit constants */
513 /* CNFG_CNTL bit constants */
520 /* CRTC_EXT_CNTL bit constants */
530 /* DSTCACHE_CTLSTAT bit constants */
536 /* DSTCACHE_MODE bits constants */
540 /* CRTC_GEN_CNTL bit constants */
[all …]
H A Daty128.h236 /* CONSTANTS */
297 /* DAC_CNTL bit constants */
310 /* GEN_RESET_CNTL bit constants */
317 /* PC_GUI_CTLSTAT bit constants */
326 /* DP_DATATYPE bit constants */
335 /* DP_GUI_MASTER_CNTL bit constants */
350 /* DP_GUI_MASTER_CNTL ROP3 named constants */
356 /* DP_CNTL bit constants */
376 /* DP_MIX bit constants */
381 /* LVDS_GEN_CNTL constants */
[all …]
/openbmc/u-boot/include/
H A Dradeon.h458 /* MCLK_CNTL bit constants */
466 /* SCLK_CNTL bit constants */
471 /* SCLK_MORE_CNTL bit constants */
474 /* BUS_CNTL bit constants */
512 /* CLOCK_CNTL_INDEX bit constants */
515 /* CONFIG_CNTL bit constants */
522 /* CRTC_EXT_CNTL bit constants */
532 /* DSTCACHE_CTLSTAT bit constants */
538 /* CRTC_GEN_CNTL bit constants */
547 /* CRTC_STATUS bit constants */
[all …]

12345678910>>...70