Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/
DSerialIo.c304 SERIAL_PORT_LSR Lsr; in SerialReceiveTransmit() local
343 Lsr.Data = READ_LSR (SerialDevice); in SerialReceiveTransmit()
348 if ((Lsr.Bits.Dr == 1) && !ReceiveFifoFull) { in SerialReceiveTransmit()
351 …if (Lsr.Bits.FIFOe == 1 || Lsr.Bits.Oe == 1 || Lsr.Bits.Pe == 1 || Lsr.Bits.Fe == 1 || Lsr.Bits.Bi… in SerialReceiveTransmit()
357 if (Lsr.Bits.FIFOe == 1 || Lsr.Bits.Pe == 1|| Lsr.Bits.Fe == 1 || Lsr.Bits.Bi == 1) { in SerialReceiveTransmit()
393 if (Lsr.Bits.Thre == 1 && !SerialFifoEmpty (&SerialDevice->Transmit)) { in SerialReceiveTransmit()
439 } while (Lsr.Bits.Thre == 1 && !SerialFifoEmpty (&SerialDevice->Transmit)); in SerialReceiveTransmit()
455 SERIAL_PORT_LSR Lsr; in SerialFlushTransmitFifo() local
462 Lsr.Data = READ_LSR (SerialDevice); in SerialFlushTransmitFifo()
463 } while (Lsr.Bits.Temt == 0); in SerialFlushTransmitFifo()
/device/linaro/bootloader/edk2/PcAtChipsetPkg/Library/SerialIoLib/
DSerialPortLib.c293 UINT8 Lsr; in SerialPortGetControl() local
334 Lsr = IoRead8 ((UINT16) gUartBase + LSR_OFFSET); in SerialPortGetControl()
336 if ((Lsr & LSR_TXRDY) == LSR_TXRDY) { in SerialPortGetControl()
340 if ((Lsr & LSR_RXDA) == 0) { in SerialPortGetControl()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/
DSerial.c963 SERIAL_PORT_LSR Lsr; in IsaSerialReceiveTransmit() local
1002 Lsr.Data = READ_LSR (SerialDevice->IsaIo, SerialDevice->BaseAddress); in IsaSerialReceiveTransmit()
1007 if ((Lsr.Bits.Dr == 1) && !ReceiveFifoFull) { in IsaSerialReceiveTransmit()
1010 …if (Lsr.Bits.FIFOe == 1 || Lsr.Bits.Oe == 1 || Lsr.Bits.Pe == 1 || Lsr.Bits.Fe == 1 || Lsr.Bits.Bi… in IsaSerialReceiveTransmit()
1016 if (Lsr.Bits.FIFOe == 1 || Lsr.Bits.Pe == 1|| Lsr.Bits.Fe == 1 || Lsr.Bits.Bi == 1) { in IsaSerialReceiveTransmit()
1052 if (Lsr.Bits.Thre == 1 && !IsaSerialFifoEmpty (&SerialDevice->Transmit)) { in IsaSerialReceiveTransmit()
1098 } while (Lsr.Bits.Thre == 1 && !IsaSerialFifoEmpty (&SerialDevice->Transmit)); in IsaSerialReceiveTransmit()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BaseSerialPortLib16550/
DBaseSerialPortLib16550.c841 UINT8 Lsr; in SerialPortGetControl() local
891 Lsr = SerialPortReadRegister (SerialRegisterBase, R_UART_LSR); in SerialPortGetControl()
893 if ((Lsr & (B_UART_LSR_TEMT | B_UART_LSR_TXRDY)) == (B_UART_LSR_TEMT | B_UART_LSR_TXRDY)) { in SerialPortGetControl()
897 if ((Lsr & B_UART_LSR_RXRDY) == 0) { in SerialPortGetControl()