/openbmc/linux/sound/drivers/ |
H A D | serial-u16550.c | 402 | UART_MCR_DTR /* Set Data-Terminal-Ready line active */ in snd_uart16550_do_open() 412 outb(UART_MCR_RTS | (0&UART_MCR_DTR) | UART_MCR_OUT2, in snd_uart16550_do_open() 418 outb(UART_MCR_RTS | UART_MCR_DTR | UART_MCR_OUT2, in snd_uart16550_do_open() 464 |(0 & UART_MCR_DTR) /* Deactivate Data-Terminal-Ready line */ in snd_uart16550_do_close() 472 outb(UART_MCR_RTS | (0&UART_MCR_DTR) | (0&UART_MCR_OUT2), in snd_uart16550_do_close() 478 outb(UART_MCR_RTS | UART_MCR_DTR | (0&UART_MCR_OUT2), in snd_uart16550_do_close() 806 outb(UART_MCR_RTS | (0&UART_MCR_DTR), uart->base + UART_MCR); in snd_uart16550_create() 811 outb(UART_MCR_RTS | UART_MCR_DTR, uart->base + UART_MCR); in snd_uart16550_create()
|
/openbmc/linux/drivers/media/rc/ |
H A D | serial_ir.c | 71 .on = (UART_MCR_RTS | UART_MCR_OUT2 | UART_MCR_DTR), 86 .off = (UART_MCR_RTS | UART_MCR_DTR | UART_MCR_OUT2), 96 .on = (UART_MCR_RTS | UART_MCR_DTR | UART_MCR_OUT2), 97 .off = (UART_MCR_RTS | UART_MCR_DTR | UART_MCR_OUT2), 108 .off = (UART_MCR_RTS | UART_MCR_DTR | UART_MCR_OUT2), 115 .on = (UART_MCR_RTS | UART_MCR_OUT2 | UART_MCR_DTR),
|
/openbmc/linux/drivers/usb/serial/ |
H A D | mxuport.c | 625 mxport->mcr_state |= UART_MCR_DTR; in mxuport_set_dtr() 627 mxport->mcr_state &= ~UART_MCR_DTR; in mxuport_set_dtr() 687 mcr_state |= (UART_MCR_RTS | UART_MCR_DTR); in mxuport_dtr_rts() 689 mcr_state &= ~(UART_MCR_RTS | UART_MCR_DTR); in mxuport_dtr_rts() 713 mcr_state |= UART_MCR_DTR; in mxuport_tiocmset() 719 mcr_state &= ~UART_MCR_DTR; in mxuport_tiocmset() 750 result = (((mcr & UART_MCR_DTR) ? TIOCM_DTR : 0) | /* 0x002 */ in mxuport_tiocmget()
|
H A D | whiteheat.c | 409 if (info->mcr & UART_MCR_DTR) in whiteheat_tiocmget() 426 info->mcr |= UART_MCR_DTR; in whiteheat_tiocmset() 431 info->mcr &= ~UART_MCR_DTR; in whiteheat_tiocmset() 433 firm_set_dtr(port, info->mcr & UART_MCR_DTR); in whiteheat_tiocmset()
|
H A D | ark3116.c | 394 (ctrl & UART_MCR_DTR ? TIOCM_DTR : 0) | in ark3116_tiocmget() 415 priv->mcr |= UART_MCR_DTR; in ark3116_tiocmset() 423 priv->mcr &= ~UART_MCR_DTR; in ark3116_tiocmset()
|
H A D | ssu100.c | 147 urb_value |= UART_MCR_DTR; in update_mctrl() 367 r = (d[0] & UART_MCR_DTR ? TIOCM_DTR : 0) | in ssu100_tiocmget()
|
H A D | f81232.c | 259 val &= ~UART_MCR_DTR; in f81232_set_mctrl() 265 val |= UART_MCR_DTR; in f81232_set_mctrl() 682 r = (mcr & UART_MCR_DTR ? TIOCM_DTR : 0) | in f81232_tiocmget()
|
H A D | mos7720.c | 1442 mos7720_port->shadowMCR |= (UART_MCR_DTR | UART_MCR_RTS); in change_port_settings() 1568 result = ((mcr & UART_MCR_DTR) ? TIOCM_DTR : 0) /* 0x002 */ in mos7720_tiocmget() 1590 mcr |= UART_MCR_DTR; in mos7720_tiocmset() 1597 mcr &= ~UART_MCR_DTR; in mos7720_tiocmset()
|
H A D | f81534.c | 701 tmp &= ~UART_MCR_DTR; in f81534_update_mctrl() 707 tmp |= UART_MCR_DTR; in f81534_update_mctrl() 1443 r = (mcr & UART_MCR_DTR ? TIOCM_DTR : 0) | in f81534_tiocmget()
|
H A D | quatech2.c | 224 urb_value |= UART_MCR_DTR; in update_mctrl() 723 r = (d[0] & UART_MCR_DTR ? TIOCM_DTR : 0) | in qt2_tiocmget()
|
/openbmc/linux/drivers/accessibility/speakup/ |
H A D | serialio.c | 96 outb(UART_MCR_DTR | UART_MCR_RTS, ser->port + UART_MCR); in spk_serial_init() 141 outb(UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2, in start_serial_interrupt()
|
/openbmc/linux/drivers/tty/serial/jsm/ |
H A D | jsm_tty.c | 38 if (mstat & UART_MCR_DTR) in jsm_get_mstat() 99 channel->ch_mostat |= UART_MCR_DTR; in jsm_tty_set_mctrl() 101 channel->ch_mostat &= ~UART_MCR_DTR; in jsm_tty_set_mctrl() 292 channel->ch_mostat &= ~(UART_MCR_DTR | UART_MCR_RTS); in jsm_tty_close()
|
H A D | jsm_neo.c | 597 !!((ch->ch_mistat | ch->ch_mostat) & UART_MCR_DTR), in neo_parse_modem() 808 if (cause & UART_MCR_DTR) in neo_parse_isr() 809 ch->ch_mostat |= UART_MCR_DTR; in neo_parse_isr() 811 ch->ch_mostat &= ~(UART_MCR_DTR); in neo_parse_isr() 949 ch->ch_mostat &= ~(UART_MCR_RTS | UART_MCR_DTR); in neo_param()
|
H A D | jsm_cls.c | 540 !!((ch->ch_mistat | ch->ch_mostat) & UART_MCR_DTR), in cls_parse_modem() 703 ch->ch_mostat &= ~(UART_MCR_RTS | UART_MCR_DTR); in cls_param()
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250.h | 226 mcr |= UART_MCR_DTR; in serial8250_TIOCM_to_MCR() 243 if (mcr & UART_MCR_DTR) in serial8250_MCR_to_TIOCM()
|
H A D | 8250_early.c | 135 serial8250_early_out(port, UART_MCR, UART_MCR_DTR | UART_MCR_RTS); in init_port()
|
H A D | 8250_ingenic.c | 116 early_out(port, UART_MCR, UART_MCR_RTS | UART_MCR_DTR); in ingenic_earlycon_setup_tail()
|
/openbmc/u-boot/include/ |
H A D | ns16550.h | 134 #define UART_MCR_DTR 0x01 /* DTR */ macro
|
/openbmc/linux/drivers/tty/ |
H A D | mxser.c | 477 mcr |= UART_MCR_DTR | UART_MCR_RTS; in mxser_dtr_rts() 479 mcr &= ~(UART_MCR_DTR | UART_MCR_RTS); in mxser_dtr_rts() 516 info->MCR |= UART_MCR_DTR; in mxser_set_baud() 519 info->MCR &= ~UART_MCR_DTR; in mxser_set_baud() 779 info->MCR = UART_MCR_DTR | UART_MCR_RTS; in mxser_activate() 1113 ((control & UART_MCR_DTR) ? TIOCM_DTR : 0) | in mxser_tiocmget() 1134 info->MCR |= UART_MCR_DTR; in mxser_tiocmset() 1139 info->MCR &= ~UART_MCR_DTR; in mxser_tiocmset()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | sunplus-uart.c | 104 mcr |= UART_MCR_DTR; in sunplus_set_mctrl() 106 mcr &= ~UART_MCR_DTR; in sunplus_set_mctrl() 137 if (mcr & UART_MCR_DTR) in sunplus_get_mctrl()
|
/openbmc/u-boot/include/linux/ |
H A D | serial_reg.h | 121 #define UART_MCR_DTR 0x01 /* DTR complement */ macro
|
/openbmc/linux/include/uapi/linux/ |
H A D | serial_reg.h | 136 #define UART_MCR_DTR 0x01 /* DTR complement */ macro
|
/openbmc/linux/drivers/bluetooth/ |
H A D | dtl1_cs.c | 479 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase + UART_MCR); in dtl1_open()
|
/openbmc/qemu/hw/char/ |
H A D | serial.c | 67 #define UART_MCR_DTR 0x01 /* DTR complement */ macro 325 if (s->mcr & UART_MCR_DTR) { in serial_update_tiocm()
|
/openbmc/u-boot/drivers/serial/ |
H A D | ns16550.c | 21 #define UART_MCRVAL (UART_MCR_DTR | \
|