Home
last modified time | relevance | path

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

/drivers/tty/serial/
Domap-serial.c72 static inline void serial_out(struct uart_omap_port *up, int offset, int value) in serial_out() function
80 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO); in serial_omap_clear_fifos()
81 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO | in serial_omap_clear_fifos()
83 serial_out(up, UART_FCR, 0); in serial_omap_clear_fifos()
132 serial_out(up, UART_IER, up->ier); in serial_omap_enable_ms()
159 serial_out(up, UART_IER, up->ier); in serial_omap_stop_tx()
178 serial_out(up, UART_IER, up->ier); in serial_omap_stop_rx()
257 serial_out(up, UART_TX, up->port.x_char); in transmit_chars()
268 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in transmit_chars()
286 serial_out(up, UART_IER, up->ier); in serial_omap_enable_ier_thri()
[all …]
Dpnx8xxx_uart.c74 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()
[all …]
Dpxa.c66 static inline void serial_out(struct uart_pxa_port *up, int offset, int value) in serial_out() function
77 serial_out(up, UART_IER, up->ier); in serial_pxa_enable_ms()
86 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_tx()
96 serial_out(up, UART_IER, up->ier); in serial_pxa_stop_rx()
114 serial_out(up, UART_IER, up->ier); in receive_chars()
181 serial_out(up, UART_IER, up->ier); in receive_chars()
190 serial_out(up, UART_TX, up->port.x_char); in transmit_chars()
202 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in transmit_chars()
223 serial_out(up, UART_IER, up->ier); in serial_pxa_start_tx()
319 serial_out(up, UART_MCR, mcr); in serial_pxa_set_mctrl()
[all …]
Dmfd.c115 static inline void serial_out(struct uart_hsu_port *up, int offset, int value) in serial_out() function
288 serial_out(up, UART_IER, up->ier); in serial_hsu_enable_ms()
364 serial_out(up, UART_IER, up->ier); in serial_hsu_start_tx()
378 serial_out(up, UART_IER, up->ier); in serial_hsu_stop_tx()
456 serial_out(up, UART_IER, up->ier); in serial_hsu_stop_rx()
533 serial_out(up, UART_TX, up->port.x_char); in transmit_chars()
547 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in transmit_chars()
733 serial_out(up, UART_MCR, mcr); in serial_hsu_set_mctrl()
747 serial_out(up, UART_LCR, up->lcr); in serial_hsu_break_ctl()
769 serial_out(up, UART_FCR, UART_FCR_ENABLE_FIFO); in serial_hsu_startup()
[all …]
Dsunsu.c118 static void serial_out(struct uart_sunsu_port *up, int offset, int value) in serial_out() function
156 #define serial_outp(up, offset, value) serial_out(up, offset, value)
164 serial_out(up, UART_SCR, offset); in serial_icr_write()
165 serial_out(up, UART_ICR, value); in serial_icr_write()
174 serial_out(up, UART_SCR, offset);
255 serial_out(p, UART_IER, p->ier); in __stop_tx()
280 serial_out(up, UART_IER, up->ier); in sunsu_start_tx()
298 serial_out(up, UART_IER, up->ier); in sunsu_stop_rx()
308 serial_out(up, UART_IER, up->ier); in sunsu_enable_ms()
413 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in transmit_chars()
[all …]
Dm32r_sio.c260 static void serial_out(struct uart_sio_port *up, int offset, int value) in serial_out() function
274 serial_out(up, UART_IER, up->ier); in m32r_sio_stop_tx()
286 serial_out(up, UART_IER, up->ier); in m32r_sio_start_tx()
287 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in m32r_sio_start_tx()
297 serial_out(up, UART_IER, up->ier); in m32r_sio_start_tx()
308 serial_out(up, UART_IER, up->ier); in m32r_sio_stop_rx()
316 serial_out(up, UART_IER, up->ier); in m32r_sio_enable_ms()
399 serial_out(up, UART_TX, up->port.x_char); in transmit_chars()
412 serial_out(up, UART_TX, xmit->buf[xmit->tail]); in transmit_chars()
787 serial_out(up, UART_IER, up->ier); in m32r_sio_set_termios()
Dsh-sci.c2134 port->serial_out = sci_serial_out; in sci_init_single()
/drivers/tty/serial/8250/
D8250.c440 p->serial_out = hub6_serial_out; in set_io_from_upio()
445 p->serial_out = mem_serial_out; in set_io_from_upio()
451 p->serial_out = mem32_serial_out; in set_io_from_upio()
456 p->serial_out = au_serial_out; in set_io_from_upio()
461 p->serial_out = io_serial_out; in set_io_from_upio()
476 p->serial_out(p, offset, value); in serial_port_out_sync()
480 p->serial_out(p, offset, value); in serial_port_out_sync()
493 serial_out(up, UART_DLL, value & 0xff); in _serial_dl_write()
494 serial_out(up, UART_DLM, value >> 8 & 0xff); in _serial_dl_write()
542 serial_out(up, UART_SCR, offset); in serial_icr_write()
[all …]
D8250_early.c65 static void __init serial_out(struct uart_port *port, int offset, int value) in serial_out() function
97 serial_out(port, UART_TX, c); in serial_putc()
108 serial_out(port, UART_IER, 0); in early_serial8250_write()
114 serial_out(port, UART_IER, ier); in early_serial8250_write()
123 serial_out(port, UART_LCR, lcr | UART_LCR_DLAB); in probe_baud()
126 serial_out(port, UART_LCR, lcr); in probe_baud()
138 serial_out(port, UART_LCR, 0x3); /* 8n1 */ in init_port()
139 serial_out(port, UART_IER, 0); /* no interrupt */ in init_port()
140 serial_out(port, UART_FCR, 0); /* no fifo */ in init_port()
141 serial_out(port, UART_MCR, 0x3); /* DTR + RTS */ in init_port()
[all …]
D8250_dw.c82 p->serial_out(p, UART_LCR, d->last_lcr); in dw8250_handle_irq()
120 port.serial_out = dw8250_serial_out; in dw8250_probe()
128 port.serial_out = dw8250_serial_out32; in dw8250_probe()
D8250.h94 static inline void serial_out(struct uart_8250_port *up, int offset, int value) in serial_out() function
96 up->port.serial_out(&up->port, offset, value); in serial_out()
/drivers/staging/serial/
D68360serial.c594 serial_out(info, UART_IER, info->IER); in check_modem_status()
605 serial_out(info, UART_IER, info->IER); in check_modem_status()
932 serial_out(info, UART_IER, info->IER); in change_speed()
1180 serial_out(info, UART_MCR, info->MCR); in rs_360_throttle()
1208 serial_out(info, UART_MCR, info->MCR); in rs_360_unthrottle()
1308 serial_out(info, UART_MCR, info->MCR); in rs_360_tiocmset()
1525 serial_out(info, UART_MCR, info->MCR); in rs_360_set_termios()
1538 serial_out(info, UART_MCR, info->MCR); in rs_360_set_termios()
1833 serial_out(info, UART_MCR, in block_til_ready()
/drivers/isdn/hisax/
Delsa_ser.c79 static inline void serial_out(struct IsdnCardState *cs, int offset, int value) in serial_out() function
361 serial_out(cs, UART_IER, cs->hw.elsa.IER); in transmit_chars()