Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tty/serial/
H A Dsprd_serial.c46 #define SPRD_STS1 0x000C macro
151 if (serial_in(port, SPRD_STS1) & SPRD_TX_FIFO_CNT_MASK) in sprd_tx_empty()
605 while ((serial_in(port, SPRD_STS1) & SPRD_RX_FIFO_CNT_MASK) && in sprd_rx()
700 while (timeout-- && serial_in(port, SPRD_STS1) & SPRD_RX_FIFO_CNT_MASK) in sprd_startup()
705 while (timeout-- && serial_in(port, SPRD_STS1) & SPRD_TX_FIFO_CNT_MASK) in sprd_startup()
908 while (!(serial_in(port, SPRD_STS1) & SPRD_RX_FIFO_CNT_MASK)) in sprd_poll_get_char()
916 while (serial_in(port, SPRD_STS1) & SPRD_TX_FIFO_CNT_MASK) in sprd_poll_put_char()
954 status = serial_in(port, SPRD_STS1); in wait_for_xmitr()