Home
last modified time | relevance | path

Searched refs:IoRead16 (Results 1 – 25 of 61) sorted by relevance

123

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/
DIchTcoReset.c111 TmpWord = IoRead16(AcpiBase + R_PCH_TCO_CNT); in EnableTcoReset()
144 TmpWord = IoRead16(AcpiBase + R_PCH_TCO_CNT); in EnableTcoReset()
179 TmpWord = IoRead16(AcpiBase + R_PCH_TCO_CNT); in DisableTcoReset()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/
DPlatform.c362 …IoWrite16( mAcpiBaseAddr + R_PCH_TCO_CNT, IoRead16( mAcpiBaseAddr + R_PCH_TCO_CNT ) | B_PCH_TCO_CN… in InitializePlatformSmm()
551 data16 = (UINT16)(IoRead16(mAcpiBaseAddr + R_PCH_ACPI_GPE0a_EN));
559 (UINT16)(IoRead16 (mAcpiBaseAddr + R_PCH_SMI_STS) | B_PCH_SMI_STS_ON_SLP_EN));
564 (UINT16)(IoRead16 (mAcpiBaseAddr + R_PCH_SMI_EN) & (~B_PCH_SMI_EN_ON_SLP_EN)));
691 wordValue = IoRead16(mAcpiBaseAddr + R_PCH_ACPI_PM1_STS); in EnableAcpiCallback()
697 mPM1_SaveState16 = IoRead16(mAcpiBaseAddr + R_PCH_ACPI_PM1_EN); in EnableAcpiCallback()
707 mGPE_SaveState32 = IoRead16(mAcpiBaseAddr + R_PCH_ACPI_GPE0a_EN); in EnableAcpiCallback()
729 Pm1Cnt = IoRead16(mAcpiBaseAddr + R_PCH_ACPI_PM1_CNT); in EnableAcpiCallback()
776 Pm1Cnt = IoRead16(mAcpiBaseAddr + R_PCH_ACPI_PM1_CNT); in DisableAcpiCallback()
981 (UINT16)(IoRead16(mAcpiBaseAddr + R_PCH_ACPI_PM1_EN) | B_PCH_ACPI_PM1_EN_RTC)); in EnableS5WakeOnRtc()
DS3Save.c380 Data16 = IoRead16(mAcpiBaseAddr + R_PCH_TCO_CNT);
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/ResetSystemLib/
DResetSystemLib.c134 (UINT16)(IoRead16 (PchPmioBase + R_PCH_SMI_STS) | B_PCH_SMI_STS_ON_SLP_EN)); in ResetShutdown()
139 (UINT16)(IoRead16 (PchPmioBase + R_PCH_SMI_EN) & (~B_PCH_SMI_EN_ON_SLP_EN))); in ResetShutdown()
/device/linaro/bootloader/edk2/MdePkg/Library/DxeIoLibCpuIo2/
DIoHighLevel.c331 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) | OrData)); in IoOr16()
359 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) & AndData)); in IoAnd16()
390 return IoWrite16 (Port, (UINT16) ((IoRead16 (Port) & AndData) | OrData)); in IoAndThenOr16()
421 return BitFieldRead16 (IoRead16 (Port), StartBit, EndBit); in IoBitFieldRead16()
459 BitFieldWrite16 (IoRead16 (Port), StartBit, EndBit, Value) in IoBitFieldWrite16()
500 BitFieldOr16 (IoRead16 (Port), StartBit, EndBit, OrData) in IoBitFieldOr16()
541 BitFieldAnd16 (IoRead16 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd16()
587 BitFieldAndThenOr16 (IoRead16 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr16()
/device/linaro/bootloader/edk2/MdePkg/Library/SmmIoLibSmmCpuIo2/
DIoHighLevel.c336 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) | OrData)); in IoOr16()
364 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) & AndData)); in IoAnd16()
395 return IoWrite16 (Port, (UINT16) ((IoRead16 (Port) & AndData) | OrData)); in IoAndThenOr16()
426 return BitFieldRead16 (IoRead16 (Port), StartBit, EndBit); in IoBitFieldRead16()
464 BitFieldWrite16 (IoRead16 (Port), StartBit, EndBit, Value) in IoBitFieldWrite16()
505 BitFieldOr16 (IoRead16 (Port), StartBit, EndBit, OrData) in IoBitFieldOr16()
546 BitFieldAnd16 (IoRead16 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd16()
592 BitFieldAndThenOr16 (IoRead16 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr16()
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/DxeIoLibCpuIo/
DIoHighLevel.c339 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) | OrData)); in IoOr16()
367 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) & AndData)); in IoAnd16()
398 return IoWrite16 (Port, (UINT16) ((IoRead16 (Port) & AndData) | OrData)); in IoAndThenOr16()
429 return BitFieldRead16 (IoRead16 (Port), StartBit, EndBit); in IoBitFieldRead16()
467 BitFieldWrite16 (IoRead16 (Port), StartBit, EndBit, Value) in IoBitFieldWrite16()
508 BitFieldOr16 (IoRead16 (Port), StartBit, EndBit, OrData) in IoBitFieldOr16()
549 BitFieldAnd16 (IoRead16 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd16()
595 BitFieldAndThenOr16 (IoRead16 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr16()
/device/linaro/bootloader/edk2/MdePkg/Library/PeiIoLibCpuIo/
DIoHighLevel.c336 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) | OrData)); in IoOr16()
365 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) & AndData)); in IoAnd16()
397 return IoWrite16 (Port, (UINT16) ((IoRead16 (Port) & AndData) | OrData)); in IoAndThenOr16()
429 return BitFieldRead16 (IoRead16 (Port), StartBit, EndBit); in IoBitFieldRead16()
468 BitFieldWrite16 (IoRead16 (Port), StartBit, EndBit, Value) in IoBitFieldWrite16()
510 BitFieldOr16 (IoRead16 (Port), StartBit, EndBit, OrData) in IoBitFieldOr16()
552 BitFieldAnd16 (IoRead16 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd16()
599 BitFieldAndThenOr16 (IoRead16 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr16()
DIoLib.c103 IoRead16 ( in IoRead16() function
117 return CpuIo->IoRead16 (PeiServices, CpuIo, (UINT64) Port); in IoRead16()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/DxeIoLibCpuIo/
DIoHighLevel.c330 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) | OrData)); in IoOr16()
358 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) & AndData)); in IoAnd16()
389 return IoWrite16 (Port, (UINT16) ((IoRead16 (Port) & AndData) | OrData)); in IoAndThenOr16()
420 return BitFieldRead16 (IoRead16 (Port), StartBit, EndBit); in IoBitFieldRead16()
457 BitFieldWrite16 (IoRead16 (Port), StartBit, EndBit, Value) in IoBitFieldWrite16()
497 BitFieldOr16 (IoRead16 (Port), StartBit, EndBit, OrData) in IoBitFieldOr16()
537 BitFieldAnd16 (IoRead16 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd16()
581 BitFieldAndThenOr16 (IoRead16 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr16()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseIoLibIntrinsic/
DIoHighLevel.c339 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) | OrData)); in IoOr16()
367 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) & AndData)); in IoAnd16()
398 return IoWrite16 (Port, (UINT16) ((IoRead16 (Port) & AndData) | OrData)); in IoAndThenOr16()
429 return BitFieldRead16 (IoRead16 (Port), StartBit, EndBit); in IoBitFieldRead16()
466 BitFieldWrite16 (IoRead16 (Port), StartBit, EndBit, Value) in IoBitFieldWrite16()
506 BitFieldOr16 (IoRead16 (Port), StartBit, EndBit, OrData) in IoBitFieldOr16()
546 BitFieldAnd16 (IoRead16 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd16()
590 BitFieldAndThenOr16 (IoRead16 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr16()
DIoLibGcc.c288 IoRead16 ( in IoRead16() function
/device/linaro/bootloader/edk2/MdePkg/Library/BaseIoLibIntrinsic/
DIoHighLevel.c336 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) | OrData)); in IoOr16()
365 return IoWrite16 (Port, (UINT16) (IoRead16 (Port) & AndData)); in IoAnd16()
397 return IoWrite16 (Port, (UINT16) ((IoRead16 (Port) & AndData) | OrData)); in IoAndThenOr16()
429 return BitFieldRead16 (IoRead16 (Port), StartBit, EndBit); in IoBitFieldRead16()
468 BitFieldWrite16 (IoRead16 (Port), StartBit, EndBit, Value) in IoBitFieldWrite16()
510 BitFieldOr16 (IoRead16 (Port), StartBit, EndBit, OrData) in IoBitFieldOr16()
552 BitFieldAnd16 (IoRead16 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd16()
599 BitFieldAndThenOr16 (IoRead16 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr16()
DIoLibEbc.c86 IoRead16 ( in IoRead16() function
DIoLibGcc.c99 IoRead16 ( in IoRead16() function
DIoLibMsc.c127 IoRead16 ( in IoRead16() function
DIoLibIcc.c96 IoRead16 ( in IoRead16() function
DIoLibArm.c88 IoRead16 ( in IoRead16() function
/device/linaro/bootloader/edk2/MdePkg/Library/DxeIoLibEsal/
DIoHighLevel.c327 return IoWrite16 (Port, (UINT16)(IoRead16 (Port) | OrData)); in IoOr16()
355 return IoWrite16 (Port, (UINT16)(IoRead16 (Port) & AndData)); in IoAnd16()
386 return IoWrite16 (Port, (UINT16)((IoRead16 (Port) & AndData) | OrData)); in IoAndThenOr16()
417 return BitFieldRead16 (IoRead16 (Port), StartBit, EndBit); in IoBitFieldRead16()
455 BitFieldWrite16 (IoRead16 (Port), StartBit, EndBit, Value) in IoBitFieldWrite16()
496 BitFieldOr16 (IoRead16 (Port), StartBit, EndBit, OrData) in IoBitFieldOr16()
537 BitFieldAnd16 (IoRead16 (Port), StartBit, EndBit, AndData) in IoBitFieldAnd16()
583 BitFieldAndThenOr16 (IoRead16 (Port), StartBit, EndBit, AndData, OrData) in IoBitFieldAndThenOr16()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/IntelQNCLib/
DIntelQNCLib.c153 Pm1Sts = IoRead16 (PcdGet16 (PcdPm1blkIoBaseAddress) + R_QNC_PM1BLK_PM1S); in QNCCheckS3AndClearState()
154 Pm1En = IoRead16 (PcdGet16 (PcdPm1blkIoBaseAddress) + R_QNC_PM1BLK_PM1E); in QNCCheckS3AndClearState()
155 Pm1Cnt = IoRead16 (PcdGet16 (PcdPm1blkIoBaseAddress) + R_QNC_PM1BLK_PM1C); in QNCCheckS3AndClearState()
240 Pm1Sts = IoRead16 (PcdGet16 (PcdPm1blkIoBaseAddress) + R_QNC_PM1BLK_PM1S); in QNCCheckPowerOnResetAndClearState()
241 Pm1Cnt = IoRead16 (PcdGet16 (PcdPm1blkIoBaseAddress) + R_QNC_PM1BLK_PM1C); in QNCCheckPowerOnResetAndClearState()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/
DSimpleCpuIoLib.h34 IoRead16 (
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DHwIoDebug.c62 Data = IoRead16 (Port); in EblIoReadCmd()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformPei/
DBootMode.c287 Pm1Sts = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_STS); in GetSleepTypeAfterWakeup()
288 Pm1Cnt = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT); in GetSleepTypeAfterWakeup()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DBootMode.c359 Pm1Sts = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_STS); in GetSleepTypeAfterWakeup()
360 Pm1Cnt = IoRead16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT); in GetSleepTypeAfterWakeup()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/
DIo.c51 IoRead16 ( in IoRead16() function

123