/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/ |
D | ResetSystemLib.c | 81 Data8 = IoRead8 (PCAT_RTC_DATA_REGISTER); in WaitForRTCUpdate() 85 Data8 = IoRead8 (PCAT_RTC_DATA_REGISTER); in WaitForRTCUpdate() 91 Data8 = IoRead8 (PCAT_RTC_DATA_REGISTER); in WaitForRTCUpdate() 96 Data8 = IoRead8 (PCAT_RTC_DATA_REGISTER); in WaitForRTCUpdate() 234 Data8 = IoRead8 (PCAT_RTC_DATA_REGISTER); in EnterS3WithImmediateWake() 241 Data8 = IoRead8 (PCAT_RTC_DATA_REGISTER); // Read clears alarm status in EnterS3WithImmediateWake() 259 EfiTime.Second = IoRead8 (PCAT_RTC_DATA_REGISTER); in EnterS3WithImmediateWake() 266 EfiTime.Hour = IoRead8 (PCAT_RTC_DATA_REGISTER); in EnterS3WithImmediateWake() 268 EfiTime.Minute = IoRead8 (PCAT_RTC_DATA_REGISTER); in EnterS3WithImmediateWake() 270 EfiTime.Second = IoRead8 (PCAT_RTC_DATA_REGISTER); in EnterS3WithImmediateWake() [all …]
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/SerialIoLib/ |
D | SerialPortLib.c | 151 Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET); in SerialPortWrite() 192 Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET); in SerialPortRead() 195 *Buffer++ = IoRead8 ((UINT16) gUartBase); in SerialPortRead() 223 Data = IoRead8 ((UINT16) gUartBase + LSR_OFFSET); in SerialPortPoll() 256 Mcr = IoRead8 ((UINT16) gUartBase + MCR_OFFSET); in SerialPortSetControl() 300 Msr = IoRead8 ((UINT16) gUartBase + MSR_OFFSET); in SerialPortGetControl() 321 Mcr = IoRead8 ((UINT16) gUartBase + MCR_OFFSET); in SerialPortGetControl() 334 Lsr = IoRead8 ((UINT16) gUartBase + LSR_OFFSET); in SerialPortGetControl()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/SerialPortLib/ |
D | SerialPortLib.c | 152 Data = IoRead8 ((UINT16) PcdGet64 (PcdSerialRegisterBase) + LSR_OFFSET); in UARTDbgOut() 215 Data = IoRead8 ((UINT16) PcdGet64 (PcdSerialRegisterBase) + LSR_OFFSET); in UARTDbgIn() 218 *Buffer++ = IoRead8 ((UINT16) PcdGet64 (PcdSerialRegisterBase)); in UARTDbgIn() 268 Data = IoRead8 ((UINT16) PcdGet64 (PcdSerialRegisterBase) + LSR_OFFSET); in SerialPortPoll()
|
D | SioInit.c | 121 if (IoRead8 (DataPort) == WPCN381U_CHIP_ID) { // Winbond WPCN381U Device ID is 0xF4 in InitializeSio() 131 if (IoRead8 (DataPort) == WDCP376_CHIP_ID) { // Winbond WDCP376 Device ID is 0xF1 in InitializeSio()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbSerialLib/ |
D | GdbSerialLib.c | 180 Data = IoRead8 (gPort + LSR_OFFSET); in GdbIsCharAvailable() 203 Data = IoRead8 (gPort + LSR_OFFSET); in GdbGetChar() 206 Char = IoRead8 (gPort); in GdbGetChar() 235 Data = IoRead8 (gPort + LSR_OFFSET); in GdbPutChar()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/SmbusLib/ |
D | SmbusLib.c | 77 HostStatus = IoRead8 (IoPortBaseAddress + R_PCH_SMBUS_HSTS); in InternalSmBusAcquire() 133 HostStatus = IoRead8 (IoPortBaseAddress + R_PCH_SMBUS_HSTS); in InternalSmBusStart() 148 AuxiliaryStatus = IoRead8 (IoPortBaseAddress + R_PCH_SMBUS_AUXS); in InternalSmBusStart() 232 Value = (UINT16)(IoRead8 (IoPortBaseAddress + R_PCH_SMBUS_HD1) << 8); in InternalSmBusNonBlock() 233 Value = (UINT16)(Value | IoRead8 (IoPortBaseAddress + R_PCH_SMBUS_HD0)); in InternalSmBusNonBlock() 682 IoRead8 (IoPortBaseAddress + R_PCH_SMBUS_HCTL); in InternalSmBusBlock() 715 BytesCount = IoRead8 (IoPortBaseAddress + R_PCH_SMBUS_HD0); in InternalSmBusBlock() 721 ReadBuffer[Index] = IoRead8 (IoPortBaseAddress + R_PCH_SMBUS_HBD); in InternalSmBusBlock()
|
/device/linaro/bootloader/edk2/DuetPkg/LegacyMetronome/ |
D | Metronome.c | 67 while ((IoRead8(REFRESH_PORT) & REFRESH_ON) == REFRESH_ON); in WaitForTick() 68 while ((IoRead8(REFRESH_PORT) & REFRESH_ON) == REFRESH_OFF); in WaitForTick()
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/8259InterruptControllerDxe/ |
D | 8259.c | 89 MasterValue = IoRead8 (LEGACY_8259_MASK_REGISTER_MASTER); in Interrupt8259ReadMask() 90 SlaveValue = IoRead8 (LEGACY_8259_MASK_REGISTER_SLAVE); in Interrupt8259ReadMask() 96 MasterValue = IoRead8 (LEGACY_8259_EDGE_LEVEL_TRIGGERED_REGISTER_MASTER); in Interrupt8259ReadMask() 97 SlaveValue = IoRead8 (LEGACY_8259_EDGE_LEVEL_TRIGGERED_REGISTER_SLAVE); in Interrupt8259ReadMask() 144 Mask = IoRead8 (LEGACY_8259_MASK_REGISTER_SLAVE); in Interrupt8259SetVectorBase() 186 Mask = IoRead8 (LEGACY_8259_MASK_REGISTER_MASTER); in Interrupt8259SetVectorBase()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/ |
D | QNCSmmLib.c | 137 SmiStatus = IoRead8 ((UINT16)(LpcPciCfg32 (R_QNC_LPC_GPE0BLK) & 0xFFFF) + R_QNC_GPE0BLK_SMIS); in InternalGetSwSmiData() 139 (IoRead8 (PcdGet16 (PcdSmmActivationPort)) == PcdGet8 (PcdSmmActivationData))) { in InternalGetSwSmiData() 140 Data = IoRead8 (PcdGet16 (PcdSmmDataPort)); in InternalGetSwSmiData()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/ |
D | Platform.c | 898 if(IoRead8(PCAT_RTC_DATA_REGISTER) & B_RTC_ALARM_INT_ENABLE){ in EnableS5WakeOnRtc() 906 CmosData = IoRead8(PCAT_RTC_DATA_REGISTER); in EnableS5WakeOnRtc() 912 if(((CmosData = IoRead8(PCAT_RTC_DATA_REGISTER)) & B_RTC_DATE_ALARM_MASK) in EnableS5WakeOnRtc() 925 if(IoRead8(PCAT_RTC_DATA_REGISTER) == mWakeupSecond){ in EnableS5WakeOnRtc() 937 if(IoRead8(PCAT_RTC_DATA_REGISTER) == mWakeupMinute){ in EnableS5WakeOnRtc() 949 if(IoRead8(PCAT_RTC_DATA_REGISTER) == mWakeupHour){ in EnableS5WakeOnRtc() 958 while (IoRead8(PCAT_RTC_DATA_REGISTER) & 0x80); in EnableS5WakeOnRtc() 964 IoRead8(PCAT_RTC_DATA_REGISTER); in EnableS5WakeOnRtc() 970 IoWrite8(PCAT_RTC_DATA_REGISTER, IoRead8(PCAT_RTC_DATA_REGISTER) | B_RTC_ALARM_INT_ENABLE); in EnableS5WakeOnRtc()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/SmbusLib/ |
D | SmbusLib.c | 122 HostStatus = IoRead8 (IoPortBaseAddress + R_QNC_SMBUS_HSTS); in InternalSmBusStart() 195 Value = (UINT16)(IoRead8 (IoPortBaseAddress + R_QNC_SMBUS_HD1) << 8); in InternalSmBusNonBlock() 196 Value = (UINT16)(Value | IoRead8 (IoPortBaseAddress + R_QNC_SMBUS_HD0)); in InternalSmBusNonBlock() 614 IoRead8 (IoPortBaseAddress + R_QNC_SMBUS_HCTL); in InternalSmBusBlock() 644 BytesCount = IoRead8 (IoPortBaseAddress + R_QNC_SMBUS_HD0); in InternalSmBusBlock() 649 ReadBuffer[Index] = IoRead8 (IoPortBaseAddress + R_QNC_SMBUS_HBD + (UINT8)Index); in InternalSmBusBlock()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/IdeBusPei/ |
D | AtapiPeim.c | 743 StatusValue = IoRead8 (StatusRegister); in CheckPowerMode() 753 SectorCountValue = IoRead8 (SectorCountRegister); in CheckPowerMode() 760 ErrorValue = IoRead8 (ErrorRegister); in CheckPowerMode() 787 SectorCountValue = IoRead8 (SectorCountRegister); in CheckPowerMode() 871 StatusValue = IoRead8 (StatusRegister); in WaitForBSYClear() 917 StatusValue = IoRead8 (StatusRegister); in DRDYReady() 926 ErrValue = IoRead8 (IdeIoRegisters->Reg1.Error); in DRDYReady() 975 StatusValue = IoRead8 (StatusRegister); in DRQClear() 985 ErrValue = IoRead8 (IdeIoRegisters->Reg1.Error); in DRQClear() 1033 AltStatusValue = IoRead8 (AltStatusRegister); in DRQClear2() [all …]
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/ |
D | LegacySpeaker.c | 47 Data = IoRead8 (EFI_SPEAKER_CONTROL_PORT); in TurnOnSpeaker() 66 Data = IoRead8 (EFI_SPEAKER_CONTROL_PORT); in TurnOffSpeaker()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/ |
D | Platform.c | 330 StsReg = (UINT8)IoRead8(SmbusBase + R_PCH_SMBUS_HSTS); in AcquireBus() 339 …do { StsReg = (UINT8) IoRead8(SmbusBase+R_PCH_SMBUS_HSTS); } while ((StsReg & B_PCH_SMBUS_HBSY) !=… in AcquireBus() 456 if ((IoRead8 (R_PCH_RTC_TARGET2) & B_PCH_RTC_REGISTERA_UIP) == 0) { 518 DataUint8 = (IoRead8 (R_PCH_RTC_TARGET2) | B_PCH_RTC_REGISTERB_SET); 534 DataUint8 = (IoRead8 (R_PCH_RTC_TARGET2) & (UINT8)~B_PCH_RTC_REGISTERB_SET); 1092 IoRead8 (SmbusBase+R_PCH_SMBUS_HCTL); in PeiSmbusExec() 1126 do { StsReg = (UINT8) IoRead8(SmbusBase+0); } while ((StsReg & (BIT4|BIT3|BIT2|BIT1)) == 0); in PeiSmbusExec() 1154 CallBuffer[0] = (UINT8)(IoRead8 (SmbusBase+R_PCH_SMBUS_HD0)); in PeiSmbusExec() 1167 BlockCount = (UINT8)(IoRead8 (SmbusBase+R_PCH_SMBUS_HD0)); in PeiSmbusExec() 1175 CallBuffer[Index] = (UINT8)IoRead8 (SmbusBase+R_PCH_SMBUS_HBD); in PeiSmbusExec()
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/ |
D | LegacySpeaker.c | 59 Data = IoRead8 (EFI_SPEAKER_CONTROL_PORT); in TurnOnSpeaker() 80 Data = IoRead8 (EFI_SPEAKER_CONTROL_PORT); in TurnOffSpeaker()
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeIoLibCpuIo2/ |
D | IoHighLevel.c | 46 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) | OrData)); in IoOr8() 74 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) & AndData)); in IoAnd8() 105 return IoWrite8 (Port, (UINT8) ((IoRead8 (Port) & AndData) | OrData)); in IoAndThenOr8() 136 return BitFieldRead8 (IoRead8 (Port), StartBit, EndBit); in IoBitFieldRead8() 174 BitFieldWrite8 (IoRead8 (Port), StartBit, EndBit, Value) in IoBitFieldWrite8() 215 BitFieldOr8 (IoRead8 (Port), StartBit, EndBit, OrData) in IoBitFieldOr8() 256 BitFieldAnd8 (IoRead8 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd8() 302 BitFieldAndThenOr8 (IoRead8 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr8()
|
/device/linaro/bootloader/edk2/MdePkg/Library/SmmIoLibSmmCpuIo2/ |
D | IoHighLevel.c | 51 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) | OrData)); in IoOr8() 79 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) & AndData)); in IoAnd8() 110 return IoWrite8 (Port, (UINT8) ((IoRead8 (Port) & AndData) | OrData)); in IoAndThenOr8() 141 return BitFieldRead8 (IoRead8 (Port), StartBit, EndBit); in IoBitFieldRead8() 179 BitFieldWrite8 (IoRead8 (Port), StartBit, EndBit, Value) in IoBitFieldWrite8() 220 BitFieldOr8 (IoRead8 (Port), StartBit, EndBit, OrData) in IoBitFieldOr8() 261 BitFieldAnd8 (IoRead8 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd8() 307 BitFieldAndThenOr8 (IoRead8 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr8()
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/DxeIoLibCpuIo/ |
D | IoHighLevel.c | 54 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) | OrData)); in IoOr8() 82 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) & AndData)); in IoAnd8() 113 return IoWrite8 (Port, (UINT8) ((IoRead8 (Port) & AndData) | OrData)); in IoAndThenOr8() 144 return BitFieldRead8 (IoRead8 (Port), StartBit, EndBit); in IoBitFieldRead8() 182 BitFieldWrite8 (IoRead8 (Port), StartBit, EndBit, Value) in IoBitFieldWrite8() 223 BitFieldOr8 (IoRead8 (Port), StartBit, EndBit, OrData) in IoBitFieldOr8() 264 BitFieldAnd8 (IoRead8 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd8() 310 BitFieldAndThenOr8 (IoRead8 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr8()
|
/device/linaro/bootloader/edk2/MdePkg/Library/PeiIoLibCpuIo/ |
D | IoHighLevel.c | 51 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) | OrData)); in IoOr8() 79 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) & AndData)); in IoAnd8() 110 return IoWrite8 (Port, (UINT8) ((IoRead8 (Port) & AndData) | OrData)); in IoAndThenOr8() 141 return BitFieldRead8 (IoRead8 (Port), StartBit, EndBit); in IoBitFieldRead8() 178 BitFieldWrite8 (IoRead8 (Port), StartBit, EndBit, Value) in IoBitFieldWrite8() 219 BitFieldOr8 (IoRead8 (Port), StartBit, EndBit, OrData) in IoBitFieldOr8() 260 BitFieldAnd8 (IoRead8 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd8() 306 BitFieldAndThenOr8 (IoRead8 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr8()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/ |
D | IoHighLevel.c | 50 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) | OrData)); in IoOr8() 78 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) & AndData)); in IoAnd8() 109 return IoWrite8 (Port, (UINT8) ((IoRead8 (Port) & AndData) | OrData)); in IoAndThenOr8() 140 return BitFieldRead8 (IoRead8 (Port), StartBit, EndBit); in IoBitFieldRead8() 177 BitFieldWrite8 (IoRead8 (Port), StartBit, EndBit, Value) in IoBitFieldWrite8() 217 BitFieldOr8 (IoRead8 (Port), StartBit, EndBit, OrData) in IoBitFieldOr8() 257 BitFieldAnd8 (IoRead8 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd8() 301 BitFieldAndThenOr8 (IoRead8 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr8()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/ |
D | IoHighLevel.c | 59 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) | OrData)); in IoOr8() 87 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) & AndData)); in IoAnd8() 118 return IoWrite8 (Port, (UINT8) ((IoRead8 (Port) & AndData) | OrData)); in IoAndThenOr8() 149 return BitFieldRead8 (IoRead8 (Port), StartBit, EndBit); in IoBitFieldRead8() 186 BitFieldWrite8 (IoRead8 (Port), StartBit, EndBit, Value) in IoBitFieldWrite8() 226 BitFieldOr8 (IoRead8 (Port), StartBit, EndBit, OrData) in IoBitFieldOr8() 266 BitFieldAnd8 (IoRead8 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd8() 310 BitFieldAndThenOr8 (IoRead8 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr8()
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/ |
D | IoHighLevel.c | 51 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) | OrData)); in IoOr8() 79 return IoWrite8 (Port, (UINT8) (IoRead8 (Port) & AndData)); in IoAnd8() 110 return IoWrite8 (Port, (UINT8) ((IoRead8 (Port) & AndData) | OrData)); in IoAndThenOr8() 141 return BitFieldRead8 (IoRead8 (Port), StartBit, EndBit); in IoBitFieldRead8() 178 BitFieldWrite8 (IoRead8 (Port), StartBit, EndBit, Value) in IoBitFieldWrite8() 219 BitFieldOr8 (IoRead8 (Port), StartBit, EndBit, OrData) in IoBitFieldOr8() 260 BitFieldAnd8 (IoRead8 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd8() 306 BitFieldAndThenOr8 (IoRead8 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr8()
|
/device/linaro/bootloader/edk2/MdePkg/Library/DxeIoLibEsal/ |
D | IoHighLevel.c | 42 return IoWrite8 (Port, (UINT8)(IoRead8 (Port) | OrData)); in IoOr8() 70 return IoWrite8 (Port, (UINT8)(IoRead8 (Port) & AndData)); in IoAnd8() 101 return IoWrite8 (Port, (UINT8)((IoRead8 (Port) & AndData) | OrData)); in IoAndThenOr8() 132 return BitFieldRead8 (IoRead8 (Port), StartBit, EndBit); in IoBitFieldRead8() 170 BitFieldWrite8 (IoRead8 (Port), StartBit, EndBit, Value) in IoBitFieldWrite8() 211 BitFieldOr8 (IoRead8 (Port), StartBit, EndBit, OrData) in IoBitFieldOr8() 252 BitFieldAnd8 (IoRead8 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd8() 298 BitFieldAndThenOr8 (IoRead8 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr8()
|
/device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/ |
D | Cmos.c | 37 return IoRead8 (0x71); in CmosRead8()
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/RuntimeDxe/StatusCode/Lib/RtLedStatusCode/ |
D | RtLedStatusCode.c | 240 PinData = IoRead8 (DataOffset); in SendDataToPort() 281 StrobeData = IoRead8 (StrobeOffset); in StrobeData()
|