Home
last modified time | relevance | path

Searched refs:ComputedBaudRate (Results 1 – 1 of 1) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/
DSerialIo.c84 UINT32 ComputedBaudRate; in VerifyUartParameters() local
137 ComputedBaudRate = ClockRate / ((UINT16) ComputedDivisor << 4); in VerifyUartParameters()
138 if (ComputedBaudRate == 0) { 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()
161 if (ComputedBaudRate < BaudRate) { in VerifyUartParameters()
163 *ActualBaudRate = ComputedBaudRate; in VerifyUartParameters()
180 ComputedBaudRate = ClockRate / ((UINT16) ComputedDivisor << 4); in VerifyUartParameters()
181 if (ComputedBaudRate == 0) { in VerifyUartParameters()
187 DEBUG ((EFI_D_INFO, "BaudRate/Actual (%ld/%d) = %d%%\n", BaudRate, ComputedBaudRate, Percent)); in VerifyUartParameters()
[all …]