Home
last modified time | relevance | path

Searched refs:StopBits (Results 1 – 25 of 64) sorted by relevance

123

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SerialDxe/
DSerialIo.c82 IN EFI_STOP_BITS_TYPE StopBits
244 This->Mode->StopBits = (UINT32) PcdGet8 (PcdUartDefaultStopBits); in SerialReset()
252 mSerialDevicePath.Uart.StopBits == (UINT8) This->Mode->StopBits in SerialReset()
264 mSerialDevicePath.Uart.StopBits = (UINT8) This->Mode->StopBits; in SerialReset()
313 IN EFI_STOP_BITS_TYPE StopBits in SerialSetAttributes() argument
319 … = SerialPortSetAttributes (&BaudRate, &ReceiveFifoDepth, &Timeout, &Parity, &DataBits, &StopBits); in SerialSetAttributes()
338 This->Mode->StopBits = (UINT32) StopBits; in SerialSetAttributes()
346 mSerialDevicePath.Uart.StopBits == (UINT8) StopBits in SerialSetAttributes()
358 mSerialDevicePath.Uart.StopBits = (UINT8) StopBits; in SerialSetAttributes()
510 mSerialIoMode.StopBits = (UINT32) PcdGet8 (PcdUartDefaultStopBits); in SerialDxeInitialize()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DSerMode.c42 CHAR16 *StopBits; in DisplaySettings() local
47 StopBits = NULL; in DisplaySettings()
102 switch (SerialIo->Mode->StopBits) { in DisplaySettings()
105 StopBits = L"Default"; in DisplaySettings()
110 StopBits = L"1"; in DisplaySettings()
115 StopBits = L"2"; in DisplaySettings()
120 StopBits = L"1.5"; in DisplaySettings()
125 StopBits = L"Unknown"; in DisplaySettings()
138 StopBits in DisplaySettings()
180 EFI_STOP_BITS_TYPE StopBits; in ShellCommandRunSerMode() local
[all …]
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbSerialLib/
DGdbSerialLib.c74 UINT8 StopBits; in GdbSerialLibConstructor() local
81 StopBits = PcdGet8 (PcdGdbStopBits); in GdbSerialLibConstructor()
83 return GdbSerialInit (BaudRate, Parity, DataBits, StopBits); in GdbSerialLibConstructor()
113 IN UINT8 StopBits in GdbSerialInit() argument
138 …OutputData = (UINT8)((DLAB << 7) | ((BreakSet << 6) | ((Parity << 3) | ((StopBits << 2) | Data)))); in GdbSerialInit()
151 OutputData = (UINT8)((~DLAB<<7)|((BreakSet<<6)|((Parity<<3)|((StopBits<<2)| Data)))); in GdbSerialInit()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/PL011SerialPortLib/
DPL011SerialPortLib.c42 EFI_STOP_BITS_TYPE StopBits; in SerialPortInitialize() local
48 StopBits = (EFI_STOP_BITS_TYPE) FixedPcdGet8 (PcdUartDefaultStopBits); in SerialPortInitialize()
57 &StopBits in SerialPortInitialize()
155 IN OUT EFI_STOP_BITS_TYPE *StopBits in SerialPortSetAttributes() argument
165 StopBits in SerialPortSetAttributes()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/FdtPL011SerialPortLib/
DFdtPL011SerialPortLib.c64 EFI_STOP_BITS_TYPE StopBits; in FdtPL011SerialPortLibInitialize() local
81 StopBits = (EFI_STOP_BITS_TYPE) PcdGet8 (PcdUartDefaultStopBits); in FdtPL011SerialPortLibInitialize()
90 &StopBits in FdtPL011SerialPortLibInitialize()
200 IN OUT EFI_STOP_BITS_TYPE *StopBits in SerialPortSetAttributes() argument
DEarlyFdtPL011SerialPortLib.c64 EFI_STOP_BITS_TYPE StopBits; in SerialPortGetBaseAddress() local
111 StopBits = (EFI_STOP_BITS_TYPE) FixedPcdGet8 (PcdUartDefaultStopBits); in SerialPortGetBaseAddress()
120 &StopBits in SerialPortGetBaseAddress()
272 IN OUT EFI_STOP_BITS_TYPE *StopBits in SerialPortSetAttributes() argument
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/
DFtdiUsbSerialDriver.c601 IN EFI_STOP_BITS_TYPE StopBits, in SetDataInternal() argument
614 if ((DataBits == 0) && (StopBits == OneFiveStopBits)) { in SetDataInternal()
618 …} else if ((StopBits == DefaultStopBits) && ((DataBits == 6) || (DataBits == 7) || (DataBits == 8)… in SetDataInternal()
619 if (LastSettings->StopBits == OneFiveStopBits) { in SetDataInternal()
622 } else if ((DataBits == 0) && (StopBits == DefaultStopBits)) { in SetDataInternal()
623 if (LastSettings->StopBits == OneFiveStopBits) { in SetDataInternal()
672 if (StopBits == DefaultStopBits) { in SetDataInternal()
673 StopBits = LastSettings->StopBits; in SetDataInternal()
676 if (StopBits == OneStopBit) { in SetDataInternal()
678 } else if (StopBits == OneFiveStopBits) { in SetDataInternal()
[all …]
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSerialIoDxe/
DWinNtSerialIo.c210 if (UartNode->StopBits < OneStopBit || UartNode->StopBits > TwoStopBits) { in WinNtSerialIoDriverBindingSupported()
213 if ((UartNode->DataBits == 5) && (UartNode->StopBits == TwoStopBits)) { in WinNtSerialIoDriverBindingSupported()
216 …if ((UartNode->DataBits >= 6) && (UartNode->DataBits <= 8) && (UartNode->StopBits == OneFiveStopBi… in WinNtSerialIoDriverBindingSupported()
479 (EFI_STOP_BITS_TYPE) Uart->StopBits in WinNtSerialIoDriverBindingStart()
654 Private->SerialIoMode.StopBits = Private->UartDevicePath.StopBits; in WinNtSerialIoDriverBindingStart()
892 (EFI_STOP_BITS_TYPE)This->Mode->StopBits in WinNtSerialIoReset()
905 IN EFI_STOP_BITS_TYPE StopBits in WinNtSerialIoSetAttributes() argument
972 if (StopBits == DefaultStopBits) { in WinNtSerialIoSetAttributes()
973 StopBits = (EFI_STOP_BITS_TYPE) PcdGet8 (PcdUartDefaultStopBits); in WinNtSerialIoSetAttributes()
1006 if ((StopBits < OneStopBit) || (StopBits > TwoStopBits)) { in WinNtSerialIoSetAttributes()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/Library/HiKey960Lib/
DHiKey960.c116 EFI_STOP_BITS_TYPE StopBits; in ArmPlatformInitialize() local
127 StopBits = (EFI_STOP_BITS_TYPE)FixedPcdGet8 (PcdUartDefaultStopBits); in ArmPlatformInitialize()
137 &StopBits in ArmPlatformInitialize()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/
DSerialIo.c78 IN EFI_STOP_BITS_TYPE StopBits, in VerifyUartParameters() argument
90 (StopBits < OneStopBit) || (StopBits > TwoStopBits) || in VerifyUartParameters()
91 ((DataBits == 5) && (StopBits == TwoStopBits)) || in VerifyUartParameters()
92 ((DataBits >= 6) && (DataBits <= 8) && (StopBits == OneFiveStopBits)) in VerifyUartParameters()
544 (EFI_STOP_BITS_TYPE) This->Mode->StopBits in SerialReset()
610 IN EFI_STOP_BITS_TYPE StopBits in SerialSetAttributes() argument
645 if (StopBits == DefaultStopBits) { in SerialSetAttributes()
646 StopBits = (EFI_STOP_BITS_TYPE) PcdGet8 (PcdUartDefaultStopBits); in SerialSetAttributes()
649 …if (!VerifyUartParameters (SerialDevice->ClockRate, BaudRate, DataBits, Parity, StopBits, &Divisor… in SerialSetAttributes()
716 switch (StopBits) { in SerialSetAttributes()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/
DSerial.c172 gSerialDevTempate.SerialMode.StopBits = PcdGet8 (PcdUartDefaultStopBits); in InitializeIsaSerial()
176 gSerialDevTempate.UartDevicePath.StopBits = PcdGet8 (PcdUartDefaultStopBits); in InitializeIsaSerial()
246 if (UartNode->StopBits < OneStopBit || UartNode->StopBits > TwoStopBits) { in SerialControllerDriverSupported()
250 if ((UartNode->DataBits == 5) && (UartNode->StopBits == TwoStopBits)) { in SerialControllerDriverSupported()
254 …if ((UartNode->DataBits >= 6) && (UartNode->DataBits <= 8) && (UartNode->StopBits == OneFiveStopBi… in SerialControllerDriverSupported()
497 (EFI_STOP_BITS_TYPE) Uart->StopBits in SerialControllerDriverStart()
635 SerialDevice->SerialMode.StopBits = SerialDevice->UartDevicePath.StopBits; in SerialControllerDriverStart()
1191 (EFI_STOP_BITS_TYPE) This->Mode->StopBits in IsaSerialReset()
1269 IN EFI_STOP_BITS_TYPE StopBits in IsaSerialSetAttributes() argument
1305 if (StopBits == DefaultStopBits) { in IsaSerialSetAttributes()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmJunoPkg/Library/ArmJunoLib/
DArmJuno.c122 EFI_STOP_BITS_TYPE StopBits; in ArmPlatformInitialize() local
133 StopBits = (EFI_STOP_BITS_TYPE)FixedPcdGet8 (PcdUartDefaultStopBits); in ArmPlatformInitialize()
143 &StopBits in ArmPlatformInitialize()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerUiLib/
DConsoleOption.c161 &Uart->StopBits, in ChangeTerminalDevicePath()
162 &NewTerminalContext->StopBits, in ChangeTerminalDevicePath()
193 &Uart1->StopBits, in ChangeTerminalDevicePath()
194 &NewTerminalContext->StopBits, in ChangeTerminalDevicePath()
274 &Uart->StopBits, in ChangeVariableDevicePath()
275 &NewTerminalContext->StopBits, in ChangeVariableDevicePath()
524 &NewTerminalContext->StopBits, in LocateSerialIo()
525 &SerialIo->Mode->StopBits, in LocateSerialIo()
670 &NewTerminalContext->StopBits, in UpdateComAttributeFromVariable()
671 &Uart->StopBits, in UpdateComAttributeFromVariable()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DConsoleOption.c147 &Uart->StopBits, in ChangeTerminalDevicePath()
148 &NewTerminalContext->StopBits, in ChangeTerminalDevicePath()
196 &Uart1->StopBits, in ChangeTerminalDevicePath()
197 &NewTerminalContext->StopBits, in ChangeTerminalDevicePath()
277 &Uart->StopBits, in ChangeVariableDevicePath()
278 &NewTerminalContext->StopBits, in ChangeVariableDevicePath()
523 &NewTerminalContext->StopBits, in LocateSerialIo()
524 &SerialIo->Mode->StopBits, in LocateSerialIo()
675 &NewTerminalContext->StopBits, in UpdateComAttributeFromVariable()
676 &Uart->StopBits, in UpdateComAttributeFromVariable()
[all …]
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/SerialIoLib/
DSerialPortLib.c388 IN OUT EFI_STOP_BITS_TYPE *StopBits in SerialPortSetAttributes() argument
412 if (*StopBits == DefaultStopBits) { in SerialPortSetAttributes()
413 *StopBits = OneStopBit; in SerialPortSetAttributes()
450 switch (*StopBits) { in SerialPortSetAttributes()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/SerialIo/
DSerialIo.h112 IN EFI_STOP_BITS_TYPE StopBits
277 UINT32 StopBits; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DSerialIo.h141 IN EFI_STOP_BITS_TYPE StopBits
267 UINT32 StopBits; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugPortDxe/
DDebugPort.c100 &mDebugPortDevice.StopBits, in GetDebugPortVariable()
101 &((UART_DEVICE_PATH *) DevicePath)->StopBits, in GetDebugPortVariable()
102 sizeof (((UART_DEVICE_PATH *) DevicePath)->StopBits) in GetDebugPortVariable()
305 mDebugPortDevice.StopBits in DebugPortStart()
311 mDebugPortDevice.StopBits = DefaultStopBits; in DebugPortStart()
320 mDebugPortDevice.StopBits in DebugPortStart()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL011Uart/
DPL011Uart.c75 IN OUT EFI_STOP_BITS_TYPE *StopBits in PL011UartInitializePort() argument
153 switch (*StopBits) { in PL011UartInitializePort()
155 *StopBits = OneStopBit; in PL011UartInitializePort()
/device/linaro/bootloader/edk2/CorebootModulePkg/Library/BaseSerialPortLib16550/
DBaseSerialPortLib16550.c946 IN OUT EFI_STOP_BITS_TYPE *StopBits in SerialPortSetAttributes() argument
1036 if (*StopBits == DefaultStopBits) { in SerialPortSetAttributes()
1040 *StopBits = OneStopBit; in SerialPortSetAttributes()
1045 *StopBits = OneFiveStopBits; in SerialPortSetAttributes()
1047 *StopBits = TwoStopBits; in SerialPortSetAttributes()
1055 switch (*StopBits) { in SerialPortSetAttributes()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSerialPortLib16550/
DBaseSerialPortLib16550.c945 IN OUT EFI_STOP_BITS_TYPE *StopBits in SerialPortSetAttributes() argument
1035 if (*StopBits == DefaultStopBits) { in SerialPortSetAttributes()
1039 *StopBits = OneStopBit; in SerialPortSetAttributes()
1044 *StopBits = OneFiveStopBits; in SerialPortSetAttributes()
1046 *StopBits = TwoStopBits; in SerialPortSetAttributes()
1054 switch (*StopBits) { in SerialPortSetAttributes()
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/Library/
DGdbSerialLib.h46 IN UINT8 StopBits
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformBootManagerLib/
DPlatformData.c248 gPciUartDevicePath0.Uart.StopBits = PcdGet8 (PcdUartDefaultStopBits); in InitializePlatformBootManagerLib()
252 gPciUartDevicePath1.Uart.StopBits = PcdGet8 (PcdUartDefaultStopBits); in InitializePlatformBootManagerLib()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Binary/AmdModulePkg/Common/
DUartLineSettings.h94 UART_STOP_BITS StopBits; ///< UART Stop Bits member
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DSerialPortLib.h177 IN OUT EFI_STOP_BITS_TYPE *StopBits

123