Home
last modified time | relevance | path

Searched refs:IoWrite16 (Results 1 – 25 of 63) sorted by relevance

123

/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/ResetSystemLib/
DResetSystemLib.c123 IoWrite16 ( in ResetShutdown()
131 IoWrite16 (PchPmioBase + R_PCH_SMI_STS, in ResetShutdown()
136 IoWrite16 (PchPmioBase + R_PCH_SMI_EN, in ResetShutdown()
141 IoWrite16(PchPmioBase + R_PCH_ACPI_PM1_STS, B_PCH_ACPI_PM1_STS_PWRBTN); in ResetShutdown()
151 IoWrite16 ((UINTN) (PchPmioBase + R_PCH_SMI_STS), Data16); in ResetShutdown()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/
DPlatform.c362IoWrite16( mAcpiBaseAddr + R_PCH_TCO_CNT, IoRead16( mAcpiBaseAddr + R_PCH_TCO_CNT ) | B_PCH_TCO_CN… in InitializePlatformSmm()
558 IoWrite16 (mAcpiBaseAddr + R_PCH_SMI_STS,
563 IoWrite16 (mAcpiBaseAddr + R_PCH_SMI_EN,
569 IoWrite16(mAcpiBaseAddr + R_PCH_ACPI_PM1_STS, B_PCH_ACPI_PM1_STS_PWRBTN);
574 IoWrite16(mAcpiBaseAddr + R_PCH_ACPI_PM1_CNT, V_PCH_ACPI_PM1_CNT_S5);
575 IoWrite16(mAcpiBaseAddr + R_PCH_ACPI_PM1_CNT, B_PCH_ACPI_PM1_CNT_SLP_EN | V_PCH_ACPI_PM1_CNT_S5);
704 IoWrite16(mAcpiBaseAddr + R_PCH_ACPI_PM1_EN, B_PCH_ACPI_PM1_EN_PWRBTN); in EnableAcpiCallback()
705 IoWrite16(mAcpiBaseAddr + R_PCH_ACPI_PM1_STS, 0xffff); in EnableAcpiCallback()
731 IoWrite16(mAcpiBaseAddr + R_PCH_ACPI_PM1_CNT, Pm1Cnt); in EnableAcpiCallback()
767 IoWrite16(mAcpiBaseAddr + R_PCH_ACPI_PM1_STS, 0xffff); in DisableAcpiCallback()
[all …]
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Library/ResetSystemLib/
DResetSystemLib.c160 IoWrite16 (PcdGet16 (PcdPm1blkIoBaseAddress) + R_QNC_PM1BLK_PM1E, 0); in ResetShutdown()
228 IoWrite16 (PcdGet16 (PcdGpe0blkIoBaseAddress) + R_QNC_GPE0BLK_SMIE, 0); in EnterS3WithImmediateWake()
246 IoWrite16 (PcdGet16 (PcdPm1blkIoBaseAddress) + R_QNC_PM1BLK_PM1E, B_QNC_PM1BLK_PM1E_PWAKED); in EnterS3WithImmediateWake()
251 IoWrite16 (PcdGet16 (PcdPm1blkIoBaseAddress) + R_QNC_PM1BLK_PM1S, B_QNC_PM1BLK_PM1S_ALL); in EnterS3WithImmediateWake()
304IoWrite16 (PcdGet16 (PcdPm1blkIoBaseAddress) + R_QNC_PM1BLK_PM1E, (Data16 | B_QNC_PM1BLK_PM1E_RTC)… in EnterS3WithImmediateWake()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/
DIchTcoReset.c113 IoWrite16(AcpiBase + R_PCH_TCO_CNT, TmpWord); in EnableTcoReset()
146 IoWrite16(AcpiBase + R_PCH_TCO_CNT, TmpWord); in EnableTcoReset()
181 IoWrite16(AcpiBase + R_PCH_TCO_CNT, TmpWord); in DisableTcoReset()
/device/linaro/bootloader/edk2/CorebootPayloadPkg/Library/ResetSystemLib/
DResetSystemLib.c129 IoWrite16 ((UINTN)pAcpiBoardInfo->PmGpeEnBase, 0); in ResetShutdown()
134 IoWrite16((UINTN) pAcpiBoardInfo->PmEvtBase, BIT8); in ResetShutdown()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
DPchInitPeim.c119 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_STS, B_PCH_ACPI_PM1_STS_PWRBTN); in CheckPowerOffNow()
120 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT, V_PCH_ACPI_PM1_CNT_S5); in CheckPowerOffNow()
121IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT, V_PCH_ACPI_PM1_CNT_S5 + B_PCH_ACPI_PM1_CNT_SLP_… in CheckPowerOffNow()
159 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_EN, (UINT16) 0x00);
167 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_TCO_CNT, Data16);
267 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_STS, Pm1Sts); in ClearSmiAndWake()
DBootMode.c372 IoWrite16 (ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_CNT, Pm1Cnt); in GetSleepTypeAfterWakeup()
377 IoWrite16 ((ACPI_BASE_ADDRESS + R_PCH_ACPI_PM1_STS), B_PCH_ACPI_PM1_STS_WAK); in GetSleepTypeAfterWakeup()
/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()
466 return IoWrite16 ( in IoBitFieldWrite16()
508 return IoWrite16 ( in IoBitFieldOr16()
550 return IoWrite16 ( in IoBitFieldAnd16()
597 return IoWrite16 ( in IoBitFieldAndThenOr16()
DIoLib.c138 IoWrite16 ( in IoWrite16() function
153 CpuIo->IoWrite16 (PeiServices, CpuIo, (UINT64) Port, Value); in IoWrite16()
/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()
455 return IoWrite16 ( in IoBitFieldWrite16()
495 return IoWrite16 ( in IoBitFieldOr16()
535 return IoWrite16 ( in IoBitFieldAnd16()
579 return IoWrite16 ( in IoBitFieldAndThenOr16()
/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()
466 return IoWrite16 ( in IoBitFieldWrite16()
508 return IoWrite16 ( in IoBitFieldOr16()
550 return IoWrite16 ( in IoBitFieldAnd16()
597 return IoWrite16 ( in IoBitFieldAndThenOr16()
DIoLibEbc.c112 IoWrite16 ( in IoWrite16() function
DIoLibGcc.c129 IoWrite16 ( in IoWrite16() function
DIoLibMsc.c158 IoWrite16 ( in IoWrite16() function
DIoLibIcc.c131 IoWrite16 ( in IoWrite16() 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()
453 return IoWrite16 ( in IoBitFieldWrite16()
494 return IoWrite16 ( in IoBitFieldOr16()
535 return IoWrite16 ( in IoBitFieldAnd16()
581 return IoWrite16 ( 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()
464 return IoWrite16 ( in IoBitFieldWrite16()
504 return IoWrite16 ( in IoBitFieldOr16()
544 return IoWrite16 ( in IoBitFieldAnd16()
588 return IoWrite16 ( in IoBitFieldAndThenOr16()
/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()
457 return IoWrite16 ( in IoBitFieldWrite16()
498 return IoWrite16 ( in IoBitFieldOr16()
539 return IoWrite16 ( in IoBitFieldAnd16()
585 return IoWrite16 ( 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()
462 return IoWrite16 ( in IoBitFieldWrite16()
503 return IoWrite16 ( in IoBitFieldOr16()
544 return IoWrite16 ( in IoBitFieldAnd16()
590 return IoWrite16 ( 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()
465 return IoWrite16 ( in IoBitFieldWrite16()
506 return IoWrite16 ( in IoBitFieldOr16()
547 return IoWrite16 ( in IoBitFieldAnd16()
593 return IoWrite16 ( in IoBitFieldAndThenOr16()
/device/linaro/bootloader/edk2/MdePkg/Library/BasePostCodeLibPort80/
DPostCode.c51 IoWrite16 (0x80, (UINT16)(Value)); in PostCode()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/PchSmmLib/
DPchSmmLib.c164 IoWrite16 (PmBase + R_PCH_ACPI_SMI_STS, B_PCH_ACPI_APM_STS); in ClearSmi()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkNorthCluster/Smm/Dxe/SmmControlDxe/
DSmmControlDriver.c300 IoWrite16 ((PM1BLK_Base + R_QNC_PM1BLK_PM1S), B_QNC_PM1BLK_PM1S_ALL); in SmmControl2Init()
301 IoWrite16 ((PM1BLK_Base + R_QNC_PM1BLK_PM1E), 0x00000000); in SmmControl2Init()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Platform/Generic/MonoStatusCode/Library/Pei/Include/
DSimpleCpuIoLib.h50 IoWrite16 (
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DHwIoDebug.c114 IoWrite16 (Port, (UINT16)Data); in EblIoWriteCmd()

123