Lines Matching refs:serial_out
74 static inline void serial_out(struct pnx8xxx_port *sport, int offset, int value) in serial_out() function
134 serial_out(sport, PNX8XXX_IEN, ien & ~PNX8XXX_UART_INT_ALLTX); in pnx8xxx_stop_tx()
137 serial_out(sport, PNX8XXX_ICLR, PNX8XXX_UART_INT_ALLTX); in pnx8xxx_stop_tx()
149 serial_out(sport, PNX8XXX_ICLR, PNX8XXX_UART_INT_ALLTX); in pnx8xxx_start_tx()
153 serial_out(sport, PNX8XXX_IEN, ien | PNX8XXX_UART_INT_ALLTX); in pnx8xxx_start_tx()
166 serial_out(sport, PNX8XXX_IEN, ien & ~PNX8XXX_UART_INT_ALLRX); in pnx8xxx_stop_rx()
169 serial_out(sport, PNX8XXX_ICLR, PNX8XXX_UART_INT_ALLRX); in pnx8xxx_stop_rx()
236 serial_out(sport, PNX8XXX_LCR, serial_in(sport, PNX8XXX_LCR) | in pnx8xxx_rx_chars()
249 serial_out(sport, PNX8XXX_FIFO, sport->port.x_char); in pnx8xxx_tx_chars()
271 serial_out(sport, PNX8XXX_FIFO, xmit->buf[xmit->tail]); in pnx8xxx_tx_chars()
303 serial_out(sport, PNX8XXX_ICLR, status); in pnx8xxx_int()
358 serial_out(sport, PNX8XXX_LCR, lcr); in pnx8xxx_break_ctl()
379 serial_out(sport, PNX8XXX_ICLR, PNX8XXX_UART_INT_ALLRX | in pnx8xxx_startup()
382 serial_out(sport, PNX8XXX_IEN, serial_in(sport, PNX8XXX_IEN) | in pnx8xxx_startup()
409 serial_out(sport, PNX8XXX_IEN, 0); in pnx8xxx_shutdown()
417 serial_out(sport, PNX8XXX_LCR, lcr); in pnx8xxx_shutdown()
422 serial_out(sport, PNX8XXX_ICLR, PNX8XXX_UART_INT_ALLRX | in pnx8xxx_shutdown()
520 serial_out(sport, PNX8XXX_IEN, old_ien & ~(PNX8XXX_UART_INT_ALLTX | in pnx8xxx_set_termios()
527 serial_out(sport, PNX8XXX_IEN, 0); in pnx8xxx_set_termios()
534 serial_out(sport, PNX8XXX_LCR, lcr_fcr); in pnx8xxx_set_termios()
538 serial_out(sport, PNX8XXX_BAUD, quot); in pnx8xxx_set_termios()
540 serial_out(sport, PNX8XXX_ICLR, -1); in pnx8xxx_set_termios()
542 serial_out(sport, PNX8XXX_IEN, old_ien); in pnx8xxx_set_termios()
670 serial_out(sport, PNX8XXX_FIFO, ch); in pnx8xxx_console_putchar()
685 serial_out(sport, PNX8XXX_IEN, old_ien & ~(PNX8XXX_UART_INT_ALLTX | in pnx8xxx_console_write()
700 serial_out(sport, PNX8XXX_ICLR, PNX8XXX_UART_INT_TX | in pnx8xxx_console_write()
703 serial_out(sport, PNX8XXX_IEN, old_ien); in pnx8xxx_console_write()