Searched refs:read_sbdchn (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | sb1250-duart.c | 154 static unsigned char read_sbdchn(struct sbd_port *sport, int reg) in read_sbdchn() function 191 return read_sbdchn(sport, R_DUART_STATUS) & M_DUART_RX_RDY; in sbd_receive_ready() 199 read_sbdchn(sport, R_DUART_RX_HOLD); in sbd_receive_drain() 205 return read_sbdchn(sport, R_DUART_STATUS) & M_DUART_TX_RDY; in sbd_transmit_ready() 219 return read_sbdchn(sport, R_DUART_STATUS) & M_DUART_TX_EMT; in sbd_transmit_empty() 269 mode2 = read_sbdchn(sport, R_DUART_MODE_REG_2); in sbd_set_mctrl() 339 status = read_sbdchn(sport, R_DUART_STATUS); in sbd_receive_chars() 343 ch = read_sbdchn(sport, R_DUART_RX_HOLD); in sbd_receive_chars() 487 mode1 = read_sbdchn(sport, R_DUART_MODE_REG_1); in sbd_startup() 620 oldmode1 = read_sbdchn(sport, R_DUART_MODE_REG_1) & mode1mask; in sbd_set_termios() [all …]
|