Home
last modified time | relevance | path

Searched refs:UartBase (Results 1 – 17 of 17) sorted by relevance

/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL011Uart/
DPL011Uart.c40 IN OUT UINTN UartBase, in PL011UartInitializePort() argument
58 if (PL011_UARTPID2_VER (MmioRead32 (UartBase + UARTPID2)) > PL011_VER_R1P4) in PL011UartInitializePort()
144 MmioWrite32 (UartBase + UARTIBRD, PcdGet32 (PL011UartInteger)); in PL011UartInitializePort()
145 MmioWrite32 (UartBase + UARTFBRD, PcdGet32 (PL011UartFractional)); in PL011UartInitializePort()
154 MmioWrite32 (UartBase + UARTIBRD, Divisor >> 6); in PL011UartInitializePort()
155 MmioWrite32 (UartBase + UARTFBRD, Divisor & 0x3F); in PL011UartInitializePort()
159 MmioWrite32 (UartBase + UARTLCR_H, LineControl); in PL011UartInitializePort()
162 MmioWrite32 (UartBase + UARTECR, 0); in PL011UartInitializePort()
165 MmioWrite32 (UartBase + UARTCR, PL011_UARTCR_RXE | PL011_UARTCR_TXE | PL011_UARTCR_UARTEN); in PL011UartInitializePort()
200 IN UINTN UartBase, in PL011UartSetControl() argument
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Include/Drivers/
DPL011Uart.h102 IN OUT UINTN UartBase,
140 IN UINTN UartBase,
177 IN UINTN UartBase,
194 IN UINTN UartBase,
212 IN UINTN UartBase,
228 IN UINTN UartBase
/device/linaro/bootloader/edk2/BeagleBoardPkg/Library/GdbSerialLib/
DGdbSerialLib.c52 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbIsCharAvailable()
67 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbGetChar()
68 UINT32 RBR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_RBR_REG; in GdbGetChar()
83 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbPutChar()
84 UINT32 THR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_THR_REG; in GdbPutChar()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Library/GdbSerialLib/
DGdbSerialLib.c52 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbIsCharAvailable()
67 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbGetChar()
68 UINT32 RBR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_RBR_REG; in GdbGetChar()
83 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbPutChar()
84 UINT32 THR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_THR_REG; in GdbPutChar()
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/GdbSerialLib/
DGdbSerialLib.c51 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbIsCharAvailable()
66 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbGetChar()
67 UINT32 RBR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_RBR_REG; in GdbGetChar()
82 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbPutChar()
83 UINT32 THR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_THR_REG; in GdbPutChar()
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/GdbSerialLib/
DGdbSerialLib.c51 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbIsCharAvailable()
66 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbGetChar()
67 UINT32 RBR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_RBR_REG; in GdbGetChar()
82 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in GdbPutChar()
83 UINT32 THR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_THR_REG; in GdbPutChar()
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/SerialPortLib/
DSerialPortLib.c60 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in SerialPortWrite()
61 UINT32 THR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_THR_REG; in SerialPortWrite()
90 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in SerialPortRead()
91 UINT32 RBR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_RBR_REG; in SerialPortRead()
117 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in SerialPortPoll()
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/SerialPortLib/
DSerialPortLib.c60 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in SerialPortWrite()
61 UINT32 THR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_THR_REG; in SerialPortWrite()
90 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in SerialPortRead()
91 UINT32 RBR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_RBR_REG; in SerialPortRead()
117 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in SerialPortPoll()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/PlatformPeiLib/
DPlatformPeiLib.c44 UINT64 UartBase; in PlatformPeim() local
89 UartBase = fdt64_to_cpu (ReadUnaligned64 (RegProp)); in PlatformPeim()
91 DEBUG ((EFI_D_INFO, "%a: PL011 UART @ 0x%lx\n", __FUNCTION__, UartBase)); in PlatformPeim()
93 *UartHobData = UartBase; in PlatformPeim()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/FdtPL011SerialPortLib/
DFdtPL011SerialPortLib.c59 CONST UINT64 *UartBase; in FdtPL011SerialPortLibInitialize() local
67 if (Hob == NULL || GET_GUID_HOB_DATA_SIZE (Hob) != sizeof *UartBase) { in FdtPL011SerialPortLibInitialize()
70 UartBase = GET_GUID_HOB_DATA (Hob); in FdtPL011SerialPortLibInitialize()
72 mSerialBaseAddress = (UINTN)*UartBase; in FdtPL011SerialPortLibInitialize()
DEarlyFdtPL011SerialPortLib.c71 UINTN UartBase; in SerialPortGetBaseAddress() local
105 UartBase = (UINTN)fdt64_to_cpu (ReadUnaligned64 (RegProperty)); in SerialPortGetBaseAddress()
114 UartBase, in SerialPortGetBaseAddress()
117 return UartBase; in SerialPortGetBaseAddress()
/device/linaro/bootloader/edk2/Omap35xxPkg/Include/Library/
DOmapLib.h38 UartBase (
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Include/Library/
DOmapLib.h38 UartBase (
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/OmapLib/
DOmapLib.c72 UartBase ( in UartBase() function
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/OmapLib/
DOmapLib.c72 UartBase ( in UartBase() function
/device/linaro/bootloader/edk2/BeagleBoardPkg/Sec/
DSec.c77 UINT32 UartBaseAddress = UartBase(Uart); in UartInit()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Sec/
DSec.c77 UINT32 UartBaseAddress = UartBase(Uart); in UartInit()