Home
last modified time | relevance | path

Searched refs:serial_port_out (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/tty/serial/8250/
H A D8250_port.c1393 serial_port_out(port, UART_IER, up->ier); in serial8250_stop_rx()
1426 serial_port_out(&p->port, UART_IER, p->ier); in serial8250_em485_stop_tx()
1682 serial_port_out(port, UART_IER, up->ier); in serial8250_disable_ms()
1701 serial_port_out(port, UART_IER, up->ier); in serial8250_enable_ms()
2072 serial_port_out(port, UART_LCR, up->lcr); in serial8250_break_ctl()
2169 serial_port_out(port, UART_TX, c); in serial8250_put_poll_char()
2176 serial_port_out(port, UART_IER, ier); in serial8250_put_poll_char()
2210 serial_port_out(port, UART_LCR, UART_LCR_CONF_MODE_B); in serial8250_do_startup()
2211 serial_port_out(port, UART_EFR, UART_EFR_ECB); in serial8250_do_startup()
2212 serial_port_out(port, UART_IER, 0); in serial8250_do_startup()
[all …]
H A D8250_mtk.c364 serial_port_out(port, MTK_UART_HIGHS, 0x0); in mtk8250_set_termios()
367 serial_port_out(port, MTK_UART_HIGHS, 0x3); in mtk8250_set_termios()
383 serial_port_out(port, UART_LCR, up->lcr | UART_LCR_DLAB); in mtk8250_set_termios()
387 serial_port_out(port, UART_LCR, up->lcr); in mtk8250_set_termios()
393 serial_port_out(port, MTK_UART_SAMPLE_COUNT, tmp); in mtk8250_set_termios()
394 serial_port_out(port, MTK_UART_SAMPLE_POINT, in mtk8250_set_termios()
400 serial_port_out(port, MTK_UART_FRACDIV_L, in mtk8250_set_termios()
402 serial_port_out(port, MTK_UART_FRACDIV_M, in mtk8250_set_termios()
405 serial_port_out(port, MTK_UART_SAMPLE_COUNT, 0x00); in mtk8250_set_termios()
406 serial_port_out(port, MTK_UART_SAMPLE_POINT, 0xff); in mtk8250_set_termios()
[all …]
H A D8250_pericom.c76 serial_port_out(port, UART_LCR, lcr | UART_LCR_DLAB); in pericom_do_set_divisor()
78 serial_port_out(port, 2, 16 - scr); in pericom_do_set_divisor()
79 serial_port_out(port, UART_LCR, lcr); in pericom_do_set_divisor()
H A D8250_exar.c204 serial_port_out(port, UART_EXAR_SLEEP, state ? 0xff : 0); in exar_pm()
229 serial_port_out(p, 0x2, quot_frac); in xr17v35x_set_divisor()
238 serial_port_out(port, UART_XR_EFR, UART_EFR_ECB); in xr17v35x_startup()
247 serial_port_out(port, UART_IER, 0); in xr17v35x_startup()
H A D8250_bcm7271.c613 serial_port_out(port, UART_IER, up->ier); in brcmuart_startup()
823 serial_port_out(p, UART_IER, ier); in brcmuart_handle_irq()
826 serial_port_out(p, UART_MCR, mcr); in brcmuart_handle_irq()
872 serial_port_out(p, UART_IER, status); in brcmuart_hrtimer_func()
875 serial_port_out(p, UART_MCR, status); in brcmuart_hrtimer_func()
H A D8250_core.c817 serial_port_out(port, UART_LCR, 0xE0); in serial8250_resume_port()
821 serial_port_out(port, UART_LCR, 0); in serial8250_resume_port()
/openbmc/linux/drivers/tty/serial/
H A Dsh-sci.c585 serial_port_out(port, SCSCR, new); in sci_start_tx()
612 serial_port_out(port, SCSCR, ctrl | SCSCR_TIE); in sci_start_tx()
628 serial_port_out(port, SCSCR, ctrl); in sci_stop_tx()
648 serial_port_out(port, SCSCR, ctrl); in sci_start_rx()
662 serial_port_out(port, SCSCR, ctrl); in sci_stop_rx()
669 serial_port_out(port, SCxSR, mask); in sci_clear_SCxSR()
673 serial_port_out(port, SCxSR, in sci_clear_SCxSR()
677 serial_port_out(port, SCxSR, mask & ~(SCIF_FERC | SCIF_PERC)); in sci_clear_SCxSR()
720 serial_port_out(port, SCxTDR, c); in sci_poll_put_char()
759 serial_port_out(port, SCPDR, data); in sci_init_pins()
[all …]
H A Dserial_core.c697 serial_port_out(uport, offset, uport->x_char); in uart_xchar_out()
/openbmc/linux/include/linux/
H A Dserial_core.h676 static inline void serial_port_out(struct uart_port *up, int offset, int value) in serial_port_out() function