| /Linux-v5.4/drivers/media/rc/ |
| D | serial_ir.c | 71 .on = (UART_MCR_RTS | UART_MCR_OUT2 | UART_MCR_DTR), 72 .off = (UART_MCR_RTS | UART_MCR_OUT2), 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), 116 .off = (UART_MCR_RTS | UART_MCR_OUT2),
|
| D | sir_ir.c | 307 outb(UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2, io + UART_MCR); in init_hardware()
|
| /Linux-v5.4/arch/powerpc/boot/ |
| D | virtex.c | 20 #define UART_MCR_RTS 0x02 /* RTS complement */ macro 65 out_8(reg_base + (UART_MCR << reg_shift), UART_MCR_RTS | UART_MCR_DTR); in virtex_ns16550_console_init()
|
| /Linux-v5.4/sound/drivers/ |
| D | serial-u16550.c | 404 outb(UART_MCR_RTS /* Set Request-To-Send line active */ in snd_uart16550_do_open() 415 outb(UART_MCR_RTS | (0&UART_MCR_DTR) | UART_MCR_OUT2, in snd_uart16550_do_open() 421 outb(UART_MCR_RTS | UART_MCR_DTR | UART_MCR_OUT2, in snd_uart16550_do_open() 466 outb((0 & UART_MCR_RTS) /* Deactivate Request-To-Send line */ in snd_uart16550_do_close() 475 outb(UART_MCR_RTS | (0&UART_MCR_DTR) | (0&UART_MCR_OUT2), in snd_uart16550_do_close() 481 outb(UART_MCR_RTS | UART_MCR_DTR | (0&UART_MCR_OUT2), in snd_uart16550_do_close() 832 outb(UART_MCR_RTS | (0&UART_MCR_DTR), uart->base + UART_MCR); in snd_uart16550_create() 837 outb(UART_MCR_RTS | UART_MCR_DTR, uart->base + UART_MCR); in snd_uart16550_create()
|
| /Linux-v5.4/drivers/usb/serial/ |
| D | mxuport.c | 654 mcr_state &= ~UART_MCR_RTS; in mxuport_set_rts() 657 mcr_state |= UART_MCR_RTS; in mxuport_set_rts() 694 mcr_state |= (UART_MCR_RTS | UART_MCR_DTR); in mxuport_dtr_rts() 696 mcr_state &= ~(UART_MCR_RTS | UART_MCR_DTR); in mxuport_dtr_rts() 717 mcr_state |= UART_MCR_RTS; in mxuport_tiocmset() 723 mcr_state &= ~UART_MCR_RTS; in mxuport_tiocmset() 758 ((mcr & UART_MCR_RTS) ? TIOCM_RTS : 0) | /* 0x004 */ in mxuport_tiocmget()
|
| D | whiteheat.c | 417 if (info->mcr & UART_MCR_RTS) in whiteheat_tiocmget() 430 info->mcr |= UART_MCR_RTS; in whiteheat_tiocmset() 435 info->mcr &= ~UART_MCR_RTS; in whiteheat_tiocmset() 440 firm_set_rts(port, info->mcr & UART_MCR_RTS); in whiteheat_tiocmset()
|
| D | ssu100.c | 33 #define SERIAL_CRTSCTS ((UART_MCR_RTS << 8) | UART_MSR_CTS) 149 urb_value |= UART_MCR_RTS; in update_mctrl() 399 (d[0] & UART_MCR_RTS ? TIOCM_RTS : 0) | in ssu100_tiocmget()
|
| D | ark3116.c | 423 (ctrl & UART_MCR_RTS ? TIOCM_RTS : 0) | in ark3116_tiocmget() 441 priv->mcr |= UART_MCR_RTS; in ark3116_tiocmset() 449 priv->mcr &= ~UART_MCR_RTS; in ark3116_tiocmset()
|
| D | f81232.c | 238 val &= ~UART_MCR_RTS; in f81232_set_mctrl() 244 val |= UART_MCR_RTS; in f81232_set_mctrl() 617 (mcr & UART_MCR_RTS ? TIOCM_RTS : 0) | in f81232_tiocmget()
|
| D | mos7720.c | 1307 mos7720_port->shadowMCR &= ~UART_MCR_RTS; in mos7720_throttle() 1337 mos7720_port->shadowMCR |= UART_MCR_RTS; in mos7720_unthrottle() 1624 mos7720_port->shadowMCR |= (UART_MCR_DTR | UART_MCR_RTS); in change_port_settings() 1750 | ((mcr & UART_MCR_RTS) ? TIOCM_RTS : 0) /* 0x004 */ in mos7720_tiocmget() 1769 mcr |= UART_MCR_RTS; in mos7720_tiocmset() 1776 mcr &= ~UART_MCR_RTS; in mos7720_tiocmset()
|
| D | quatech2.c | 43 #define SERIAL_CRTSCTS ((UART_MCR_RTS << 8) | UART_MSR_CTS) 234 urb_value |= UART_MCR_RTS; in update_mctrl() 779 (d[0] & UART_MCR_RTS ? TIOCM_RTS : 0) | in qt2_tiocmget()
|
| D | f81534.c | 702 tmp &= ~UART_MCR_RTS; in f81534_update_mctrl() 708 tmp |= UART_MCR_RTS; in f81534_update_mctrl() 1462 (mcr & UART_MCR_RTS ? TIOCM_RTS : 0) | in f81534_tiocmget()
|
| /Linux-v5.4/drivers/tty/serial/8250/ |
| D | 8250.h | 168 mcr |= UART_MCR_RTS; in serial8250_TIOCM_to_MCR() 185 if (mcr & UART_MCR_RTS) in serial8250_MCR_to_TIOCM()
|
| D | 8250_port.c | 569 mcr |= UART_MCR_RTS; in serial8250_em485_rts_after_send() 571 mcr &= ~UART_MCR_RTS; in serial8250_em485_rts_after_send() 1359 serial8250_out_MCR(up, UART_MCR_DTR | UART_MCR_RTS); in autoconfig_irq() 1362 UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2); in autoconfig_irq() 1545 !!(mcr & UART_MCR_RTS)) { in start_tx_rs485() 1547 mcr |= UART_MCR_RTS; in start_tx_rs485() 1549 mcr &= ~UART_MCR_RTS; in start_tx_rs485() 3132 serial8250_out_MCR(up, UART_MCR_DTR | UART_MCR_RTS); in serial8250_console_restore()
|
| D | 8250_ingenic.c | 119 early_out(port, UART_MCR, UART_MCR_RTS | UART_MCR_DTR); in ingenic_early_console_setup()
|
| /Linux-v5.4/drivers/staging/speakup/ |
| D | speakup_apollo.c | 166 synth->io_ops->tiocmset(0, UART_MCR_RTS); in do_catch_up() 167 synth->io_ops->tiocmset(UART_MCR_RTS, 0); in do_catch_up()
|
| D | serialio.c | 94 outb(UART_MCR_DTR | UART_MCR_RTS, ser->port + UART_MCR); in spk_serial_init() 139 outb(UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2, in start_serial_interrupt()
|
| /Linux-v5.4/drivers/tty/serial/jsm/ |
| D | jsm_neo.c | 102 ch->ch_mostat |= (UART_MCR_RTS); in neo_set_rts_flow_control() 597 !!((ch->ch_mistat | ch->ch_mostat) & UART_MCR_RTS), in neo_parse_modem() 802 if (cause & UART_MCR_RTS) in neo_parse_isr() 803 ch->ch_mostat |= UART_MCR_RTS; in neo_parse_isr() 805 ch->ch_mostat &= ~(UART_MCR_RTS); in neo_parse_isr() 946 ch->ch_mostat &= ~(UART_MCR_RTS | UART_MCR_DTR); in neo_param()
|
| D | jsm_tty.c | 40 if (mstat & UART_MCR_RTS) in jsm_get_mstat() 94 channel->ch_mostat |= UART_MCR_RTS; in jsm_tty_set_mctrl() 96 channel->ch_mostat &= ~UART_MCR_RTS; in jsm_tty_set_mctrl() 289 channel->ch_mostat &= ~(UART_MCR_DTR | UART_MCR_RTS); in jsm_tty_close()
|
| D | jsm_cls.c | 545 !!((ch->ch_mistat | ch->ch_mostat) & UART_MCR_RTS), in cls_parse_modem() 707 ch->ch_mostat &= ~(UART_MCR_RTS | UART_MCR_DTR); in cls_param()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | serial_reg.h | 129 #define UART_MCR_RTS 0x02 /* RTS complement */ macro
|
| /Linux-v5.4/drivers/ssb/ |
| D | driver_extif.c | 47 regs[UART_MCR] = (UART_MCR_LOOP | UART_MCR_OUT2 | UART_MCR_RTS); in serial_exists()
|
| /Linux-v5.4/drivers/tty/ |
| D | mxser.c | 561 UART_MCR_DTR | UART_MCR_RTS, mp->ioaddr + UART_MCR); in mxser_dtr_rts() 563 outb(inb(mp->ioaddr + UART_MCR)&~(UART_MCR_DTR | UART_MCR_RTS), in mxser_dtr_rts() 917 info->MCR = UART_MCR_DTR | UART_MCR_RTS; in mxser_activate() 1355 return ((control & UART_MCR_RTS) ? TIOCM_RTS : 0) | in mxser_tiocmget() 1378 info->MCR |= UART_MCR_RTS; in mxser_tiocmset() 1383 info->MCR &= ~UART_MCR_RTS; in mxser_tiocmset() 1866 info->MCR &= ~UART_MCR_RTS; in mxser_stoprx() 1903 info->MCR |= UART_MCR_RTS; in mxser_unthrottle()
|
| /Linux-v5.4/drivers/bluetooth/ |
| D | dtl1_cs.c | 479 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase + UART_MCR); in dtl1_open()
|
| /Linux-v5.4/samples/vfio-mdev/ |
| D | mtty.c | 437 (data & (UART_MCR_RTS | UART_MCR_DTR))) { in handle_bar_write() 531 (UART_MCR_RTS | UART_MCR_DTR))) in handle_bar_read()
|