Home
last modified time | relevance | path

Searched refs:Uart (Results 1 – 25 of 39) sorted by relevance

12

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SerialDxe/
DSerialIo.c28 UART_DEVICE_PATH Uart; member
246 if (mSerialDevicePath.Uart.BaudRate == This->Mode->BaudRate && in SerialReset()
247 mSerialDevicePath.Uart.DataBits == (UINT8) This->Mode->DataBits && in SerialReset()
248 mSerialDevicePath.Uart.Parity == (UINT8) This->Mode->Parity && in SerialReset()
249 mSerialDevicePath.Uart.StopBits == (UINT8) This->Mode->StopBits in SerialReset()
258 mSerialDevicePath.Uart.BaudRate = This->Mode->BaudRate; in SerialReset()
259 mSerialDevicePath.Uart.DataBits = (UINT8) This->Mode->DataBits; in SerialReset()
260 mSerialDevicePath.Uart.Parity = (UINT8) This->Mode->Parity; in SerialReset()
261 mSerialDevicePath.Uart.StopBits = (UINT8) This->Mode->StopBits; in SerialReset()
340 if (mSerialDevicePath.Uart.BaudRate == BaudRate && in SerialSetAttributes()
[all …]
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformBootManagerLib/
DPlatformData.c40 UART_DEVICE_PATH Uart; member
47 UART_DEVICE_PATH Uart; member
245 gPciUartDevicePath0.Uart.BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in InitializePlatformBootManagerLib()
246 gPciUartDevicePath0.Uart.DataBits = PcdGet8 (PcdUartDefaultDataBits); in InitializePlatformBootManagerLib()
247 gPciUartDevicePath0.Uart.Parity = PcdGet8 (PcdUartDefaultParity); in InitializePlatformBootManagerLib()
248 gPciUartDevicePath0.Uart.StopBits = PcdGet8 (PcdUartDefaultStopBits); in InitializePlatformBootManagerLib()
249 gPciUartDevicePath1.Uart.BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in InitializePlatformBootManagerLib()
250 gPciUartDevicePath1.Uart.DataBits = PcdGet8 (PcdUartDefaultDataBits); in InitializePlatformBootManagerLib()
251 gPciUartDevicePath1.Uart.Parity = PcdGet8 (PcdUartDefaultParity); in InitializePlatformBootManagerLib()
252 gPciUartDevicePath1.Uart.StopBits = PcdGet8 (PcdUartDefaultStopBits); in InitializePlatformBootManagerLib()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/
DSerial.c359 UART_DEVICE_PATH *Uart; in SerialControllerDriverSupported() local
368 Uart = SkipControllerDevicePathNode (RemainingDevicePath, NULL, NULL); in SerialControllerDriverSupported()
369 if (DevicePathType (Uart) != MESSAGING_DEVICE_PATH || in SerialControllerDriverSupported()
370 DevicePathSubType (Uart) != MSG_UART_DP || in SerialControllerDriverSupported()
371 DevicePathNodeLength (Uart) != sizeof (UART_DEVICE_PATH) in SerialControllerDriverSupported()
379 …if (!VerifyUartParameters (0, Uart->BaudRate, Uart->DataBits, Uart->Parity, Uart->StopBits, NULL, … in SerialControllerDriverSupported()
383 FlowControl = (UART_FLOW_CONTROL_DEVICE_PATH *) NextDevicePathNode (Uart); in SerialControllerDriverSupported()
425 IN UART_DEVICE_PATH *Uart, in CreateSerialDevice() argument
462 if (Uart != NULL) { in CreateSerialDevice()
463 CopyMem (&SerialDevice->UartDevicePath, Uart, sizeof (UART_DEVICE_PATH)); in CreateSerialDevice()
[all …]
DSerialIo.c640 UART_DEVICE_PATH *Uart; in SerialSetAttributes() local
795 Uart = SkipControllerDevicePathNode ( in SerialSetAttributes()
802 CopyMem (Uart, &SerialDevice->UartDevicePath, sizeof (UART_DEVICE_PATH)); in SerialSetAttributes()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DConsoleOption.c107 UART_DEVICE_PATH *Uart; in ChangeTerminalDevicePath() local
127 Uart = (UART_DEVICE_PATH *) Node; in ChangeTerminalDevicePath()
129 &Uart->BaudRate, in ChangeTerminalDevicePath()
135 &Uart->DataBits, in ChangeTerminalDevicePath()
141 &Uart->Parity, in ChangeTerminalDevicePath()
147 &Uart->StopBits, in ChangeTerminalDevicePath()
236 UART_DEVICE_PATH *Uart; in ChangeVariableDevicePath() local
257 Uart = (UART_DEVICE_PATH *) Node; in ChangeVariableDevicePath()
259 &Uart->BaudRate, in ChangeVariableDevicePath()
265 &Uart->DataBits, in ChangeVariableDevicePath()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerLib/
DConsoleOption.c122 UART_DEVICE_PATH *Uart; in ChangeTerminalDevicePath() local
141 Uart = (UART_DEVICE_PATH *) Node; in ChangeTerminalDevicePath()
143 &Uart->BaudRate, in ChangeTerminalDevicePath()
149 &Uart->DataBits, in ChangeTerminalDevicePath()
155 &Uart->Parity, in ChangeTerminalDevicePath()
161 &Uart->StopBits, in ChangeTerminalDevicePath()
233 UART_DEVICE_PATH *Uart; in ChangeVariableDevicePath() local
254 Uart = (UART_DEVICE_PATH *) Node; in ChangeVariableDevicePath()
256 &Uart->BaudRate, in ChangeVariableDevicePath()
262 &Uart->DataBits, in ChangeVariableDevicePath()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Library/OmapLib/
DOmapLib.c73 IN UINTN Uart in UartBase() argument
76 switch (Uart) { in UartBase()
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/OmapLib/
DOmapLib.c73 IN UINTN Uart in UartBase() argument
76 switch (Uart) { in UartBase()
/device/linaro/bootloader/edk2/BeagleBoardPkg/Sec/
DSec.c76 UINTN Uart = FixedPcdGet32(PcdOmap35xxConsoleUart); in UartInit() local
77 UINT32 UartBaseAddress = UartBase(Uart); in UartInit()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/TexasInstruments/BeagleBoard/Sec/
DSec.c76 UINTN Uart = FixedPcdGet32(PcdOmap35xxConsoleUart); in UartInit() local
77 UINT32 UartBaseAddress = UartBase(Uart); in UartInit()
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/
DFtdiUsbSerialDriver.c854 UART_DEVICE_PATH *Uart; in SetAttributesInternal() local
859 Uart = NULL; in SetAttributesInternal()
953 Uart = (UART_DEVICE_PATH *) NextDevicePathNode (RemainingDevicePath); in SetAttributesInternal()
954 if (Uart->Header.Type == MESSAGING_DEVICE_PATH && in SetAttributesInternal()
955 Uart->Header.SubType == MSG_UART_DP && in SetAttributesInternal()
956 sizeof (UART_DEVICE_PATH) == DevicePathNodeLength ((EFI_DEVICE_PATH *) Uart)) { in SetAttributesInternal()
957 Uart->BaudRate = BaudRate; in SetAttributesInternal()
958 Uart->DataBits = DataBits; in SetAttributesInternal()
959 Uart->StopBits = (UINT8)StopBits; in SetAttributesInternal()
960 Uart->Parity = (UINT8) Parity; in SetAttributesInternal()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Chips/TexasInstruments/Omap35xx/Include/Library/
DOmapLib.h39 IN UINTN Uart
/device/linaro/bootloader/edk2/Omap35xxPkg/Include/Library/
DOmapLib.h39 IN UINTN Uart
/device/linaro/bootloader/edk2/OvmfPkg/Library/PlatformBdsLib/
DBdsPlatform.h177 UART_DEVICE_PATH Uart; member
192 UART_DEVICE_PATH Uart; member
/device/linaro/bootloader/edk2/DuetPkg/Library/DuetBdsLib/
DBdsPlatform.h183 UART_DEVICE_PATH Uart; member
198 UART_DEVICE_PATH Uart; member
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSerialIoDxe/
DWinNtSerialIo.c391 UART_DEVICE_PATH *Uart; in WinNtSerialIoDriverBindingStart() local
471 Uart = (UART_DEVICE_PATH *) RemainingDevicePath; in WinNtSerialIoDriverBindingStart()
474 Uart->BaudRate, in WinNtSerialIoDriverBindingStart()
477 (EFI_PARITY_TYPE) Uart->Parity, in WinNtSerialIoDriverBindingStart()
478 Uart->DataBits, in WinNtSerialIoDriverBindingStart()
479 (EFI_STOP_BITS_TYPE) Uart->StopBits in WinNtSerialIoDriverBindingStart()
481 FlowControl = (UART_FLOW_CONTROL_DEVICE_PATH *) NextDevicePathNode (Uart); in WinNtSerialIoDriverBindingStart()
943 UART_DEVICE_PATH *Uart; in WinNtSerialIoSetAttributes() local
1130 Uart = (UART_DEVICE_PATH *) ( in WinNtSerialIoSetAttributes()
1135 CopyMem (Uart, &Private->UartDevicePath, sizeof (UART_DEVICE_PATH)); in WinNtSerialIoSetAttributes()
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PlatformBootManagerLib/
DPlatformBootManager.h71 UART_DEVICE_PATH Uart; member
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/
DSerial.c409 UART_DEVICE_PATH *Uart; in SerialControllerDriverStart() local
489 Uart = (UART_DEVICE_PATH *) RemainingDevicePath; in SerialControllerDriverStart()
492 Uart->BaudRate, in SerialControllerDriverStart()
495 (EFI_PARITY_TYPE) Uart->Parity, in SerialControllerDriverStart()
496 Uart->DataBits, in SerialControllerDriverStart()
497 (EFI_STOP_BITS_TYPE) Uart->StopBits in SerialControllerDriverStart()
500 FlowControl = (UART_FLOW_CONTROL_DEVICE_PATH *) NextDevicePathNode (Uart); in SerialControllerDriverStart()
1277 UART_DEVICE_PATH *Uart; in IsaSerialSetAttributes() local
1518 Uart = (UART_DEVICE_PATH *) ( in IsaSerialSetAttributes()
1523 CopyMem (Uart, &SerialDevice->UartDevicePath, sizeof (UART_DEVICE_PATH)); in IsaSerialSetAttributes()
/device/linaro/bootloader/edk2/MdePkg/Library/UefiDevicePathLib/
DDevicePathFromText.c2122 UART_DEVICE_PATH *Uart; in DevPathFromTextUart() local
2128 Uart = (UART_DEVICE_PATH *) CreateDeviceNode ( in DevPathFromTextUart()
2135 Uart->BaudRate = 115200; in DevPathFromTextUart()
2137 Strtoi64 (BaudStr, &Uart->BaudRate); in DevPathFromTextUart()
2139 Uart->DataBits = (UINT8) ((StrCmp (DataBitsStr, L"DEFAULT") == 0) ? 8 : Strtoi (DataBitsStr)); in DevPathFromTextUart()
2142 Uart->Parity = 0; in DevPathFromTextUart()
2146 Uart->Parity = 1; in DevPathFromTextUart()
2150 Uart->Parity = 2; in DevPathFromTextUart()
2154 Uart->Parity = 3; in DevPathFromTextUart()
2158 Uart->Parity = 4; in DevPathFromTextUart()
[all …]
DDevicePathToText.c1415 UART_DEVICE_PATH *Uart; in DevPathToTextUart() local
1418 Uart = DevPath; in DevPathToTextUart()
1419 switch (Uart->Parity) { in DevPathToTextUart()
1449 if (Uart->BaudRate == 0) { in DevPathToTextUart()
1452 UefiDevicePathLibCatPrint (Str, L"Uart(%ld,", Uart->BaudRate); in DevPathToTextUart()
1455 if (Uart->DataBits == 0) { in DevPathToTextUart()
1458 UefiDevicePathLibCatPrint (Str, L"%d,", Uart->DataBits); in DevPathToTextUart()
1463 switch (Uart->StopBits) { in DevPathToTextUart()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/
DConsistMapping.c559 UART_DEVICE_PATH *Uart; in DevPathSerialUart() local
564 Uart = (UART_DEVICE_PATH *) DevicePathNode; in DevPathSerialUart()
565 AppendCSDNum (MappingItem, Uart->BaudRate); in DevPathSerialUart()
566 AppendCSDNum (MappingItem, Uart->DataBits); in DevPathSerialUart()
567 AppendCSDNum (MappingItem, Uart->Parity); in DevPathSerialUart()
568 AppendCSDNum (MappingItem, Uart->StopBits); in DevPathSerialUart()
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/
DArmVExpress-CTA15-A7.dsc181 …eGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcA…
183 …eGuid.PcdDefaultConOutPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcA…
184 …ceGuid.PcdDefaultConInPaths|L"VenHw(D3987D4B-971A-435F-8CAF-4967EB627241)/Uart(38400,8,N,1)/VenPcA…
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/
DEfiDevicePath.h510 UART_DEVICE_PATH Uart; member
558 UART_DEVICE_PATH *Uart; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DDevicePath.h1232 UART_DEVICE_PATH Uart; member
1288 UART_DEVICE_PATH *Uart; member
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/PlatformBdsLib/
DBdsPlatform.h249 UART_DEVICE_PATH Uart;

12