Searched refs:Lsr (Results 1 – 4 of 4) sorted by relevance
304 SERIAL_PORT_LSR Lsr; in SerialReceiveTransmit() local343 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() local462 Lsr.Data = READ_LSR (SerialDevice); in SerialFlushTransmitFifo()463 } while (Lsr.Bits.Temt == 0); in SerialFlushTransmitFifo()
293 UINT8 Lsr; in SerialPortGetControl() local334 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()
963 SERIAL_PORT_LSR Lsr; in IsaSerialReceiveTransmit() local1002 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()
841 UINT8 Lsr; in SerialPortGetControl() local891 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()