HomeSort by relevance Sort by last modified time
    Searched refs:MmioWrite32 (Results 1 - 25 of 138) sorted by null

1 2 3 4 5 6

  /device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/
HdLcd.c 38 MmioWrite32(HDLCD_REG_COMMAND, HDLCD_DISABLE);
41 MmioWrite32(HDLCD_REG_INT_MASK, 0);
44 MmioWrite32(HDLCD_REG_FB_BASE, (UINT32) VramBaseAddress);
47 MmioWrite32(HDLCD_REG_BUS_OPTIONS, (4 << 8) | HDLCD_BURST_8);
48 MmioWrite32(HDLCD_REG_POLARITIES, HDLCD_PXCLK_LOW | HDLCD_DATA_HIGH | HDLCD_DATEN_HIGH | HDLCD_HSYNC_LOW | HDLCD_VSYNC_HIGH);
49 MmioWrite32(HDLCD_REG_PIXEL_FORMAT, HDLCD_LITTLE_ENDIAN | HDLCD_4BYTES_PER_PIXEL);
50 MmioWrite32(HDLCD_REG_RED_SELECT, (0 << 16 | 8 << 8 | 0));
51 MmioWrite32(HDLCD_REG_GREEN_SELECT, (0 << 16 | 8 << 8 | 8));
52 MmioWrite32(HDLCD_REG_BLUE_SELECT, (0 << 16 | 8 << 8 | 16));
93 MmioWrite32(HDLCD_REG_COMMAND, HDLCD_DISABLE);
    [all...]
PL111Lcd.c 57 MmioWrite32(PL111_REG_LCD_UP_BASE, (UINT32) VramBaseAddress);
58 MmioWrite32(PL111_REG_LCD_LP_BASE, 0); // We are not using a double buffer
61 MmioWrite32(PL111_REG_LCD_IMSC, 0);
100 MmioWrite32(PL111_REG_LCD_CONTROL, LcdControl & ~1);
103 MmioWrite32 (PL111_REG_LCD_TIMING_0, HOR_AXIS_PANEL(HBackPorch, HFrontPorch, HSync, HRes));
104 MmioWrite32 (PL111_REG_LCD_TIMING_1, VER_AXIS_PANEL(VBackPorch, VFrontPorch, VSync, VRes));
105 MmioWrite32 (PL111_REG_LCD_TIMING_2, CLK_SIG_POLARITY(HRes));
106 MmioWrite32 (PL111_REG_LCD_TIMING_3, 0);
110 MmioWrite32(PL111_REG_LCD_CONTROL, LcdControl);
114 MmioWrite32(PL111_REG_LCD_CONTROL, LcdControl);
    [all...]
  /device/linaro/bootloader/edk2/ArmPkg/Drivers/ArmGic/GicV2/
ArmGicV2NonSecLib.c 30 MmioWrite32 (GicInterruptInterfaceBase + ARM_GIC_ICCICR, 0x1);
40 MmioWrite32 (GicInterruptInterfaceBase + ARM_GIC_ICCICR, 0x0);
41 MmioWrite32 (GicInterruptInterfaceBase + ARM_GIC_ICCPMR, 0x0);
ArmGicV2SecLib.c 42 MmioWrite32 (GicInterruptInterfaceBase + ARM_GIC_ICCPMR, 0);
60 MmioWrite32 (GicDistributorBase + ARM_GIC_ICDISR + (Index * 4), 0xffffffff);
64 MmioWrite32 (GicDistributorBase + ARM_GIC_ICDISR, 0xffffffff);
68 MmioWrite32 (GicInterruptInterfaceBase + ARM_GIC_ICCPMR, CachedPriorityMask);
78 MmioWrite32 (GicInterruptInterfaceBase + ARM_GIC_ICCPMR, 0x000000FF);
83 MmioWrite32 (GicInterruptInterfaceBase + ARM_GIC_ICCICR,
99 MmioWrite32 (GicInterruptInterfaceBase + ARM_GIC_ICCICR, ControlValue & ~(ARM_GIC_ICCICR_ENABLE_SECURE | ARM_GIC_ICCICR_ENABLE_NS));
ArmGicV2Lib.c 35 MmioWrite32 (GicInterruptInterfaceBase + ARM_GIC_ICCEIOR, Source);
  /device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/OmapDmaLib/
OmapDmaLib.c 70 MmioWrite32 (DMA4_CSDP (Channel), RegVal);
73 MmioWrite32 (DMA4_CEN (Channel), DMA4->NumberOfElementPerFrame);
76 MmioWrite32 (DMA4_CFN (Channel), DMA4->NumberOfFramePerTransferBlock);
79 MmioWrite32 (DMA4_CSSA (Channel), DMA4->SourceStartAddress);
80 MmioWrite32 (DMA4_CDSA (Channel), DMA4->DestinationStartAddress);
100 MmioWrite32 (DMA4_CCR (Channel), RegVal);
103 MmioWrite32 (DMA4_CSEI (Channel), DMA4->SourceElementIndex);
106 MmioWrite32 (DMA4_CSFI (Channel), DMA4->SourceFrameIndex);
110 MmioWrite32 (DMA4_CDEI (Channel), DMA4->DestinationElementIndex);
113 MmioWrite32 (DMA4_CDFI (Channel), DMA4->DestinationFrameIndex);
    [all...]
  /device/linaro/bootloader/edk2/Omap35xxPkg/Library/OmapDmaLib/
OmapDmaLib.c 70 MmioWrite32 (DMA4_CSDP (Channel), RegVal);
73 MmioWrite32 (DMA4_CEN (Channel), DMA4->NumberOfElementPerFrame);
76 MmioWrite32 (DMA4_CFN (Channel), DMA4->NumberOfFramePerTransferBlock);
79 MmioWrite32 (DMA4_CSSA (Channel), DMA4->SourceStartAddress);
80 MmioWrite32 (DMA4_CDSA (Channel), DMA4->DestinationStartAddress);
100 MmioWrite32 (DMA4_CCR (Channel), RegVal);
103 MmioWrite32 (DMA4_CSEI (Channel), DMA4->SourceElementIndex);
106 MmioWrite32 (DMA4_CSFI (Channel), DMA4->SourceFrameIndex);
110 MmioWrite32 (DMA4_CDEI (Channel), DMA4->DestinationElementIndex);
113 MmioWrite32 (DMA4_CDFI (Channel), DMA4->DestinationFrameIndex);
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Sec/
Sec.c 56 MmioWrite32 (TimerBaseAddress + GPTIMER_TCRR, 0x00000000);
57 MmioWrite32 (TimerBaseAddress + GPTIMER_TLDR, 0x00000000);
60 MmioWrite32 (TimerBaseAddress + GPTIMER_TIER, TIER_TCAR_IT_DISABLE | TIER_OVF_IT_DISABLE | TIER_MAT_IT_DISABLE);
63 MmioWrite32 (TimerBaseAddress + GPTIMER_TCLR, TCLR_AR_AUTORELOAD | TCLR_ST_ON);
66 MmioWrite32 (WDTIMER2_BASE + WSPR, 0xAAAA);
68 MmioWrite32 (WDTIMER2_BASE + WSPR, 0x5555);
80 MmioWrite32 (UartBaseAddress + UART_MDR1_REG, UART_MDR1_MODE_SELECT_DISABLE);
83 MmioWrite32 (UartBaseAddress + UART_LCR_REG, UART_LCR_DIV_EN_ENABLE);
86 MmioWrite32 (UartBaseAddress + UART_DLL_REG, 3000000/FixedPcdGet64 (PcdUartDefaultBaudRate)); // low divisor
87 MmioWrite32 (UartBaseAddress + UART_DLH_REG, 0); // high divisor
    [all...]
Clock.c 28 MmioWrite32 (CM_CLKSEL4_PLL, CM_CLKSEL_PLL_MULT(120) | CM_CLKSEL_PLL_DIV(13));
29 MmioWrite32 (CM_CLKSEL5_PLL, CM_CLKSEL_DIV_120M(1));
30 MmioWrite32 (CM_CLKEN2_PLL, CM_CLKEN_FREQSEL_075_100 | CM_CLKEN_ENABLE);
  /device/linaro/bootloader/edk2/BeagleBoardPkg/Sec/
Sec.c 56 MmioWrite32 (TimerBaseAddress + GPTIMER_TCRR, 0x00000000);
57 MmioWrite32 (TimerBaseAddress + GPTIMER_TLDR, 0x00000000);
60 MmioWrite32 (TimerBaseAddress + GPTIMER_TIER, TIER_TCAR_IT_DISABLE | TIER_OVF_IT_DISABLE | TIER_MAT_IT_DISABLE);
63 MmioWrite32 (TimerBaseAddress + GPTIMER_TCLR, TCLR_AR_AUTORELOAD | TCLR_ST_ON);
66 MmioWrite32 (WDTIMER2_BASE + WSPR, 0xAAAA);
68 MmioWrite32 (WDTIMER2_BASE + WSPR, 0x5555);
80 MmioWrite32 (UartBaseAddress + UART_MDR1_REG, UART_MDR1_MODE_SELECT_DISABLE);
83 MmioWrite32 (UartBaseAddress + UART_LCR_REG, UART_LCR_DIV_EN_ENABLE);
86 MmioWrite32 (UartBaseAddress + UART_DLL_REG, 3000000/FixedPcdGet64 (PcdUartDefaultBaudRate)); // low divisor
87 MmioWrite32 (UartBaseAddress + UART_DLH_REG, 0); // high divisor
    [all...]
Clock.c 28 MmioWrite32 (CM_CLKSEL4_PLL, CM_CLKSEL_PLL_MULT(120) | CM_CLKSEL_PLL_DIV(13));
29 MmioWrite32 (CM_CLKSEL5_PLL, CM_CLKSEL_DIV_120M(1));
30 MmioWrite32 (CM_CLKEN2_PLL, CM_CLKEN_FREQSEL_075_100 | CM_CLKEN_ENABLE);
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/
InitPeripherals.c 48 MmioWrite32 (0xf8001864, 1);
49 MmioWrite32 (0xf8001868, 1);
99 MmioWrite32 (PERI_CTRL_BASE + SC_PERIPH_CLKEN0, BIT4);
107 MmioWrite32 (PERI_CTRL_BASE + SC_PERIPH_RSTDIS0, Data);
117 MmioWrite32 (PERI_CTRL_BASE + SC_PERIPH_CTRL4, Value);
131 MmioWrite32 (PERI_CTRL_BASE + SC_PERIPH_CTRL5, Value);
145 MmioWrite32 (PERI_CTRL_BASE + SC_PERIPH_CTRL5, Data);
147 MmioWrite32 (PERI_CTRL_BASE + 0x018, 0x70533483); //EYE_PATTERN
164 MmioWrite32 (PERI_CTRL_BASE + SC_PERIPH_RSTDIS3, PERIPH_RST3_UART1);
165 MmioWrite32 (PERI_CTRL_BASE + SC_PERIPH_CLKEN3, PERIPH_RST3_UART1)
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/DebugAgentTimerLib/
DebugAgentTimerLib.c 43 MmioWrite32 (INTCPS_ILR (gVector), 1);
48 MmioWrite32 (INTCPS_MIR_CLEAR(Bank), Bit);
62 MmioWrite32 (INTCPS_MIR_SET(Bank), Bit);
121 MmioWrite32 (gTCLR, TCLR_ST_OFF);
130 MmioWrite32 (gTLDR, LoadValue);
131 MmioWrite32 (gTCRR, LoadValue);
134 MmioWrite32 (gTIER, TIER_TCAR_IT_DISABLE | TIER_OVF_IT_ENABLE | TIER_MAT_IT_DISABLE);
137 MmioWrite32 (gTCLR, TCLR_AR_AUTORELOAD | TCLR_ST_ON);
156 MmioWrite32 (gTISR, TISR_CLEAR_ALL);
161 MmioWrite32 (INTCPS_CONTROL, INTCPS_CONTROL_NEWFIQAGR);
    [all...]
  /device/linaro/bootloader/edk2/Omap35xxPkg/Library/DebugAgentTimerLib/
DebugAgentTimerLib.c 43 MmioWrite32 (INTCPS_ILR (gVector), 1);
48 MmioWrite32 (INTCPS_MIR_CLEAR(Bank), Bit);
62 MmioWrite32 (INTCPS_MIR_SET(Bank), Bit);
121 MmioWrite32 (gTCLR, TCLR_ST_OFF);
130 MmioWrite32 (gTLDR, LoadValue);
131 MmioWrite32 (gTCRR, LoadValue);
134 MmioWrite32 (gTIER, TIER_TCAR_IT_DISABLE | TIER_OVF_IT_ENABLE | TIER_MAT_IT_DISABLE);
137 MmioWrite32 (gTCLR, TCLR_AR_AUTORELOAD | TCLR_ST_ON);
156 MmioWrite32 (gTISR, TISR_CLEAR_ALL);
161 MmioWrite32 (INTCPS_CONTROL, INTCPS_CONTROL_NEWFIQAGR);
    [all...]
  /device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformInitPei/
PlatformEarlyInit.c 346 MmioWrite32 (IO_BASE_ADDRESS + 0x03E0, 0x2003ED01); //EMMC 4.41
347 MmioWrite32 (IO_BASE_ADDRESS + 0x0390, 0x2003EC81);
348 MmioWrite32 (IO_BASE_ADDRESS + 0x03D0, 0x2003EC81);
349 MmioWrite32 (IO_BASE_ADDRESS + 0x0400, 0x2003EC81);
350 MmioWrite32 (IO_BASE_ADDRESS + 0x03B0, 0x2003EC81);
351 MmioWrite32 (IO_BASE_ADDRESS + 0x0360, 0x2003EC81);
352 MmioWrite32 (IO_BASE_ADDRESS + 0x0380, 0x2003EC81);
353 MmioWrite32 (IO_BASE_ADDRESS + 0x03C0, 0x2003EC81);
354 MmioWrite32 (IO_BASE_ADDRESS + 0x0370, 0x2003EC81);
355 MmioWrite32 (IO_BASE_ADDRESS + 0x03F0, 0x2003EC81);
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Library/BeagleBoardLib/
Clock.c 28 MmioWrite32 (CM_CLKSEL4_PLL, CM_CLKSEL_PLL_MULT(120) | CM_CLKSEL_PLL_DIV(13));
29 MmioWrite32 (CM_CLKSEL5_PLL, CM_CLKSEL_DIV_120M(1));
30 MmioWrite32 (CM_CLKEN2_PLL, CM_CLKEN_FREQSEL_075_100 | CM_CLKEN_ENABLE);
  /device/linaro/bootloader/edk2/BeagleBoardPkg/Library/BeagleBoardLib/
Clock.c 28 MmioWrite32 (CM_CLKSEL4_PLL, CM_CLKSEL_PLL_MULT(120) | CM_CLKSEL_PLL_DIV(13));
29 MmioWrite32 (CM_CLKSEL5_PLL, CM_CLKSEL_DIV_120M(1));
30 MmioWrite32 (CM_CLKEN2_PLL, CM_CLKEN_FREQSEL_075_100 | CM_CLKEN_ENABLE);
  /device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL180MciDxe/
PL180Mci.c 98 MmioWrite32 (MCI_DATA_TIMER_REG, 0xFFFFFFF);
99 MmioWrite32 (MCI_DATA_LENGTH_REG, MMCI0_BLOCKLEN);
104 MmioWrite32 (MCI_DATA_CTL_REG, MCI_DATACTL_ENABLE | MCI_DATACTL_DMA_ENABLE | TransferDirection | (MMCI0_POW2_BLOCKLEN << 4));
106 MmioWrite32 (MCI_DATA_CTL_REG, MCI_DATACTL_ENABLE | MCI_DATACTL_DMA_ENABLE | TransferDirection | MCI_DATACTL_STREAM_TRANS);
142 MmioWrite32 (MCI_CLEAR_STATUS_REG, MCI_CLR_ALL_STATUS);
145 MmioWrite32 (MCI_ARGUMENT_REG, Argument);
148 MmioWrite32 (MCI_COMMAND_REG, Cmd);
159 MmioWrite32 (MCI_CLEAR_STATUS_REG, MCI_STATUS_CMD_ERROR);
175 MmioWrite32 (MCI_COMMAND_REG, (CmdCtrlReg & ~MCI_CPSM_ENABLE));
274 MmioWrite32(MCI_CLEAR_STATUS_REG, MCI_STATUS_CMD_RXOVERRUN);
    [all...]
  /device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/ArmTrustZone/
ArmTrustZone.c 44 MmioWrite32 ((UINTN)TzpcBase + TZPC_DECPROT0_SET_REG + (TzpcId * 0x0C), Bits);
63 MmioWrite32 ((UINTN)TzpcBase + TZPC_DECPROT0_CLEAR_REG + (TzpcId * 0x0C), Bits);
101 MmioWrite32((UINTN)(Region), LowAddress&0xFFFF8000);
102 MmioWrite32((UINTN)(Region+1), HighAddress);
103 MmioWrite32((UINTN)(Region+2), ((Security & 0xF) <<28) | ((Size & 0x3F) << 1) | (Enabled & 0x1));
  /device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/
PchAccess.h 433 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCRX), (UINT32) (Register & MSGBUS_MASKHI)); \
434 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCR ), (UINT32) ((ReadOpCode << 24) | (PortId << 16) | ((Register & MSGBUS_MASKLO) << 8) | MESSAGE_DWORD_EN)); \
440 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCRX), (UINT32) (Register & MSGBUS_MASKHI)); \
441 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCR ), (UINT32) ((ReadOpCode << 24) | (PortId << 16) | ((Register & MSGBUS_MASKLO) << 8) | MESSAGE_DWORD_EN)); \
443 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCRX), (UINT32) (Register & MSGBUS_MASKHI)); \
444 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MDR ), (UINT32) (Dbuff & AndData)); \
445 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCR ), (UINT32) ((WriteOpCode << 24) | (PortId << 16) | ((Register & MSGBUS_MASKLO) << 8) | MESSAGE_DWORD_EN)); \
450 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCRX), (UINT32) (Register & MSGBUS_MASKHI)); \
451 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCR ), (UINT32) ((ReadOpCode << 24) | (PortId << 16) | ((Register & MSGBUS_MASKLO) << 8) | MESSAGE_DWORD_EN)); \
453 MmioWrite32 ((UINTN) (PatchPcdGet64 (PcdPciExpressBaseAddress) + MC_MCRX), (UINT32) (Register & MSGBUS_MASKHI) (…)
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Drivers/Mmc/DwEmmcDxe/
DwEmmcDxe.c 126 MmioWrite32 (DWEMMC_CMD, Data);
166 MmioWrite32 (DWEMMC_CLKENA, 0);
170 MmioWrite32 (DWEMMC_CLKDIV, Divider);
175 MmioWrite32 (DWEMMC_CLKENA, 1);
176 MmioWrite32 (DWEMMC_CLKSRC, 0);
196 MmioWrite32 (DWEMMC_PWREN, 1);
200 MmioWrite32 (DWEMMC_CTRL, Data);
211 MmioWrite32 (DWEMMC_RINTSTS, ~0);
212 MmioWrite32 (DWEMMC_INTMASK, 0);
213 MmioWrite32 (DWEMMC_TMOUT, ~0)
    [all...]
  /device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/Omap35xxTimerLib/
TimerLib.c 40 MmioWrite32 (TimerBaseAddress + GPTIMER_TCRR, 0x00000000);
41 MmioWrite32 (TimerBaseAddress + GPTIMER_TLDR, 0x00000000);
44 MmioWrite32 (TimerBaseAddress + GPTIMER_TIER, TIER_TCAR_IT_DISABLE | TIER_OVF_IT_DISABLE | TIER_MAT_IT_DISABLE);
47 MmioWrite32 (TimerBaseAddress + GPTIMER_TCLR, TCLR_AR_AUTORELOAD | TCLR_ST_ON);
50 MmioWrite32 (WDTIMER2_BASE + WSPR, 0xAAAA);
52 MmioWrite32 (WDTIMER2_BASE + WSPR, 0x5555);
  /device/linaro/bootloader/edk2/Omap35xxPkg/Library/Omap35xxTimerLib/
TimerLib.c 40 MmioWrite32 (TimerBaseAddress + GPTIMER_TCRR, 0x00000000);
41 MmioWrite32 (TimerBaseAddress + GPTIMER_TLDR, 0x00000000);
44 MmioWrite32 (TimerBaseAddress + GPTIMER_TIER, TIER_TCAR_IT_DISABLE | TIER_OVF_IT_DISABLE | TIER_MAT_IT_DISABLE);
47 MmioWrite32 (TimerBaseAddress + GPTIMER_TCLR, TCLR_AR_AUTORELOAD | TCLR_ST_ON);
50 MmioWrite32 (WDTIMER2_BASE + WSPR, 0xAAAA);
52 MmioWrite32 (WDTIMER2_BASE + WSPR, 0x5555);
  /device/linaro/bootloader/edk2/ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/
ArmCortexA9Lib.c 34 MmioWrite32(ScuBase + A9_SCU_INVALL_OFFSET, 0xffffffff);
36 MmioWrite32(ScuBase + A9_SCU_CONTROL_OFFSET, 0x1);
  /device/linaro/bootloader/edk2/ArmPkg/Drivers/ArmGic/
ArmGicSecLib.c 41 MmioWrite32 (GicDistributorBase + ARM_GIC_ICDISR + (Index * 4), InterruptStatus & (~GicSecureInterruptMask[Index]));
52 MmioWrite32 (GicDistributorBase + ARM_GIC_ICDDCR, 1);

Completed in 1183 milliseconds

1 2 3 4 5 6