Home
last modified time | relevance | path

Searched refs:MmioWrite8 (Results 1 – 25 of 73) sorted by relevance

123

/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/Dw8250SerialPortLib/
DDw8250SerialPortLib.c45 MmioWrite8 (UART_LCR_REG, UART_LCR_DLS8); in SerialPortInitialize()
46 MmioWrite8 (UART_FCR_REG, UART_FCR_EN | UART_FCR_RXCLR | UART_FCR_TXCLR); in SerialPortInitialize()
47 MmioWrite8 (UART_LCR_REG, UART_LCR_DLAB | UART_LCR_DLS8); in SerialPortInitialize()
51 MmioWrite8 (UART_DLL_REG, (ulUartClkFreq / (16 * (UINT32)BAUDRATE) ) & 0xff); in SerialPortInitialize()
52 MmioWrite8 (UART_DLH_REG, ((ulUartClkFreq/ (16 * (UINT32)BAUDRATE) ) >> 8 ) & 0xff); in SerialPortInitialize()
53 MmioWrite8 (UART_LCR_REG, UART_LCR_DLS8); in SerialPortInitialize()
54 MmioWrite8 (UART_IEL_REG, 0x00); in SerialPortInitialize()
179 MmioWrite8 (UART_THR_REG, (UINT8)scShowChar); in SerialPortWriteChar()
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2DeviceLibDTpm/
DTpm2Tis.c150 MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_READY); in TisPcPrepareCommand()
186 MmioWrite8((UINTN)&TisReg->Access, TIS_PC_ACC_RQUUSE); in TisPcRequestUseTpm()
265 MmioWrite8((UINTN)&TisReg->DataFifo, *(BufferIn + Index)); in Tpm2TisTpmCommand()
286 MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_GO); in Tpm2TisTpmCommand()
370 MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_READY); in Tpm2TisTpmCommand()
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm12DeviceLibDTpm/
DTpm12Tis.c194 MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_READY); in Tpm12TisPcPrepareCommand()
230 MmioWrite8((UINTN)&TisReg->Access, TIS_PC_ACC_RQUUSE); in Tpm12TisPcRequestUseTpm()
310 MmioWrite8((UINTN)&TisReg->DataFifo, *(BufferIn + Index)); in Tpm12TisTpmCommand()
331 MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_GO); in Tpm12TisTpmCommand()
411 MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_READY); in Tpm12TisTpmCommand()
/device/linaro/bootloader/edk2/SecurityPkg/Library/TpmCommLib/
DTisPc.c135 MmioWrite8((UINTN)&TisReg->Status, TIS_PC_STS_READY); in TisPcPrepareCommand()
172 MmioWrite8((UINTN)&TisReg->Access, TIS_PC_ACC_RQUUSE); in TisPcRequestUseTpm()
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/BaseIoApicLib/
DIoApicLib.c45 MmioWrite8 (PcdGet32 (PcdIoApicBaseAddress) + IOAPIC_INDEX_OFFSET, (UINT8)Index); in IoApicRead()
67 MmioWrite8 (PcdGet32 (PcdIoApicBaseAddress) + IOAPIC_INDEX_OFFSET, (UINT8)Index); in IoApicWrite()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/TemplateResetSystemLib/
DResetSystemLib.c58 MmioWrite8 (Address, Data | 0x01); in LibResetSystem()
/device/linaro/bootloader/edk2/MdePkg/Library/PeiIoLibCpuIo/
DIoHighLevel.c1214 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) | OrData)); in MmioOr8()
1242 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) & AndData)); in MmioAnd8()
1274 return MmioWrite8 (Address, (UINT8) ((MmioRead8 (Address) & AndData) | OrData)); in MmioAndThenOr8()
1340 return MmioWrite8 ( in MmioBitFieldWrite8()
1382 return MmioWrite8 ( in MmioBitFieldOr8()
1424 return MmioWrite8 ( in MmioBitFieldAnd8()
1470 return MmioWrite8 ( in MmioBitFieldAndThenOr8()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/
DIoHighLevel.c1170 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) | OrData)); in MmioOr8()
1198 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) & AndData)); in MmioAnd8()
1230 return MmioWrite8 (Address, (UINT8) ((MmioRead8 (Address) & AndData) | OrData)); in MmioAndThenOr8()
1295 return MmioWrite8 ( in MmioBitFieldWrite8()
1336 return MmioWrite8 ( in MmioBitFieldOr8()
1377 return MmioWrite8 ( in MmioBitFieldAnd8()
1421 return MmioWrite8 ( in MmioBitFieldAndThenOr8()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/
DIoHighLevel.c1214 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) | OrData)); in MmioOr8()
1242 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) & AndData)); in MmioAnd8()
1274 return MmioWrite8 (Address, (UINT8) ((MmioRead8 (Address) & AndData) | OrData)); in MmioAndThenOr8()
1340 return MmioWrite8 ( in MmioBitFieldWrite8()
1382 return MmioWrite8 ( in MmioBitFieldOr8()
1424 return MmioWrite8 ( in MmioBitFieldAnd8()
1470 return MmioWrite8 ( in MmioBitFieldAndThenOr8()
DIoLibIpf.c172 return MmioWrite8 (InternalGetMemoryMapAddress (Port), Value); in IoWrite8()
414 MmioWrite8 ( in MmioWrite8() function
DIoLib.c116 MmioWrite8 ( in MmioWrite8() function
DIoLibArm.c266 MmioWrite8 ( in MmioWrite8() function
/device/linaro/bootloader/edk2/MdePkg/Library/DxeIoLibEsal/
DIoHighLevel.c1182 return MmioWrite8 (Address, (UINT8)(MmioRead8 (Address) | OrData)); in MmioOr8()
1210 return MmioWrite8 (Address, (UINT8)(MmioRead8 (Address) & AndData)); in MmioAnd8()
1242 return MmioWrite8 (Address, (UINT8)((MmioRead8 (Address) & AndData) | OrData)); in MmioAndThenOr8()
1308 return MmioWrite8 ( in MmioBitFieldWrite8()
1350 return MmioWrite8 ( in MmioBitFieldOr8()
1392 return MmioWrite8 ( in MmioBitFieldAnd8()
1438 return MmioWrite8 ( in MmioBitFieldAndThenOr8()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/
DIoHighLevel.c1179 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) | OrData)); in MmioOr8()
1207 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) & AndData)); in MmioAnd8()
1239 return MmioWrite8 (Address, (UINT8) ((MmioRead8 (Address) & AndData) | OrData)); in MmioAndThenOr8()
1304 return MmioWrite8 ( in MmioBitFieldWrite8()
1345 return MmioWrite8 ( in MmioBitFieldOr8()
1386 return MmioWrite8 ( in MmioBitFieldAnd8()
1430 return MmioWrite8 ( in MmioBitFieldAndThenOr8()
DIoLibIpf.c168 return MmioWrite8 (Address, Data); in IoWrite8()
391 MmioWrite8 ( in MmioWrite8() function
DIoLibGcc.c63 MmioWrite8 ( in MmioWrite8() function
/device/linaro/bootloader/edk2/MdePkg/Library/DxeIoLibCpuIo2/
DIoHighLevel.c1186 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) | OrData)); in MmioOr8()
1214 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) & AndData)); in MmioAnd8()
1246 return MmioWrite8 (Address, (UINT8) ((MmioRead8 (Address) & AndData) | OrData)); in MmioAndThenOr8()
1312 return MmioWrite8 ( in MmioBitFieldWrite8()
1354 return MmioWrite8 ( in MmioBitFieldOr8()
1396 return MmioWrite8 ( in MmioBitFieldAnd8()
1442 return MmioWrite8 ( in MmioBitFieldAndThenOr8()
/device/linaro/bootloader/edk2/MdePkg/Library/SmmIoLibSmmCpuIo2/
DIoHighLevel.c1191 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) | OrData)); in MmioOr8()
1219 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) & AndData)); in MmioAnd8()
1251 return MmioWrite8 (Address, (UINT8) ((MmioRead8 (Address) & AndData) | OrData)); in MmioAndThenOr8()
1317 return MmioWrite8 ( in MmioBitFieldWrite8()
1359 return MmioWrite8 ( in MmioBitFieldOr8()
1401 return MmioWrite8 ( in MmioBitFieldAnd8()
1447 return MmioWrite8 ( in MmioBitFieldAndThenOr8()
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/DxeIoLibCpuIo/
DIoHighLevel.c1194 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) | OrData)); in MmioOr8()
1222 return MmioWrite8 (Address, (UINT8) (MmioRead8 (Address) & AndData)); in MmioAnd8()
1254 return MmioWrite8 (Address, (UINT8) ((MmioRead8 (Address) & AndData) | OrData)); in MmioAndThenOr8()
1320 return MmioWrite8 ( in MmioBitFieldWrite8()
1362 return MmioWrite8 ( in MmioBitFieldOr8()
1404 return MmioWrite8 ( in MmioBitFieldAnd8()
1450 return MmioWrite8 ( in MmioBitFieldAndThenOr8()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/CpldIoLib/
DCpldIoLib.c25 MmioWrite8 (ulRegAddr + PcdGet64(PcdCpldBaseAddress), ulValue); in WriteCpldReg()
DCpldIoLibRuntime.c96 MmioWrite8 (ulRegAddr + mCpldRegAddr, ulValue); in WriteCpldReg()
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/GdbSerialLib/
DGdbSerialLib.c86 MmioWrite8(THR, Char); in GdbPutChar()
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/SerialPortLib/
DSerialPortLib.c66 MmioWrite8(THR, *Buffer); in SerialPortWrite()
/device/linaro/bootloader/edk2/ArmPkg/Drivers/ArmPciCpuIo2Dxe/
DArmPciCpuIo2Dxe.c335 MmioWrite8 ((UINTN)Address, *Uint8Buffer); in CpuMemoryServiceWrite()
505 MmioWrite8 ((UINTN)Address, *Uint8Buffer); in CpuIoServiceWrite()
/device/linaro/bootloader/edk2/DuetPkg/AcpiResetDxe/
DReset.c116 MmioWrite8 ((UINTN)mAcpiDescription.RESET_REG.Address, mAcpiDescription.RESET_VALUE); in EfiAcpiResetSystem()

123