Home
last modified time | relevance | path

Searched refs:BaudRate (Results 1 – 25 of 55) sorted by relevance

123

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/
DSerial.c169 gSerialDevTempate.SerialMode.BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in InitializeIsaSerial()
173 gSerialDevTempate.UartDevicePath.BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in InitializeIsaSerial()
234 if (UartNode->BaudRate > SERIAL_PORT_MAX_BAUD_RATE) { in SerialControllerDriverSupported()
492 Uart->BaudRate, in SerialControllerDriverStart()
632 SerialDevice->SerialMode.BaudRate = SerialDevice->UartDevicePath.BaudRate; in SerialControllerDriverStart()
1186 This->Mode->BaudRate, in IsaSerialReset()
1264 IN UINT64 BaudRate, in IsaSerialSetAttributes() argument
1285 if (BaudRate == 0) { in IsaSerialSetAttributes()
1286 BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in IsaSerialSetAttributes()
1318 if ((BaudRate > SERIAL_PORT_MAX_BAUD_RATE) || (BaudRate < SERIAL_PORT_MIN_BAUD_RATE)) { in IsaSerialSetAttributes()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SerialDxe/
DSerialIo.c77 IN UINT64 BaudRate,
238 This->Mode->BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in SerialReset()
246 if (mSerialDevicePath.Uart.BaudRate == This->Mode->BaudRate && in SerialReset()
258 mSerialDevicePath.Uart.BaudRate = This->Mode->BaudRate; in SerialReset()
305 IN UINT64 BaudRate, in SerialSetAttributes() argument
316 …Status = SerialPortSetAttributes (&BaudRate, &ReceiveFifoDepth, &Timeout, &Parity, &DataBits, &Sto… in SerialSetAttributes()
332 This->Mode->BaudRate = BaudRate; in SerialSetAttributes()
340 if (mSerialDevicePath.Uart.BaudRate == BaudRate && in SerialSetAttributes()
352 mSerialDevicePath.Uart.BaudRate = BaudRate; in SerialSetAttributes()
504 mSerialIoMode.BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in SerialDxeInitialize()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Library/PL011SerialPortLib/
DPL011SerialPortLib.c40 UINT64 BaudRate; in SerialPortInitialize() local
46 BaudRate = (UINTN)PcdGet64 (PcdUartDefaultBaudRate); in SerialPortInitialize()
54 &BaudRate, &ReceiveFifoDepth, &Parity, &DataBits, &StopBits); in SerialPortInitialize()
139 IN OUT UINT64 *BaudRate, in SerialPortSetAttributes() argument
149 BaudRate, in SerialPortSetAttributes()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/GdbSerialLib/
DGdbSerialLib.c71 UINT64 BaudRate; in GdbSerialLibConstructor() local
78 BaudRate = PcdGet64 (PcdGdbBaudRate); in GdbSerialLibConstructor()
83 return GdbSerialInit (BaudRate, Parity, DataBits, StopBits); in GdbSerialLibConstructor()
110 IN UINT64 BaudRate, in GdbSerialInit() argument
133 Divisor = 115200/(UINTN)BaudRate; in GdbSerialInit()
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/FdtPL011SerialPortLib/
DFdtPL011SerialPortLib.c60 UINT64 BaudRate; in FdtPL011SerialPortLibInitialize() local
77 BaudRate = (UINTN)PcdGet64 (PcdUartDefaultBaudRate); in FdtPL011SerialPortLibInitialize()
84 mSerialBaseAddress, &BaudRate, &ReceiveFifoDepth, in FdtPL011SerialPortLibInitialize()
189 IN OUT UINT64 *BaudRate, in SerialPortSetAttributes() argument
DEarlyFdtPL011SerialPortLib.c60 UINT64 BaudRate; in SerialPortGetBaseAddress() local
107 BaudRate = (UINTN)FixedPcdGet64 (PcdUartDefaultBaudRate); in SerialPortGetBaseAddress()
115 &BaudRate, &ReceiveFifoDepth, &Parity, &DataBits, &StopBits); in SerialPortGetBaseAddress()
261 IN OUT UINT64 *BaudRate, in SerialPortSetAttributes() argument
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/
DSerialIo.c75 IN UINT64 BaudRate, in VerifyUartParameters() argument
109 ComputedDivisor = DivU64x64Remainder (ClockRate, LShiftU64 (BaudRate, 4), &Remainder); in VerifyUartParameters()
114 if (Remainder >= LShiftU64 (BaudRate, 3)) { in VerifyUartParameters()
142 Percent = DivU64x32 (MultU64x32 (BaudRate, 100), ComputedBaudRate); in VerifyUartParameters()
145 DEBUG ((EFI_D_INFO, "BaudRate/Actual (%ld/%d) = %d%%\n", BaudRate, ComputedBaudRate, Percent)); in VerifyUartParameters()
154 *ActualBaudRate = BaudRate; in VerifyUartParameters()
161 if (ComputedBaudRate < BaudRate) { in VerifyUartParameters()
187 DEBUG ((EFI_D_INFO, "BaudRate/Actual (%ld/%d) = %d%%\n", BaudRate, ComputedBaudRate, Percent)); in VerifyUartParameters()
562 This->Mode->BaudRate, in SerialReset()
628 IN UINT64 BaudRate, in SerialSetAttributes() argument
[all …]
DSerial.c149 gSerialDevTemplate.SerialMode.BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in InitializePciSioSerial()
153 gSerialDevTemplate.UartDevicePath.BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in InitializePciSioSerial()
379 …if (!VerifyUartParameters (0, Uart->BaudRate, Uart->DataBits, Uart->Parity, Uart->StopBits, NULL, … in SerialControllerDriverSupported()
496 …if (!VerifyUartParameters (SerialDevice->ClockRate, SerialDevice->UartDevicePath.BaudRate, SerialD… in CreateSerialDevice()
629 SerialDevice->SerialMode.BaudRate = SerialDevice->UartDevicePath.BaudRate; in CreateSerialDevice()
883 if (VerifyUartParameters (SerialDevices[Index]->ClockRate, Uart->BaudRate, Uart->DataBits, in SerialControllerDriverStart()
887 Uart->BaudRate, in SerialControllerDriverStart()
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/
DFtdiUsbSerialDriver.c432 IN UINT64 BaudRate, in EncodeBaudRateForFtdi() argument
443 if ((BaudRate < 178) || ( BaudRate > ((FTDI_UART_FREQUENCY * 100) / 97))) { in EncodeBaudRateForFtdi()
450 if ((BaudRate >= FTDI_SPECIAL_CASE_300_MIN) && (BaudRate <= FTDI_SPECIAL_CASE_300_MAX)) { in EncodeBaudRateForFtdi()
454 if ((BaudRate >= FTDI_SPECIAL_CASE_200_MIN) && (BaudRate <= FTDI_SPECIAL_CASE_200_MAX)) { in EncodeBaudRateForFtdi()
462 Divisor = (FTDI_UART_FREQUENCY << 4) / (UINT32)BaudRate; in EncodeBaudRateForFtdi()
487 AdjustedFrequency = (((UINT32)BaudRate) * Divisor); in EncodeBaudRateForFtdi()
735 IN UINT64 BaudRate, in SetBaudRateInternal() argument
752 if (BaudRate == 0) { in SetBaudRateInternal()
764 Status = EncodeBaudRateForFtdi (BaudRate, &EncodedBaudRate); in SetBaudRateInternal()
844 IN UINT64 BaudRate, in SetAttributesInternal() argument
[all …]
DFtdiUsbSerialDriver.h218 UINT64 BaudRate; member
456 IN UINT64 BaudRate,
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSerialIoDxe/
DWinNtSerialIo.c201 if ( UartNode->BaudRate > SERIAL_PORT_MAX_BAUD_RATE) { in WinNtSerialIoDriverBindingSupported()
474 Uart->BaudRate, in WinNtSerialIoDriverBindingStart()
650 Private->SerialIoMode.BaudRate = Private->UartDevicePath.BaudRate; in WinNtSerialIoDriverBindingStart()
887 This->Mode->BaudRate, in WinNtSerialIoReset()
900 IN UINT64 BaudRate, in WinNtSerialIoSetAttributes() argument
952 if (BaudRate == 0) { in WinNtSerialIoSetAttributes()
953 BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in WinNtSerialIoSetAttributes()
979 if ((BaudRate > SERIAL_PORT_MAX_BAUD_RATE) || (BaudRate < SERIAL_PORT_MIN_BAUD_RATE)) { in WinNtSerialIoSetAttributes()
988 if (BaudRate < mBaudRateCurrentSupport[Index]) { in WinNtSerialIoSetAttributes()
989 BaudRate = mBaudRateCurrentSupport[Index-1]; in WinNtSerialIoSetAttributes()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL011Uart/
DPL011Uart.c41 IN OUT UINT64 *BaudRate, in PL011UartInitializePort() argument
148 if (*BaudRate == 0) { in PL011UartInitializePort()
149 *BaudRate = PcdGet32 (PcdSerialBaudRate); in PL011UartInitializePort()
150 ASSERT (*BaudRate != 0); in PL011UartInitializePort()
153 Divisor = (PcdGet32 (PL011UartClkInHz) * 4) / *BaudRate; in PL011UartInitializePort()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/
DConsoleOption.c129 &Uart->BaudRate, in ChangeTerminalDevicePath()
130 &NewTerminalContext->BaudRate, in ChangeTerminalDevicePath()
178 &Uart1->BaudRate, in ChangeTerminalDevicePath()
179 &NewTerminalContext->BaudRate, in ChangeTerminalDevicePath()
259 &Uart->BaudRate, in ChangeVariableDevicePath()
260 &NewTerminalContext->BaudRate, in ChangeVariableDevicePath()
505 &NewTerminalContext->BaudRate, in LocateSerialIo()
506 &SerialIo->Mode->BaudRate, in LocateSerialIo()
657 &NewTerminalContext->BaudRate, in UpdateComAttributeFromVariable()
658 &Uart->BaudRate, in UpdateComAttributeFromVariable()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootMaintenanceManagerLib/
DConsoleOption.c143 &Uart->BaudRate, in ChangeTerminalDevicePath()
144 &NewTerminalContext->BaudRate, in ChangeTerminalDevicePath()
175 &Uart1->BaudRate, in ChangeTerminalDevicePath()
176 &NewTerminalContext->BaudRate, in ChangeTerminalDevicePath()
256 &Uart->BaudRate, in ChangeVariableDevicePath()
257 &NewTerminalContext->BaudRate, in ChangeVariableDevicePath()
506 &NewTerminalContext->BaudRate, in LocateSerialIo()
507 &SerialIo->Mode->BaudRate, in LocateSerialIo()
652 &NewTerminalContext->BaudRate, in UpdateComAttributeFromVariable()
653 &Uart->BaudRate, in UpdateComAttributeFromVariable()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/
DSerMode.c136 SerialIo->Mode->BaudRate, in DisplaySettings()
183 UINTN BaudRate; in ShellCommandRunSerMode() local
232 BaudRate = ShellStrToUintn(Temp); in ShellCommandRunSerMode()
235 BaudRate = 0; in ShellCommandRunSerMode()
332 (UINT64) BaudRate, in ShellCommandRunSerMode()
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/SerialIoLib/
DSerialPortLib.c383 IN OUT UINT64 *BaudRate, in SerialPortSetAttributes() argument
400 if (*BaudRate == 0) { in SerialPortSetAttributes()
401 *BaudRate = gBps; in SerialPortSetAttributes()
467 Divisor = 115200 / (UINTN) *BaudRate; in SerialPortSetAttributes()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/SerialIo/
DSerialIo.h107 IN UINT64 BaudRate,
273 UINT64 BaudRate; member
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DSerialIo.h136 IN UINT64 BaudRate,
263 UINT64 BaudRate; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugPortDxe/
DDebugPort.c83 &mDebugPortDevice.BaudRate, in GetDebugPortVariable()
84 &((UART_DEVICE_PATH *) DevicePath)->BaudRate, in GetDebugPortVariable()
85 sizeof (((UART_DEVICE_PATH *) DevicePath)->BaudRate) in GetDebugPortVariable()
300 mDebugPortDevice.BaudRate, in DebugPortStart()
308 mDebugPortDevice.BaudRate = 0; in DebugPortStart()
315 mDebugPortDevice.BaudRate, in DebugPortStart()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Library/PlatformBootManagerLib/
DPlatformData.c245 gPciUartDevicePath0.Uart.BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in InitializePlatformBootManagerLib()
249 gPciUartDevicePath1.Uart.BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in InitializePlatformBootManagerLib()
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/Library/
DGdbSerialLib.h43 IN UINT64 BaudRate,
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/
DSerialPortConsoleRedirectionTable.h43 UINT8 BaudRate; member
/device/linaro/bootloader/edk2/MdePkg/Include/Library/
DSerialPortLib.h172 IN OUT UINT64 *BaudRate,
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSerialPortLibNull/
DBaseSerialPortLibNull.c187 IN OUT UINT64 *BaudRate, in SerialPortSetAttributes() argument
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/
DDxeEmuSerialPortLib.c197 IN OUT UINT64 *BaudRate, in SerialPortSetAttributes() argument

123