Lines Matching refs:read_sbdchn
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()
621 oldmode2 = read_sbdchn(sport, R_DUART_MODE_REG_2) & mode2mask; in sbd_set_termios()
622 oldaux = read_sbdchn(sport, R_DUART_AUXCTL_X) & auxmask; in sbd_set_termios()