Lines Matching refs:READ_SERCSR
120 static inline u32 READ_SERCSR(u32 *addr, int line) in READ_SERCSR() function
160 u64 tmp = READ_SERCSR(port->imr, line); in duart_mask_ints()
169 u64 tmp = READ_SERCSR(port->imr, line); in duart_unmask_ints()
180 if (!(READ_SERCSR(us->status, us->line) & M_DUART_TX_RDY)) in transmit_char_pio()
228 unsigned int status = READ_SERCSR(us->status, us->line); in duart_int()
247 if (!(READ_SERCSR(us->status, us->line) & M_DUART_RX_RDY)) in duart_int()
249 ch = READ_SERCSR(us->rx_hold, us->line); in duart_int()
628 while (!(READ_SERCSR(us->status, us->line) & M_DUART_TX_EMT)) { in duart_wait_until_sent()
734 while (!(READ_SERCSR(us->status, us->line) & M_DUART_TX_EMT)) in duart_close()
866 while (!(READ_SERCSR(port->status, line) & M_DUART_TX_RDY)) ; in serial_outc()
868 while (!(READ_SERCSR(port->status, port->line) & M_DUART_TX_EMT)) ; in serial_outc()
878 imr = READ_SERCSR(port->imr, line); in ser_console_write()