Home
last modified time | relevance | path

Searched refs:UART_MCR_LOOP (Results 1 – 16 of 16) sorted by relevance

/openbmc/qemu/hw/char/
H A Dserial.c63 #define UART_MCR_LOOP 0x10 /* Enable loopback test mode */ macro
255 if (s->mcr & UART_MCR_LOOP) { in serial_xmit()
448 if (val & UART_MCR_LOOP) in serial_ioport_write()
495 if (!(s->mcr & UART_MCR_LOOP)) { in serial_ioport_read()
530 if (s->mcr & UART_MCR_LOOP) { in serial_ioport_read()
909 if (s->poll_msl >= 0 && !(s->mcr & UART_MCR_LOOP)) { in serial_be_change()
/openbmc/linux/drivers/tty/serial/8250/
H A D8250.h232 mcr |= UART_MCR_LOOP; in serial8250_TIOCM_to_MCR()
249 if (mcr & UART_MCR_LOOP) in serial8250_MCR_to_TIOCM()
H A D8250_port.c805 serial8250_out_MCR(up, UART_MCR_LOOP); in size_fifo()
1048 if (!((status2 ^ status1) & UART_MCR_LOOP)) { in autoconfig_16550a()
1050 serial8250_out_MCR(up, status1 ^ UART_MCR_LOOP); in autoconfig_16550a()
1056 if ((status2 ^ status1) & UART_MCR_LOOP) { in autoconfig_16550a()
1234 serial8250_out_MCR(up, UART_MCR_LOOP | UART_MCR_OUT2 | UART_MCR_RTS); in autoconfig()
/openbmc/u-boot/include/
H A Dns16550.h138 #define UART_MCR_LOOP 0x10 /* Enable loopback test mode */ macro
/openbmc/linux/drivers/tty/serial/
H A Dsunplus-uart.c124 mcr |= UART_MCR_LOOP; in sunplus_set_mctrl()
126 mcr &= ~UART_MCR_LOOP; in sunplus_set_mctrl()
149 if (mcr & UART_MCR_LOOP) in sunplus_get_mctrl()
H A Dsunsu.c591 mcr |= UART_MCR_LOOP; in sunsu_set_mctrl()
1082 serial_outp(up, UART_MCR, UART_MCR_LOOP | 0x0A); in sunsu_autoconfig()
H A Dserial-tegra.c226 mcr |= UART_MCR_LOOP; in set_loopbk()
228 mcr &= ~UART_MCR_LOOP; in set_loopbk()
H A Domap-serial.c625 mcr |= UART_MCR_LOOP; in serial_omap_set_mctrl()
628 old_mcr &= ~(UART_MCR_LOOP | UART_MCR_OUT2 | UART_MCR_OUT1 | in serial_omap_set_mctrl()
H A Dpxa.c286 mcr |= UART_MCR_LOOP; in serial_pxa_set_mctrl()
H A Dpch_uart.c1138 mcr |= UART_MCR_LOOP; in pch_uart_set_mctrl()
/openbmc/u-boot/include/linux/
H A Dserial_reg.h117 #define UART_MCR_LOOP 0x10 /* Enable loopback test mode */ macro
/openbmc/linux/include/uapi/linux/
H A Dserial_reg.h132 #define UART_MCR_LOOP 0x10 /* Enable loopback test mode */ macro
/openbmc/linux/drivers/ssb/
H A Ddriver_extif.c47 regs[UART_MCR] = (UART_MCR_LOOP | UART_MCR_OUT2 | UART_MCR_RTS); in serial_exists()
/openbmc/linux/drivers/usb/serial/
H A Dmos7720.c1592 mcr |= UART_MCR_LOOP; in mos7720_tiocmset()
1599 mcr &= ~UART_MCR_LOOP; in mos7720_tiocmset()
H A Df81534.c792 F81534_MODEM_CONTROL_REG, UART_MCR_LOOP); in f81534_check_port_hw_disabled()
/openbmc/linux/drivers/mmc/core/
H A Dsdio_uart.c228 mcr |= UART_MCR_LOOP; in sdio_uart_write_mctrl()