Home
last modified time | relevance | path

Searched refs:MmioRead32 (Results 1 – 25 of 169) sorted by relevance

1234567

/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL180MciDxe/
DPL180Mci.c38 return ((MmioRead32 (MCI_POWER_CONTROL_REG) & MCI_POWER_ON) == MCI_POWER_ON); in MciIsPowerOn()
55 return (MmioRead32 (FixedPcdGet32 (PcdPL180SysMciRegAddress)) & SYS_MCI_CARDIN); in MciIsCardPresent()
63 return (MmioRead32 (FixedPcdGet32 (PcdPL180SysMciRegAddress)) & SYS_MCI_WPROT); in MciIsReadOnly()
165 Status = MmioRead32 (MCI_STATUS_REG); in MciSendCommand()
173 …Index:%d) Start bit Error! Response:0x%X Status:0x%x\n", (Cmd & 0x3F), MmioRead32 (MCI_RESPONSE0_R… in MciSendCommand()
185 CmdCtrlReg = MmioRead32 (MCI_COMMAND_REG); in MciSendCommand()
207 Buffer[0] = MmioRead32 (MCI_RESPONSE3_REG); in MciReceiveResponse()
209 Buffer[0] = MmioRead32 (MCI_RESPONSE0_REG); in MciReceiveResponse()
210 Buffer[1] = MmioRead32 (MCI_RESPONSE1_REG); in MciReceiveResponse()
211 Buffer[2] = MmioRead32 (MCI_RESPONSE2_REG); in MciReceiveResponse()
[all …]
/device/linaro/bootloader/edk2/Omap35xxPkg/MMCHSDxe/
DMMCHS.c106 while ((MmioRead32 (MMCHS_SYSCTL) & ICS_MASK) != ICS); in UpdateMMCHSClkFrequency()
124 while ((MmioRead32 (MMCHS_PSTATE) & DATI_MASK) == DATI_NOT_ALLOWED); in SendCmd()
147 MmcStatus = MmioRead32 (MMCHS_STAT); in SendCmd()
155 while ((MmioRead32 (MMCHS_SYSCTL) & SRC)); in SendCmd()
400 while (!(MmioRead32 (MMCHS_STAT) & CC)); in PerformCardIdenfication()
410 while (!(MmioRead32 (MMCHS_STAT) & CC)); in PerformCardIdenfication()
429 DEBUG ((EFI_D_INFO, "CMD0 response: %x\n", MmioRead32 (MMCHS_RSP10))); in PerformCardIdenfication()
435 DEBUG ((EFI_D_INFO, "CMD5 response: %x\n", MmioRead32 (MMCHS_RSP10))); in PerformCardIdenfication()
444 while ((MmioRead32 (MMCHS_SYSCTL) & SRC)); in PerformCardIdenfication()
452 Response = MmioRead32 (MMCHS_RSP10); in PerformCardIdenfication()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL011Uart/
DPL011Uart.c84 HardwareFifoDepth = (PL011_UARTPID2_VER (MmioRead32 (UartBase + UARTPID2)) \ in PL011UartInitializePort()
202 if (((MmioRead32 (UartBase + UARTCR) & PL011_UARTCR_UARTEN) != 0) && in PL011UartInitializePort()
203 (MmioRead32 (UartBase + UARTLCR_H) == LineControl) && in PL011UartInitializePort()
204 (MmioRead32 (UartBase + UARTIBRD) == Integer) && in PL011UartInitializePort()
205 (MmioRead32 (UartBase + UARTFBRD) == Fractional)) { in PL011UartInitializePort()
211 while ((MmioRead32 (UartBase + UARTFR) & PL011_UARTFR_TXFE) == 0); in PL011UartInitializePort()
274 Bits = MmioRead32 (UartBase + UARTCR); in PL011UartSetControl()
349 FlagRegister = MmioRead32 (UartBase + UARTFR); in PL011UartGetControl()
350 ControlRegister = MmioRead32 (UartBase + UARTCR); in PL011UartGetControl()
420 while ((MmioRead32 (UartBase + UARTFR) & UART_TX_FULL_FLAG_MASK)); in PL011UartWrite()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/SP804TimerLib/
DSP804TimerLib.c37 …if ((MmioRead32 (SP804_TIMER_METRONOME_BASE + SP804_TIMER_CONTROL_REG) & SP804_TIMER_CTRL_ENABLE) … in TimerConstructor()
46 …if ((MmioRead32 (SP804_TIMER_PERFORMANCE_BASE + SP804_TIMER_CONTROL_REG) & SP804_TIMER_CTRL_ENABLE… in TimerConstructor()
100 StartTicks = MmioRead32 (SP804_TIMER_METRONOME_BASE + SP804_TIMER_CURRENT_REG); in MicroSecondDelay()
132 CurrentTicks = MmioRead32 (SP804_TIMER_METRONOME_BASE + SP804_TIMER_CURRENT_REG); in MicroSecondDelay()
148 CurrentTicks = MmioRead32 (SP804_TIMER_METRONOME_BASE + SP804_TIMER_CURRENT_REG); in MicroSecondDelay()
153 CurrentTicks = MmioRead32 (SP804_TIMER_METRONOME_BASE + SP804_TIMER_CURRENT_REG); in MicroSecondDelay()
210 Value = MmioRead32 (SP804_TIMER_PERFORMANCE_BASE + SP804_TIMER_CURRENT_REG); in GetPerformanceCounter()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/I2CLibDxe/
DI2CLib.c132 if (MmioRead32 (PciMmBase) != 0xFFFFFFFF) { in GetI2cBarAddr()
133 if((MmioRead32 (PciMmBase+R_PCH_LPSS_I2C_STSCMD)& B_PCH_LPSS_I2C_STSCMD_MSE)) { in GetI2cBarAddr()
137 … mLpssPciDeviceList[I2cControllerIndex + 1].Bar0=MmioRead32 (PciMmBase+R_PCH_LPSS_I2C_BAR); in GetI2cBarAddr()
138 mLpssPciDeviceList[I2cControllerIndex + 1].Bar1=MmioRead32 (PciMmBase+R_PCH_LPSS_I2C_BAR1); in GetI2cBarAddr()
188 PmcBase = MmioRead32 (PCI_D31F0_REG_BASE + R_PCH_LPC_PMC_BASE) & B_PCH_LPC_PMC_BASE_BAR; in ProgramPciLpssI2C()
189 if(MmioRead32(PmcBase+R_PCH_PMC_FUNC_DIS)&PmcFunctionDsiable[I2cControllerIndex]) { in ProgramPciLpssI2C()
194 …pssI2C()------------I2cControllerIndex=%x,PMC=%x\n",I2cControllerIndex,MmioRead32(PmcBase+R_PCH_PM… in ProgramPciLpssI2C()
210 if (MmioRead32 (PciMmBase) != 0xFFFFFFFF) { in ProgramPciLpssI2C()
211 if((MmioRead32 (PciMmBase+R_PCH_LPSS_I2C_STSCMD)& B_PCH_LPSS_I2C_STSCMD_MSE)) { in ProgramPciLpssI2C()
215 … mLpssPciDeviceList[I2cControllerIndex+1].Bar0=MmioRead32 (PciMmBase+R_PCH_LPSS_I2C_BAR); in ProgramPciLpssI2C()
[all …]
/device/linaro/bootloader/edk2/Omap35xxPkg/MmcHostDxe/
DMmcHostDxe.c242 while ((MmioRead32 (MMCHS_SYSCTL) & ICS_MASK) != ICS); in UpdateMMCHSClkFrequency()
351 while ((MmioRead32 (MMCHS_PSTATE) & DATI_MASK) == DATI_NOT_ALLOWED); in MMCSendCommand()
375 MmcStatus = MmioRead32 (MMCHS_STAT); in MMCSendCommand()
383 while ((MmioRead32 (MMCHS_SYSCTL) & SRC)); in MMCSendCommand()
432 while ((MmioRead32 (MMCHS_SYSSTATUS) & RESETDONE_MASK) != RESETDONE); in MMCNotifyState()
437 while ((MmioRead32 (MMCHS_SYSCTL) & SRA) != 0x0); in MMCNotifyState()
461 while ((MmioRead32 (MMCHS_HCTL) & SDBP_MASK) != SDBP_ON); in MMCNotifyState()
470 while (!(MmioRead32 (MMCHS_STAT) & CC)); in MMCNotifyState()
480 while (!(MmioRead32 (MMCHS_STAT) & CC)); in MMCNotifyState()
542 Buffer[0] = MmioRead32 (MMCHS_RSP10); in MMCReceiveResponse()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/SP805WatchdogDxe/
DSP805Watchdog.c45 if( MmioRead32(SP805_WDOG_LOCK_REG) == SP805_WDOG_LOCK_IS_LOCKED ) { in SP805Unlock()
63 if( MmioRead32(SP805_WDOG_LOCK_REG) == SP805_WDOG_LOCK_IS_UNLOCKED ) { in SP805Lock()
79 if ( (MmioRead32(SP805_WDOG_CONTROL_REG) & SP805_WDOG_CTRL_INTEN) != 0 ) { in SP805Stop()
96 if ( (MmioRead32(SP805_WDOG_CONTROL_REG) & SP805_WDOG_CTRL_INTEN) == 0 ) { in SP805Start()
268 if ( (MmioRead32(SP805_WDOG_CONTROL_REG) & SP805_WDOG_CTRL_INTEN) == 0 ) { in SP805GetTimerPeriod()
275 ReturnValue = MultU64x32( MmioRead32(SP805_WDOG_LOAD_REG), 600 ); in SP805GetTimerPeriod()
349 if ((MmioRead32(SP805_WDOG_CONTROL_REG) & SP805_WDOG_CTRL_RESEN) == 0) { in SP805Initialize()
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb/
DDebugCommunicationLibUsb.c301 while ((MmioRead32((UINTN)&DebugPortRegister->ControlStatus) & (UINT32)BIT16) == 0) { in UsbDebugPortIn()
302 …if ((MmioRead32((UINTN)&DebugPortRegister->ControlStatus) & (USB_DEBUG_PORT_OWNER | USB_DEBUG_PORT… in UsbDebugPortIn()
316 if ((MmioRead32((UINTN)&DebugPortRegister->ControlStatus)) & BIT6) { in UsbDebugPortIn()
323 …if (((MmioRead32((UINTN)&DebugPortRegister->ControlStatus)) & 0xF) > USB_DEBUG_PORT_MAX_PACKET_SIZ… in UsbDebugPortIn()
327 *Length = (UINT8)(MmioRead32((UINTN)&DebugPortRegister->ControlStatus) & 0xF); in UsbDebugPortIn()
402 while ((MmioRead32((UINTN)&DebugPortRegister->ControlStatus) & BIT16) == 0) { in UsbDebugPortOut()
403 …if ((MmioRead32((UINTN)&DebugPortRegister->ControlStatus) & (USB_DEBUG_PORT_OWNER | USB_DEBUG_PORT… in UsbDebugPortOut()
417 if ((MmioRead32((UINTN)&DebugPortRegister->ControlStatus)) & BIT6) { in UsbDebugPortOut()
424 …if (((MmioRead32((UINTN)&DebugPortRegister->ControlStatus)) & 0xF) > USB_DEBUG_PORT_MAX_PACKET_SIZ… in UsbDebugPortOut()
563 …if ((MmioRead32((UINTN)&UsbDebugPortRegister->ControlStatus) & (USB_DEBUG_PORT_OWNER | USB_DEBUG_P… in NeedReinitializeHardware()
[all …]
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/Omap35xxTimerLib/
DTimerLib.c35 if ((MmioRead32 (TimerBaseAddress + GPTIMER_TCLR) & TCLR_ST_ON) == 0) { in TimerConstructor()
93 StartTime = MmioRead32 (TimerCountRegister); in NanoSecondDelay()
97 CurrentTime = MmioRead32 (TimerCountRegister); in NanoSecondDelay()
112 return (UINT64)MmioRead32 (TimerBase(PcdGet32(PcdOmap35xxFreeTimer)) + GPTIMER_TCRR); in GetPerformanceCounter()
124 *StartValue = (UINT64)MmioRead32 (TimerBase(PcdGet32(PcdOmap35xxFreeTimer)) + GPTIMER_TLDR); in GetPerformanceCounterProperties()
/device/linaro/bootloader/edk2/ArmPkg/Drivers/ArmGic/GicV2/
DArmGicV2SecLib.c39 CachedPriorityMask = MmioRead32 (GicInterruptInterfaceBase + ARM_GIC_ICCPMR); in ArmGicV2SetupNonSecure()
44 InterruptId = MmioRead32 (GicInterruptInterfaceBase + ARM_GIC_ICCIAR); in ArmGicV2SetupNonSecure()
53 InterruptId = MmioRead32 (GicInterruptInterfaceBase + ARM_GIC_ICCIAR); in ArmGicV2SetupNonSecure()
98 ControlValue = MmioRead32 (GicInterruptInterfaceBase + ARM_GIC_ICCICR); in ArmGicV2DisableInterruptInterface()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Mmc/DwEmmcDxe/
DDwEmmcDxe.c125 Data = MmioRead32 (DWEMMC_CMD); in DwEmmcUpdateClock()
129 Data = MmioRead32 (DWEMMC_RINTSTS); in DwEmmcUpdateClock()
160 Data = MmioRead32 (DWEMMC_STATUS); in DwEmmcSetClock()
200 Data = MmioRead32 (DWEMMC_CTRL); in DwEmmcNotifyState()
217 Data = MmioRead32 (DWEMMC_BMOD); in DwEmmcNotifyState()
283 Data = MmioRead32 (DWEMMC_STATUS); in SendCommand()
295 Data = MmioRead32 (DWEMMC_RINTSTS); in SendCommand()
408 Buffer[0] = MmioRead32 (DWEMMC_RESP0); in DwEmmcReceiveResponse()
410 Buffer[0] = MmioRead32 (DWEMMC_RESP0); in DwEmmcReceiveResponse()
411 Buffer[1] = MmioRead32 (DWEMMC_RESP1); in DwEmmcReceiveResponse()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Spi/
DMvSpiDxe.c83 Reg = MmioRead32 (SpiRegBase + SPI_CONF_REG); in SpiSetBaudRate()
101 Reg = MmioRead32 (SpiRegBase + SPI_CTRL_REG); in SpiSetCs()
116 Reg = MmioRead32 (SpiRegBase + SPI_CTRL_REG); in SpiActivateCs()
129 Reg = MmioRead32 (SpiRegBase + SPI_CTRL_REG); in SpiDeactivateCs()
153 Reg = MmioRead32 (SpiRegBase + SPI_CONF_REG); in SpiSetupTransfer()
161 Reg = MmioRead32 (SpiRegBase + SPI_CONF_REG); in SpiSetupTransfer()
215 Reg = MmioRead32 (SpiRegBase + SPI_CONF_REG); in MvSpiTransfer()
228 if (MmioRead32 (SpiRegBase + SPI_INT_CAUSE_REG)) { in MvSpiTransfer()
229 *DataInPtr = MmioRead32 (SpiRegBase + SPI_DATA_IN_REG); in MvSpiTransfer()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Binary/AmdModulePkg/Common/
DWtf_Reg.h79 wtf_status_reg = MmioRead32 (WTF_STATUS_REG); \
87 wtf_status_reg = MmioRead32 (WTF_STATUS_REG); \
95 wtf_status_reg = MmioRead32 (WTF_STATUS_REG); \
102 wtf_status_reg = MmioRead32 (WTF_STATUS_REG); \
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960Dxe/
DHiKey960Dxe.c158 Data = MmioRead32 (HKADC_DSP_START); in AdcGetAdc()
162 Value1 = (UINT16)MmioRead32 (HKADC_DSP_RD2_DATA); in AdcGetAdc()
163 Value0 = (UINT16)MmioRead32 (HKADC_DSP_RD3_DATA); in AdcGetAdc()
276 Data = MmioRead32 (PMU_REG_BASE + (0x79 << 2)) & 7; in InitSdCard()
283 Data = MmioRead32 (PMU_REG_BASE + (0x6b << 2)) & 7; in InitSdCard()
308 Data = MmioRead32 (CRG_REG_BASE + 0xb8); in InitSdCard()
314 Data = MmioRead32 (CRG_PERRSTSTAT4); in InitSdCard()
320 Data = MmioRead32 (CRG_REG_BASE + 0x48); in InitSdCard()
362 BootMode = MmioRead32 (SCTRL_BAK_DATA0) & BOOT_MODE_MASK; in OnEndOfDxe()
599 if (MmioRead32 (ADB_REBOOT_ADDRESS) != mRebootReason) { in VirtualKeyboardQuery()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformHelperLib/
DPlatformHelperLib.c53 if (MmioRead32 (PchRootComplexBar + R_QNC_RCRB_SPIPBR0) == 0) { in WriteFirstFreeSpiProtect()
56 if (MmioRead32 (PchRootComplexBar + R_QNC_RCRB_SPIPBR1) == 0) { in WriteFirstFreeSpiProtect()
59 if (MmioRead32 (PchRootComplexBar + R_QNC_RCRB_SPIPBR2) == 0) { in WriteFirstFreeSpiProtect()
78 if (RegVal == MmioRead32 (PchRootComplexBar + Offset)) { in WriteFirstFreeSpiProtect()
116 if (MmioRead32 (PchRootComplexBar + R_QNC_RCRB_SPIPBR0) != 0) { in PlatformClearSpiProtect()
120 if (MmioRead32 (PchRootComplexBar + R_QNC_RCRB_SPIPBR0) != 0) { in PlatformClearSpiProtect()
124 if (MmioRead32 (PchRootComplexBar + R_QNC_RCRB_SPIPBR0) != 0) { in PlatformClearSpiProtect()
159 RegVal = MmioRead32 (PchRootComplexBar + Offset); in PlatformIsSpiRangeProtected()
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/
DPchAccess.h56 MmioRead32 (MmPciAddress (0, \
67 MmioRead32 ( \
181 #define PchLpcPciCfg32(Register) MmioRead32 (MmPciAddress (0, DEFAULT_PCI_BUS_NUMBER_PCH, PCI_DEVI…
284 #define PchSataPciCfg32(Register) MmioRead32 (MmPciAddress (0, DEFAULT_PCI_BUS_NUMBER_PCH, PCI_DEVI…
387 #define PchMmRcrb32(Register) MmioRead32 (PCH_RCRB_BASE + Register)
435 (Dbuff) = MmioRead32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MDR)); \
442 (Dbuff) = MmioRead32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MDR)); \
452 (Dbuff) = MmioRead32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MDR)); \
462 (Dbuff) = MmioRead32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MDR)); \
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyUsbDxe/
DHiKeyUsbDxe.c111 Value = MmioRead32 (PERI_CTRL_BASE + SC_PERIPH_CLKSTAT0); in HiKeyUsbPhyInit()
119 Value = MmioRead32 (PERI_CTRL_BASE + SC_PERIPH_RSTSTAT0); in HiKeyUsbPhyInit()
123 Value = MmioRead32 (PERI_CTRL_BASE + SC_PERIPH_CTRL4); in HiKeyUsbPhyInit()
139 Value = MmioRead32 (PERI_CTRL_BASE + SC_PERIPH_CTRL5); in HiKeyUsbPhyInit()
151 Data = MmioRead32 (PERI_CTRL_BASE + SC_PERIPH_CTRL5); in HiKeyUsbPhyInit()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/SP804TimerDxe/
DSP804Timer.c81 if (MmioRead32 (SP804_TIMER_PERIODIC_BASE + SP804_TIMER_MSK_INT_STS_REG) != 0) { in TimerInterruptHandler()
155 if (MmioRead32(SP804_TIMER_PERIODIC_BASE + SP804_TIMER_CONTROL_REG) & SP804_TIMER_CTRL_ENABLE) { in ExitBootServicesEvent()
160 if (MmioRead32(SP804_TIMER_METRONOME_BASE + SP804_TIMER_CONTROL_REG) & SP804_TIMER_CTRL_ENABLE) { in ExitBootServicesEvent()
165 …if (MmioRead32(SP804_TIMER_PERFORMANCE_BASE + SP804_TIMER_CONTROL_REG) & SP804_TIMER_CTRL_ENABLE) { in ExitBootServicesEvent()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Block/DwUfsHcDxe/
DDwUfsHcDxe.c68 Data = MmioRead32 (RegBase + UFS_HC_STATUS_OFFSET); in DwUfsDmeSet()
78 Data = MmioRead32 (RegBase + UFS_HC_IS_OFFSET); in DwUfsDmeSet()
84 Data = MmioRead32 (RegBase + UFS_HC_UCMD_ARG2_OFFSET); in DwUfsDmeSet()
102 Data = MmioRead32 (RegBase + UFS_HC_STATUS_OFFSET); in DwUfsDmeGet()
112 Data = MmioRead32 (RegBase + UFS_HC_IS_OFFSET); in DwUfsDmeGet()
118 Data = MmioRead32 (RegBase + UFS_HC_UCMD_ARG2_OFFSET); in DwUfsDmeGet()
122 *Value = MmioRead32 (RegBase + UFS_HC_UCMD_ARG3_OFFSET); in DwUfsDmeGet()
364 *((UINT32 *)Buffer + Index) = MmioRead32 (Private->RegBase + Offset); in UfsHcMmioRead()
494 Data = MmioRead32 (Private->RegBase + UFS_HC_AHIT_OFFSET); in UfsHcPhyInit()
583 Data = MmioRead32(Private->RegBase + UFS_HC_IS_OFFSET); in UfsHcPhySetPowerMode()
[all …]
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/OmapDmaLib/
DOmapDmaLib.c58 RegVal = MmioRead32 (DMA4_CSDP (Channel)); in EnableDmaChannel()
89 RegVal = MmioRead32 (DMA4_CCR (Channel)); in EnableDmaChannel()
158 Reg = MmioRead32 (DMA4_CSR(Channel)); in DisableDmaChannel()
/device/linaro/bootloader/edk2/BeagleBoardPkg/Library/BeagleBoardLib/
DBeagleBoard.c47 OldPinDir = MmioRead32 (GPIO6_BASE + GPIO_OE); in BeagleBoardGetRevision()
49 Revision = MmioRead32 (GPIO6_BASE + GPIO_DATAIN); in BeagleBoardGetRevision()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960UsbDxe/
DHiKey960UsbDxe.c62 Data = MmioRead32 (USB3OTG_PHY_CR_STS); in HiKey960UsbPhyCrWaitAck()
104 Data = MmioRead32 (USB3OTG_PHY_CR_STS); in HiKey960UsbPhyCrRead()
136 Data = MmioRead32 (USB3OTG_PHY_CR_CTRL); in HiKey960UsbPhyCrWrite()
166 Data = MmioRead32 (USB3OTG_CTRL6); in HiKey960UsbSetEyeDiagramParam()
173 MmioRead32 (USB3OTG_CTRL6) in HiKey960UsbSetEyeDiagramParam()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/
DHiKeyDxe.c84 Val = MmioRead32 (PMUSSI_REG(0x1c)) | 0x40; in UartInit()
99 Data = MmioRead32 (AO_CTRL_BASE + SC_PW_MTCMOS_ACK_STAT0); in MtcmosInit()
116 Data = MmioRead32 (PERI_CTRL_BASE + SC_PERIPH_RSTSTAT3); in HiKeyInitPeripherals()
300 if (MmioRead32 (ADB_REBOOT_ADDRESS) == ADB_REBOOT_BOOTLOADER) { in VirtualKeyboardQuery()
324 if (MmioRead32 (ADB_REBOOT_ADDRESS) == ADB_REBOOT_BOOTLOADER) { in VirtualKeyboardClear()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/MvMdioDxe/
DMvMdioDxe.c82 MdioReg = MmioRead32(MdioBase); in MdioWaitReady()
104 MdioReg = MmioRead32 (MdioBase); in MdioWaitValid()
161 *Data = MmioRead32 (MdioBase) & MVEBU_SMI_DATA_MASK; in MdioOperation()
/device/linaro/bootloader/edk2/ArmPkg/Drivers/ArmGic/
DArmGicLib.c94 return MmioRead32 (GicInterruptInterfaceBase + ARM_GIC_ICCIIDR); in ArmGicGetInterfaceIdentification()
103 return 32 * ((MmioRead32 (GicDistributorBase + ARM_GIC_ICDICTR) & 0x1F) + 1); in ArmGicGetMaxNumInterrupts()
272 …Interrupts = ((MmioRead32 (GicDistributorBase + ARM_GIC_ICDISER + (4 * RegOffset)) & (1 << RegShif… in ArmGicIsInterruptEnabled()
280 …Interrupts = MmioRead32 (GicCpuRedistributorBase + ARM_GICR_CTLR_FRAME_SIZE + ARM_GICR_ISENABLER +… in ArmGicIsInterruptEnabled()

1234567