Home
last modified time | relevance | path

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

123

/dports/sysutils/edk2/edk2-platforms-89f6170d/Silicon/NXP/Library/DUartPortLib/
H A DDUartPortLib.c58 UINTN UartBase; in SerialPortSetControl() local
66 McrBits = MmioRead8 (UartBase + UMCR); in SerialPortSetControl()
86 MmioWrite32 (UartBase + UMCR, McrBits); in SerialPortSetControl()
131 UINTN UartBase; in SerialPortGetControl() local
192 UINTN UartBase; in DuartInitializePort() local
206 MmioWrite8 (UartBase + UIER, 0x1); in DuartInitializePort()
208 MmioWrite8 (UartBase + UDLB, 0); in DuartInitializePort()
209 MmioWrite8 (UartBase + UDMB, 0); in DuartInitializePort()
260 UINTN UartBase; in SerialPortWrite() local
291 UINTN UartBase; in SerialPortRead() local
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/ArmPlatformPkg/Library/PL011UartLib/
H A DPL011UartLib.c67 IN UINTN UartBase, in PL011UartInitializePort() argument
217 MmioWrite32 (UartBase + UARTCR, 0); in PL011UartInitializePort()
227 MmioWrite32 (UartBase + UARTECR, 0); in PL011UartInitializePort()
230 MmioWrite32 (UartBase + UARTCR, in PL011UartInitializePort()
266 IN UINTN UartBase, in PL011UartSetControl() argument
276 Bits = MmioRead32 (UartBase + UARTCR); in PL011UartSetControl()
302 MmioWrite32 (UartBase + UARTCR, Bits); in PL011UartSetControl()
343 IN UINTN UartBase, in PL011UartGetControl() argument
413 IN UINTN UartBase, in PL011UartWrite() argument
443 IN UINTN UartBase, in PL011UartRead() argument
[all …]
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/ArmPlatformPkg/Library/PL011UartLib/
H A DPL011UartLib.c67 IN UINTN UartBase, in PL011UartInitializePort() argument
217 MmioWrite32 (UartBase + UARTCR, 0); in PL011UartInitializePort()
227 MmioWrite32 (UartBase + UARTECR, 0); in PL011UartInitializePort()
230 MmioWrite32 (UartBase + UARTCR, in PL011UartInitializePort()
266 IN UINTN UartBase, in PL011UartSetControl() argument
276 Bits = MmioRead32 (UartBase + UARTCR); in PL011UartSetControl()
302 MmioWrite32 (UartBase + UARTCR, Bits); in PL011UartSetControl()
343 IN UINTN UartBase, in PL011UartGetControl() argument
413 IN UINTN UartBase, in PL011UartWrite() argument
443 IN UINTN UartBase, in PL011UartRead() argument
[all …]
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/ArmPlatformPkg/Library/PL011UartLib/
H A DPL011UartLib.c67 IN UINTN UartBase, in PL011UartInitializePort() argument
213 MmioWrite32 (UartBase + UARTCR, 0); in PL011UartInitializePort()
223 MmioWrite32 (UartBase + UARTECR, 0); in PL011UartInitializePort()
226 MmioWrite32 (UartBase + UARTCR, in PL011UartInitializePort()
262 IN UINTN UartBase, in PL011UartSetControl() argument
272 Bits = MmioRead32 (UartBase + UARTCR); in PL011UartSetControl()
298 MmioWrite32 (UartBase + UARTCR, Bits); in PL011UartSetControl()
339 IN UINTN UartBase, in PL011UartGetControl() argument
409 IN UINTN UartBase, in PL011UartWrite() argument
439 IN UINTN UartBase, in PL011UartRead() argument
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/ArmPlatformPkg/Library/PL011UartLib/
H A DPL011UartLib.c67 IN UINTN UartBase, in PL011UartInitializePort() argument
217 MmioWrite32 (UartBase + UARTCR, 0); in PL011UartInitializePort()
227 MmioWrite32 (UartBase + UARTECR, 0); in PL011UartInitializePort()
230 MmioWrite32 (UartBase + UARTCR, in PL011UartInitializePort()
266 IN UINTN UartBase, in PL011UartSetControl() argument
276 Bits = MmioRead32 (UartBase + UARTCR); in PL011UartSetControl()
302 MmioWrite32 (UartBase + UARTCR, Bits); in PL011UartSetControl()
343 IN UINTN UartBase, in PL011UartGetControl() argument
413 IN UINTN UartBase, in PL011UartWrite() argument
443 IN UINTN UartBase, in PL011UartRead() argument
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/ArmPlatformPkg/Library/PL011UartLib/
H A DPL011UartLib.c67 IN UINTN UartBase, in PL011UartInitializePort() argument
213 MmioWrite32 (UartBase + UARTCR, 0); in PL011UartInitializePort()
223 MmioWrite32 (UartBase + UARTECR, 0); in PL011UartInitializePort()
226 MmioWrite32 (UartBase + UARTCR, in PL011UartInitializePort()
262 IN UINTN UartBase, in PL011UartSetControl() argument
272 Bits = MmioRead32 (UartBase + UARTCR); in PL011UartSetControl()
298 MmioWrite32 (UartBase + UARTCR, Bits); in PL011UartSetControl()
339 IN UINTN UartBase, in PL011UartGetControl() argument
409 IN UINTN UartBase, in PL011UartWrite() argument
439 IN UINTN UartBase, in PL011UartRead() argument
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/ArmPlatformPkg/Library/PL011UartLib/
H A DPL011UartLib.c67 IN UINTN UartBase, in PL011UartInitializePort() argument
217 MmioWrite32 (UartBase + UARTCR, 0); in PL011UartInitializePort()
227 MmioWrite32 (UartBase + UARTECR, 0); in PL011UartInitializePort()
230 MmioWrite32 (UartBase + UARTCR, in PL011UartInitializePort()
266 IN UINTN UartBase, in PL011UartSetControl() argument
276 Bits = MmioRead32 (UartBase + UARTCR); in PL011UartSetControl()
302 MmioWrite32 (UartBase + UARTCR, Bits); in PL011UartSetControl()
343 IN UINTN UartBase, in PL011UartGetControl() argument
413 IN UINTN UartBase, in PL011UartWrite() argument
443 IN UINTN UartBase, in PL011UartRead() argument
[all …]
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/ArmPlatformPkg/Library/PL011UartLib/
H A DPL011UartLib.c67 IN UINTN UartBase, in PL011UartInitializePort() argument
213 MmioWrite32 (UartBase + UARTCR, 0); in PL011UartInitializePort()
223 MmioWrite32 (UartBase + UARTECR, 0); in PL011UartInitializePort()
226 MmioWrite32 (UartBase + UARTCR, in PL011UartInitializePort()
262 IN UINTN UartBase, in PL011UartSetControl() argument
272 Bits = MmioRead32 (UartBase + UARTCR); in PL011UartSetControl()
298 MmioWrite32 (UartBase + UARTCR, Bits); in PL011UartSetControl()
339 IN UINTN UartBase, in PL011UartGetControl() argument
409 IN UINTN UartBase, in PL011UartWrite() argument
439 IN UINTN UartBase, in PL011UartRead() argument
[all …]
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/ArmPlatformPkg/Library/PL011UartLib/
H A DPL011UartLib.c67 IN UINTN UartBase, in PL011UartInitializePort() argument
213 MmioWrite32 (UartBase + UARTCR, 0); in PL011UartInitializePort()
223 MmioWrite32 (UartBase + UARTECR, 0); in PL011UartInitializePort()
226 MmioWrite32 (UartBase + UARTCR, in PL011UartInitializePort()
262 IN UINTN UartBase, in PL011UartSetControl() argument
272 Bits = MmioRead32 (UartBase + UARTCR); in PL011UartSetControl()
298 MmioWrite32 (UartBase + UARTCR, Bits); in PL011UartSetControl()
339 IN UINTN UartBase, in PL011UartGetControl() argument
409 IN UINTN UartBase, in PL011UartWrite() argument
439 IN UINTN UartBase, in PL011UartRead() argument
[all …]
/dports/sysutils/edk2/edk2-edk2-stable202102/ArmPlatformPkg/Library/PL011UartLib/
H A DPL011UartLib.c67 IN UINTN UartBase, in PL011UartInitializePort() argument
217 MmioWrite32 (UartBase + UARTCR, 0); in PL011UartInitializePort()
227 MmioWrite32 (UartBase + UARTECR, 0); in PL011UartInitializePort()
230 MmioWrite32 (UartBase + UARTCR, in PL011UartInitializePort()
266 IN UINTN UartBase, in PL011UartSetControl() argument
276 Bits = MmioRead32 (UartBase + UARTCR); in PL011UartSetControl()
302 MmioWrite32 (UartBase + UARTCR, Bits); in PL011UartSetControl()
343 IN UINTN UartBase, in PL011UartGetControl() argument
413 IN UINTN UartBase, in PL011UartWrite() argument
443 IN UINTN UartBase, in PL011UartRead() argument
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/ArmPlatformPkg/Drivers/PL011Uart/
H A DPL011Uart.c34 IN OUT UINTN UartBase, in PL011UartInitializePort() argument
153 MmioWrite32 (UartBase + UARTECR, 0); in PL011UartInitializePort()
175 IN UINTN UartBase, in PL011UartSetControl() argument
193 Bits = MmioRead32 (UartBase + UARTCR); in PL011UartSetControl()
211 MmioWrite32 (UartBase + UARTCR, Bits); in PL011UartSetControl()
229 IN UINTN UartBase, in PL011UartGetControl() argument
306 IN UINTN UartBase, in PL011UartWrite() argument
317 MmioWrite8 (UartBase + UARTDR, *Buffer++); in PL011UartWrite()
336 IN UINTN UartBase, in PL011UartRead() argument
345 *Buffer = MmioRead8 (UartBase + UARTDR); in PL011UartRead()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/ArmPlatformPkg/Include/Library/
H A DPL011UartLib.h51 IN UINTN UartBase,
90 IN UINTN UartBase,
130 IN UINTN UartBase,
147 IN UINTN UartBase,
165 IN UINTN UartBase,
180 IN UINTN UartBase
/dports/emulators/qemu42/qemu-4.2.1/roms/edk2/ArmPlatformPkg/Include/Library/
H A DPL011UartLib.h51 IN UINTN UartBase,
90 IN UINTN UartBase,
130 IN UINTN UartBase,
147 IN UINTN UartBase,
165 IN UINTN UartBase,
180 IN UINTN UartBase
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/ArmPlatformPkg/Include/Library/
H A DPL011UartLib.h51 IN UINTN UartBase,
90 IN UINTN UartBase,
130 IN UINTN UartBase,
147 IN UINTN UartBase,
165 IN UINTN UartBase,
180 IN UINTN UartBase
/dports/emulators/qemu-utils/qemu-4.2.1/roms/edk2/ArmPlatformPkg/Include/Library/
H A DPL011UartLib.h51 IN UINTN UartBase,
90 IN UINTN UartBase,
130 IN UINTN UartBase,
147 IN UINTN UartBase,
165 IN UINTN UartBase,
180 IN UINTN UartBase
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/ArmPlatformPkg/Include/Library/
H A DPL011UartLib.h51 IN UINTN UartBase,
90 IN UINTN UartBase,
130 IN UINTN UartBase,
147 IN UINTN UartBase,
165 IN UINTN UartBase,
180 IN UINTN UartBase
/dports/sysutils/uefi-edk2-qemu/edk2-edk2-stable201911/ArmPlatformPkg/Include/Library/
H A DPL011UartLib.h51 IN UINTN UartBase,
90 IN UINTN UartBase,
130 IN UINTN UartBase,
147 IN UINTN UartBase,
165 IN UINTN UartBase,
180 IN UINTN UartBase
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/ArmPlatformPkg/Include/Library/
H A DPL011UartLib.h51 IN UINTN UartBase,
90 IN UINTN UartBase,
130 IN UINTN UartBase,
147 IN UINTN UartBase,
165 IN UINTN UartBase,
180 IN UINTN UartBase
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/edk2/ArmPlatformPkg/Include/Library/
H A DPL011UartLib.h51 IN UINTN UartBase,
90 IN UINTN UartBase,
130 IN UINTN UartBase,
147 IN UINTN UartBase,
165 IN UINTN UartBase,
180 IN UINTN UartBase
/dports/sysutils/edk2/edk2-edk2-stable202102/ArmPlatformPkg/Include/Library/
H A DPL011UartLib.h51 IN UINTN UartBase, in GetFreeIndexPage()
90 IN UINTN UartBase, in RecordUsedIndexPage()
130 IN UINTN UartBase,
147 IN UINTN UartBase,
165 IN UINTN UartBase,
180 IN UINTN UartBase
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/ArmVirtPkg/Library/Fdt16550SerialPortHookLib/
H A DFdt16550SerialPortHookLib.c39 UINT64 *UartBase; in PlatformHookSerialPortInitialize() local
46 if ((Hob == NULL) || (GET_GUID_HOB_DATA_SIZE (Hob) != sizeof (*UartBase))) { in PlatformHookSerialPortInitialize()
50 UartBase = GET_GUID_HOB_DATA (Hob); in PlatformHookSerialPortInitialize()
51 if ((UINTN)*UartBase == 0) { in PlatformHookSerialPortInitialize()
55 return (RETURN_STATUS)PcdSet64S (PcdSerialRegisterBase, (UINTN)*UartBase); in PlatformHookSerialPortInitialize()
/dports/sysutils/edk2/edk2-edk2-stable202102/ArmVirtPkg/Library/Fdt16550SerialPortHookLib/
H A DFdt16550SerialPortHookLib.c39 UINT64 *UartBase; in PlatformHookSerialPortInitialize() local
46 if ((Hob == NULL) || (GET_GUID_HOB_DATA_SIZE (Hob) != sizeof (*UartBase))) { in PlatformHookSerialPortInitialize()
50 UartBase = GET_GUID_HOB_DATA (Hob); in PlatformHookSerialPortInitialize()
51 if ((UINTN)*UartBase == 0) { in PlatformHookSerialPortInitialize()
55 return (RETURN_STATUS)PcdSet64S (PcdSerialRegisterBase, (UINTN)*UartBase); in PlatformHookSerialPortInitialize()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/ArmPlatformPkg/Include/Drivers/
H A DPL011Uart.h94 IN OUT UINTN UartBase,
116 IN UINTN UartBase,
133 IN UINTN UartBase,
150 IN UINTN UartBase,
168 IN UINTN UartBase,
184 IN UINTN UartBase
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/Omap35xxPkg/Library/SerialPortLib/
H A DSerialPortLib.c59 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in SerialPortWrite()
60 UINT32 THR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_THR_REG; in SerialPortWrite()
89 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in SerialPortRead()
90 UINT32 RBR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_RBR_REG; in SerialPortRead()
116 UINT32 LSR = UartBase(PcdGet32(PcdOmap35xxConsoleUart)) + UART_LSR_REG; in SerialPortPoll()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/BeagleBoardPkg/Library/GdbSerialLib/
H A 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()

123