/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/ |
D | Serial.c | 169 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/ |
D | SerialIo.c | 77 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/ |
D | PL011SerialPortLib.c | 40 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/ |
D | GdbSerialLib.c | 71 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/ |
D | FdtPL011SerialPortLib.c | 60 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
|
D | EarlyFdtPL011SerialPortLib.c | 60 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/ |
D | SerialIo.c | 75 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 …]
|
D | Serial.c | 149 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/ |
D | FtdiUsbSerialDriver.c | 432 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 …]
|
D | FtdiUsbSerialDriver.h | 218 UINT64 BaudRate; member 456 IN UINT64 BaudRate,
|
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSerialIoDxe/ |
D | WinNtSerialIo.c | 201 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/ |
D | PL011Uart.c | 41 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/ |
D | ConsoleOption.c | 129 &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/ |
D | ConsoleOption.c | 143 &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/ |
D | SerMode.c | 136 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/ |
D | SerialPortLib.c | 383 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/ |
D | SerialIo.h | 107 IN UINT64 BaudRate, 273 UINT64 BaudRate; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | SerialIo.h | 136 IN UINT64 BaudRate, 263 UINT64 BaudRate; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DebugPortDxe/ |
D | DebugPort.c | 83 &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/ |
D | PlatformData.c | 245 gPciUartDevicePath0.Uart.BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in InitializePlatformBootManagerLib() 249 gPciUartDevicePath1.Uart.BaudRate = PcdGet64 (PcdUartDefaultBaudRate); in InitializePlatformBootManagerLib()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Include/Library/ |
D | GdbSerialLib.h | 43 IN UINT64 BaudRate,
|
/device/linaro/bootloader/edk2/MdePkg/Include/IndustryStandard/ |
D | SerialPortConsoleRedirectionTable.h | 43 UINT8 BaudRate; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
D | SerialPortLib.h | 172 IN OUT UINT64 *BaudRate,
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseSerialPortLibNull/ |
D | BaseSerialPortLibNull.c | 187 IN OUT UINT64 *BaudRate, in SerialPortSetAttributes() argument
|
/device/linaro/bootloader/edk2/EmulatorPkg/Library/DxeEmuSerialPortLib/ |
D | DxeEmuSerialPortLib.c | 197 IN OUT UINT64 *BaudRate, in SerialPortSetAttributes() argument
|