Home
last modified time | relevance | path

Searched refs:regPtr (Results 1 – 2 of 2) sorted by relevance

/openbmc/libcper/sections/
H A Dcper-section-nvidia.c46 EFI_NVIDIA_REGISTER_DATA *regPtr = nvidia_error->Register; in cper_section_nvidia_to_ir() local
47 for (int i = 0; i < nvidia_error->NumberRegs; i++, regPtr++) { in cper_section_nvidia_to_ir()
50 json_object_new_uint64(regPtr->Address)); in cper_section_nvidia_to_ir()
52 json_object_new_uint64(regPtr->Value)); in cper_section_nvidia_to_ir()
94 EFI_NVIDIA_REGISTER_DATA *regPtr = section_cper->Register; in ir_section_nvidia_to_cper() local
95 for (int i = 0; i < numRegs; i++, regPtr++) { in ir_section_nvidia_to_cper()
97 regPtr->Address = json_object_get_uint64( in ir_section_nvidia_to_cper()
99 regPtr->Value = json_object_get_uint64( in ir_section_nvidia_to_cper()
/openbmc/google-misc/subprojects/espi-control/
H A Dnpcm7xx_espi_control.cpp89 uintptr_t regPtr = in getReg() local
92 assert((regPtr & ~(REGISTER_WIDTH - 1)) == regPtr); in getReg()
94 return reinterpret_cast<volatile uint32_t*>(regPtr); in getReg()