Home
last modified time | relevance | path

Searched refs:MmioRead8 (Results 1 – 25 of 85) sorted by relevance

1234

/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/
DPL111Lcd.c38 if (MmioRead8 (PL111_REG_CLCD_PERIPH_ID_0) == PL111_CLCD_PERIPH_ID_0 && in LcdIdentify()
39 MmioRead8 (PL111_REG_CLCD_PERIPH_ID_1) == PL111_CLCD_PERIPH_ID_1 && in LcdIdentify()
40 (MmioRead8 (PL111_REG_CLCD_PERIPH_ID_2) & 0xf) == PL111_CLCD_PERIPH_ID_2 && in LcdIdentify()
41 MmioRead8 (PL111_REG_CLCD_PERIPH_ID_3) == PL111_CLCD_PERIPH_ID_3 && in LcdIdentify()
42 MmioRead8 (PL111_REG_CLCD_P_CELL_ID_0) == PL111_CLCD_P_CELL_ID_0 && in LcdIdentify()
43 MmioRead8 (PL111_REG_CLCD_P_CELL_ID_1) == PL111_CLCD_P_CELL_ID_1 && in LcdIdentify()
44 MmioRead8 (PL111_REG_CLCD_P_CELL_ID_2) == PL111_CLCD_P_CELL_ID_2 && in LcdIdentify()
45 MmioRead8 (PL111_REG_CLCD_P_CELL_ID_3) == PL111_CLCD_P_CELL_ID_3) { in LcdIdentify()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL061GpioDxe/
DPL061Gpio.c95 return MmioRead8 (PL061EffectiveAddress (Address, Mask)); in PL061GetPins()
135 if ( (MmioRead8 (RegisterBase + PL061_GPIO_PCELL_ID0) != 0x0D) in PL061Identify()
136 || (MmioRead8 (RegisterBase + PL061_GPIO_PCELL_ID1) != 0xF0) in PL061Identify()
137 || (MmioRead8 (RegisterBase + PL061_GPIO_PCELL_ID2) != 0x05) in PL061Identify()
138 || (MmioRead8 (RegisterBase + PL061_GPIO_PCELL_ID3) != 0xB1)) { in PL061Identify()
143 if ( (MmioRead8 (RegisterBase + PL061_GPIO_PERIPH_ID0) != 0x61) in PL061Identify()
144 || (MmioRead8 (RegisterBase + PL061_GPIO_PERIPH_ID1) != 0x10) in PL061Identify()
145 || ((MmioRead8 (RegisterBase + PL061_GPIO_PERIPH_ID2) & 0xF) != 0x04) in PL061Identify()
146 || (MmioRead8 (RegisterBase + PL061_GPIO_PERIPH_ID3) != 0x00)) { in PL061Identify()
298 if (MmioRead8 (RegisterBase + PL061_GPIO_DIR_REG) & GPIO_PIN_MASK(Offset)) { in GetMode()
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/GdbSerialLib/
DGdbSerialLib.c53 if ((MmioRead8(LSR) & UART_LSR_RX_FIFO_E_MASK) == UART_LSR_RX_FIFO_E_NOT_EMPTY) { in GdbIsCharAvailable()
70 while ((MmioRead8(LSR) & UART_LSR_RX_FIFO_E_MASK) == UART_LSR_RX_FIFO_E_EMPTY); in GdbGetChar()
71 Char = MmioRead8(RBR); in GdbGetChar()
85 while ((MmioRead8(LSR) & UART_LSR_TX_FIFO_E_MASK) == UART_LSR_TX_FIFO_E_NOT_EMPTY); in GdbPutChar()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/Dw8250SerialPortRuntimeLib/
DDw8250SerialPortRuntimeLib.c214 return (BOOLEAN) ((MmioRead8 (UART_LSR_REG) & UART_LSR_DR) == UART_LSR_DR); in SerialPortPoll()
226 if ((MmioRead8 (UART_USR_REG) & 0x02) == 0x02) in SerialPortWriteChar()
238 if ((MmioRead8 (UART_USR_REG) & 0x04) == 0x04) in SerialPortWriteChar()
255 if ((MmioRead8 (UART_LSR_REG) & UART_LSR_DR) == UART_LSR_DR) { in SerialPortReadChar()
259 }while(MmioRead8 (UART_USR_REG) & UART_USR_BUSY); in SerialPortReadChar()
261 recvchar = MmioRead8 (UART_RBR_REG); in SerialPortReadChar()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/Dw8250SerialPortLib/
DDw8250SerialPortLib.c160 return (BOOLEAN) ((MmioRead8 (UART_LSR_REG) & UART_LSR_DR) == UART_LSR_DR); in SerialPortPoll()
172 if ((MmioRead8 (UART_USR_REG) & 0x02) == 0x02) in SerialPortWriteChar()
184 if ((MmioRead8 (UART_USR_REG) & 0x04) == 0x04) in SerialPortWriteChar()
201 if ((MmioRead8 (UART_LSR_REG) & UART_LSR_DR) == UART_LSR_DR) in SerialPortReadChar()
207 recvchar = MmioRead8 (UART_RBR_REG); in SerialPortReadChar()
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/SerialPortLib/
DSerialPortLib.c65 while ((MmioRead8(LSR) & UART_LSR_TX_FIFO_E_MASK) == UART_LSR_TX_FIFO_E_NOT_EMPTY); in SerialPortWrite()
95 while ((MmioRead8(LSR) & UART_LSR_RX_FIFO_E_MASK) == UART_LSR_RX_FIFO_E_EMPTY); in SerialPortRead()
96 *Buffer = MmioRead8(RBR); in SerialPortRead()
119 if ((MmioRead8(LSR) & UART_LSR_RX_FIFO_E_MASK) == UART_LSR_RX_FIFO_E_NOT_EMPTY) { in SerialPortPoll()
/device/linaro/bootloader/edk2/SecurityPkg/Library/TpmCommLib/
DTisPc.c32 RegRead = MmioRead8 ((UINTN)&TisReg->Access); in TisPcPresenceCheck()
60 RegRead = MmioRead8 ((UINTN)Register); in TisPcWaitRegisterBits()
100 DataByte0 = MmioRead8 ((UINTN)&TisReg->BurstCount); in TisPcReadBurstCount()
101 DataByte1 = MmioRead8 ((UINTN)&TisReg->BurstCount + 1); in TisPcReadBurstCount()
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm2DeviceLibDTpm/
DTpm2Tis.c50 RegRead = MmioRead8 ((UINTN)&TisReg->Access); in TisPcPresenceCheck()
77 RegRead = MmioRead8 ((UINTN)Register); in TisPcWaitRegisterBits()
116 DataByte0 = MmioRead8 ((UINTN)&TisReg->BurstCount); in TisPcReadBurstCount()
117 DataByte1 = MmioRead8 ((UINTN)&TisReg->BurstCount + 1); in TisPcReadBurstCount()
314 *(BufferOut + Index) = MmioRead8 ((UINTN)&TisReg->DataFifo); in Tpm2TisTpmCommand()
349 *(BufferOut + Index) = MmioRead8 ((UINTN)&TisReg->DataFifo); in Tpm2TisTpmCommand()
DTpm2Ptp.c61 RegRead = MmioRead8 ((UINTN)Reg); in Tpm2IsPtpPresence()
258 BufferOut[Index] = MmioRead8 ((UINTN)&CrbReg->CrbDataBuffer[Index]); in PtpCrbTpmCommand()
289 BufferOut[Index] = MmioRead8 ((UINTN)&CrbReg->CrbDataBuffer[Index]); in PtpCrbTpmCommand()
410 StatusEx = MmioRead8 ((UINTN)&((PTP_FIFO_REGISTERS *)Register)->StatusEx); in DumpPtpInfo()
455 Rid = MmioRead8 ((UINTN)&((PTP_FIFO_REGISTERS *)Register)->Rid); in DumpPtpInfo()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/PL031RealTimeClockLib/
DPL031RealTimeClockLib.c55 if ( (MmioRead8 (mPL031RtcBase + PL031_RTC_PCELL_ID0) != 0x0D) in IdentifyPL031()
56 || (MmioRead8 (mPL031RtcBase + PL031_RTC_PCELL_ID1) != 0xF0) in IdentifyPL031()
57 || (MmioRead8 (mPL031RtcBase + PL031_RTC_PCELL_ID2) != 0x05) in IdentifyPL031()
58 || (MmioRead8 (mPL031RtcBase + PL031_RTC_PCELL_ID3) != 0xB1)) { in IdentifyPL031()
64 if ( (MmioRead8 (mPL031RtcBase + PL031_RTC_PERIPH_ID0) != 0x31) in IdentifyPL031()
65 || (MmioRead8 (mPL031RtcBase + PL031_RTC_PERIPH_ID1) != 0x10) in IdentifyPL031()
66 || ((MmioRead8 (mPL031RtcBase + PL031_RTC_PERIPH_ID2) & 0xF) != 0x04) in IdentifyPL031()
67 || (MmioRead8 (mPL031RtcBase + PL031_RTC_PERIPH_ID3) != 0x00)) { in IdentifyPL031()
/device/linaro/bootloader/edk2/SecurityPkg/Library/Tpm12DeviceLibDTpm/
DTpm12Tis.c56 RegRead = MmioRead8 ((UINTN)&TisReg->Access); in Tpm12TisPcPresenceCheck()
121 RegRead = MmioRead8 ((UINTN)Register); in Tpm12TisPcWaitRegisterBits()
160 DataByte0 = MmioRead8 ((UINTN)&TisReg->BurstCount); in Tpm12TisPcReadBurstCount()
161 DataByte1 = MmioRead8 ((UINTN)&TisReg->BurstCount + 1); in Tpm12TisPcReadBurstCount()
355 *(BufferOut + Index) = MmioRead8 ((UINTN)&TisReg->DataFifo); in Tpm12TisTpmCommand()
390 *(BufferOut + Index) = MmioRead8 ((UINTN)&TisReg->DataFifo); in Tpm12TisTpmCommand()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL180MciDxe/
DPL180Mci.c543 if (MmioRead8 (MCI_PERIPH_ID_REG0) != MCI_PERIPH_ID0 ||
544 MmioRead8 (MCI_PERIPH_ID_REG1) != MCI_PERIPH_ID1 ||
545 MmioRead8 (MCI_PERIPH_ID_REG2) != MCI_PERIPH_ID2 ||
546 MmioRead8 (MCI_PCELL_ID_REG0) != MCI_PCELL_ID0 ||
547 MmioRead8 (MCI_PCELL_ID_REG1) != MCI_PCELL_ID1 ||
548 MmioRead8 (MCI_PCELL_ID_REG2) != MCI_PCELL_ID2 ||
549 MmioRead8 (MCI_PCELL_ID_REG3) != MCI_PCELL_ID3) {
/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()
1305 return BitFieldRead8 (MmioRead8 (Address), StartBit, EndBit); in MmioBitFieldRead8()
1342 BitFieldWrite8 (MmioRead8 (Address), StartBit, EndBit, Value) in MmioBitFieldWrite8()
1384 BitFieldOr8 (MmioRead8 (Address), StartBit, EndBit, OrData) in MmioBitFieldOr8()
1426 BitFieldAnd8 (MmioRead8 (Address), StartBit, EndBit, AndData) in MmioBitFieldAnd8()
1472 BitFieldAndThenOr8 (MmioRead8 (Address), StartBit, EndBit, AndData, OrData) 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()
1261 return BitFieldRead8 (MmioRead8 (Address), StartBit, EndBit); in MmioBitFieldRead8()
1297 BitFieldWrite8 (MmioRead8 (Address), StartBit, EndBit, Value) in MmioBitFieldWrite8()
1338 BitFieldOr8 (MmioRead8 (Address), StartBit, EndBit, OrData) in MmioBitFieldOr8()
1379 BitFieldAnd8 (MmioRead8 (Address), StartBit, EndBit, AndData) in MmioBitFieldAnd8()
1423 BitFieldAndThenOr8 (MmioRead8 (Address), StartBit, EndBit, AndData, OrData) 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()
1305 return BitFieldRead8 (MmioRead8 (Address), StartBit, EndBit); in MmioBitFieldRead8()
1342 BitFieldWrite8 (MmioRead8 (Address), StartBit, EndBit, Value) in MmioBitFieldWrite8()
1384 BitFieldOr8 (MmioRead8 (Address), StartBit, EndBit, OrData) in MmioBitFieldOr8()
1426 BitFieldAnd8 (MmioRead8 (Address), StartBit, EndBit, AndData) in MmioBitFieldAnd8()
1472 BitFieldAndThenOr8 (MmioRead8 (Address), StartBit, EndBit, AndData, OrData) in MmioBitFieldAndThenOr8()
DIoLibIpf.c74 return MmioRead8 (InternalGetMemoryMapAddress (Port)); in IoRead8()
270 MmioRead8 ( in MmioRead8() 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()
1273 return BitFieldRead8 (MmioRead8 (Address), StartBit, EndBit); in MmioBitFieldRead8()
1310 BitFieldWrite8 (MmioRead8 (Address), StartBit, EndBit, Value) in MmioBitFieldWrite8()
1352 BitFieldOr8 (MmioRead8 (Address), StartBit, EndBit, OrData) in MmioBitFieldOr8()
1394 BitFieldAnd8 (MmioRead8 (Address), StartBit, EndBit, AndData) in MmioBitFieldAnd8()
1440 BitFieldAndThenOr8 (MmioRead8 (Address), StartBit, EndBit, AndData, OrData) 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()
1270 return BitFieldRead8 (MmioRead8 (Address), StartBit, EndBit); in MmioBitFieldRead8()
1306 BitFieldWrite8 (MmioRead8 (Address), StartBit, EndBit, Value) in MmioBitFieldWrite8()
1347 BitFieldOr8 (MmioRead8 (Address), StartBit, EndBit, OrData) in MmioBitFieldOr8()
1388 BitFieldAnd8 (MmioRead8 (Address), StartBit, EndBit, AndData) in MmioBitFieldAnd8()
1432 BitFieldAndThenOr8 (MmioRead8 (Address), StartBit, EndBit, AndData, OrData) in MmioBitFieldAndThenOr8()
DIoLibIpf.c55 return MmioRead8 (Address); in IoRead8()
273 MmioRead8 ( in MmioRead8() 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()
1277 return BitFieldRead8 (MmioRead8 (Address), StartBit, EndBit); in MmioBitFieldRead8()
1314 BitFieldWrite8 (MmioRead8 (Address), StartBit, EndBit, Value) in MmioBitFieldWrite8()
1356 BitFieldOr8 (MmioRead8 (Address), StartBit, EndBit, OrData) in MmioBitFieldOr8()
1398 BitFieldAnd8 (MmioRead8 (Address), StartBit, EndBit, AndData) in MmioBitFieldAnd8()
1444 BitFieldAndThenOr8 (MmioRead8 (Address), StartBit, EndBit, AndData, OrData) 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()
1282 return BitFieldRead8 (MmioRead8 (Address), StartBit, EndBit); in MmioBitFieldRead8()
1319 BitFieldWrite8 (MmioRead8 (Address), StartBit, EndBit, Value) in MmioBitFieldWrite8()
1361 BitFieldOr8 (MmioRead8 (Address), StartBit, EndBit, OrData) in MmioBitFieldOr8()
1403 BitFieldAnd8 (MmioRead8 (Address), StartBit, EndBit, AndData) in MmioBitFieldAnd8()
1449 BitFieldAndThenOr8 (MmioRead8 (Address), StartBit, EndBit, AndData, OrData) 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()
1285 return BitFieldRead8 (MmioRead8 (Address), StartBit, EndBit); in MmioBitFieldRead8()
1322 BitFieldWrite8 (MmioRead8 (Address), StartBit, EndBit, Value) in MmioBitFieldWrite8()
1364 BitFieldOr8 (MmioRead8 (Address), StartBit, EndBit, OrData) in MmioBitFieldOr8()
1406 BitFieldAnd8 (MmioRead8 (Address), StartBit, EndBit, AndData) in MmioBitFieldAnd8()
1452 BitFieldAndThenOr8 (MmioRead8 (Address), StartBit, EndBit, AndData, OrData) in MmioBitFieldAndThenOr8()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/TemplateResetSystemLib/
DResetSystemLib.c57 Data = MmioRead8 (Address); in LibResetSystem()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Library/CpldIoLib/
DCpldIoLib.c31 return MmioRead8 (ulRegAddr + PcdGet64(PcdCpldBaseAddress)); in ReadCpldReg()
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/
DPchAccess.h145 #define PchAzaliaPciCfg8(Register) MmioRead8 (MmPciAddress (0, DEFAULT_PCI_BUS_NUMBER_PCH, PCI_DEV…
247 #define PchLpcPciCfg8(Register) MmioRead8 (MmPciAddress (0, DEFAULT_PCI_BUS_NUMBER_PCH, PCI_DEVICE_…
350 #define PchSataPciCfg8(Register) MmioRead8 (MmPciAddress (0, DEFAULT_PCI_BUS_NUMBER_PCH, PCI_DEVIC…
403 #define PchMmRcrb8(Register) MmioRead8 (PCH_RCRB_BASE + Register)

1234