Home
last modified time | relevance | path

Searched refs:RegData32 (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/Pei/PlatformInit/
DPlatformEarlyInit.c642 UINT32 RegData32; in InitializeUSBPhy() local
650 RegData32 = QNCAltPortRead (QUARK_SC_USB_AFE_SB_PORT_ID, USB2_GLOBAL_PORT); in InitializeUSBPhy()
651 RegData32 &= ~(BIT1); in InitializeUSBPhy()
656 RegData32 |= (BIT8 | BIT7); in InitializeUSBPhy()
657 QNCAltPortWrite (QUARK_SC_USB_AFE_SB_PORT_ID, USB2_GLOBAL_PORT, RegData32); in InitializeUSBPhy()
662 RegData32 = QNCAltPortRead (QUARK_SC_USB_AFE_SB_PORT_ID, USB2_COMPBG); in InitializeUSBPhy()
663 RegData32 &= ~(BIT10 | BIT9 | BIT8 | BIT7); in InitializeUSBPhy()
664 RegData32 |= (BIT10 | BIT7); in InitializeUSBPhy()
665 QNCAltPortWrite (QUARK_SC_USB_AFE_SB_PORT_ID, USB2_COMPBG, RegData32); in InitializeUSBPhy()
669 RegData32 = QNCAltPortRead (QUARK_SC_USB_AFE_SB_PORT_ID, USB2_PLL2); in InitializeUSBPhy()
[all …]
DMemoryCallback.c107 UINT32 RegData32; in MemoryDiscoveredPpiNotifyCallback() local
220 RegData32 = QNCPortRead (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC); in MemoryDiscoveredPpiNotifyCallback()
221 RegData32 |= (BIT2|BIT1); in MemoryDiscoveredPpiNotifyCallback()
222 QNCPortWrite (QUARK_NC_HOST_BRIDGE_SB_PORT_ID, QNC_MSG_FSBIC_REG_HMISC, RegData32); in MemoryDiscoveredPpiNotifyCallback()
DMrcWrapper.c62 UINT32 RegData32; in MrcUartConfig() local
70RegData32 = PciRead32 (PCI_LIB_ADDRESS(IohUartBus, IohUartDev, UartIdx, PCI_BASE_ADDRESSREG_OFFSE… in MrcUartConfig()
71 MrcData->uart_mmio_base = RegData32 & 0xFFFFFFF0; in MrcUartConfig()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/
DPlatform.c658 UINT32 RegData32; in EnableAcpiCallback() local
674 RegData32 = IoRead32(AcpiBase + R_PCH_SMI_EN); in EnableAcpiCallback()
675 RegData32 &= ~(B_PCH_SMI_EN_SWSMI_TMR | B_PCH_SMI_EN_LEGACY_USB2 | B_PCH_SMI_EN_INTEL_USB2); in EnableAcpiCallback()
676 IoWrite32(AcpiBase + R_PCH_SMI_EN, RegData32); in EnableAcpiCallback()
678 RegData32 = IoRead32(AcpiBase + R_PCH_SMI_STS); in EnableAcpiCallback()
679 RegData32 |= B_PCH_SMI_STS_SWSMI_TMR; in EnableAcpiCallback()
680 IoWrite32(AcpiBase + R_PCH_SMI_STS, RegData32); in EnableAcpiCallback()
697 RegData32 = IoRead32(AcpiBase + R_PCH_ALT_GP_SMI_EN); in EnableAcpiCallback()
698 RegData32 &= ~(BIT7); in EnableAcpiCallback()
699 IoWrite32((AcpiBase + R_PCH_ALT_GP_SMI_EN), RegData32); in EnableAcpiCallback()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformSmm/
DPlatform.c682 UINT32 RegData32; in EnableAcpiCallback()
721 RegData32 = IoRead32(ACPI_BASE_ADDRESS + R_PCH_ALT_GP_SMI_EN); in EnableAcpiCallback()
722 RegData32 &= ~(BIT7); in EnableAcpiCallback()
723 IoWrite32((ACPI_BASE_ADDRESS + R_PCH_ALT_GP_SMI_EN), RegData32); in EnableAcpiCallback()