Home
last modified time | relevance | path

Searched refs:UART_MCR_RTS (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.6.21/drivers/media/rc/
Dserial_ir.c71 .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),
/linux-6.6.21/sound/drivers/
Dserial-u16550.c401 outb(UART_MCR_RTS /* Set Request-To-Send 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()
463 outb((0 & UART_MCR_RTS) /* Deactivate Request-To-Send 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()
/linux-6.6.21/drivers/tty/serial/8250/
D8250_bcm2835aux.c68 serial8250_out_MCR(up, UART_MCR_RTS); in bcm2835aux_rs485_start_tx()
76 serial8250_out_MCR(up, UART_MCR_RTS); in bcm2835aux_rs485_stop_tx()
D8250.h224 mcr |= UART_MCR_RTS; in serial8250_TIOCM_to_MCR()
241 if (mcr & UART_MCR_RTS) in serial8250_MCR_to_TIOCM()
D8250_early.c135 serial8250_early_out(port, UART_MCR, UART_MCR_DTR | UART_MCR_RTS); in init_port()
D8250_port.c1234 serial8250_out_MCR(up, UART_MCR_LOOP | UART_MCR_OUT2 | UART_MCR_RTS); in autoconfig()
1356 serial8250_out_MCR(up, UART_MCR_DTR | UART_MCR_RTS); in autoconfig_irq()
1359 UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2); in autoconfig_irq()
1418 mcr |= UART_MCR_RTS; in serial8250_em485_stop_tx()
1420 mcr &= ~UART_MCR_RTS; in serial8250_em485_stop_tx()
1583 mcr |= UART_MCR_RTS; in serial8250_em485_start_tx()
1585 mcr &= ~UART_MCR_RTS; in serial8250_em485_start_tx()
3356 serial8250_out_MCR(up, up->mcr | UART_MCR_DTR | UART_MCR_RTS); in serial8250_console_restore()
D8250_ingenic.c116 early_out(port, UART_MCR, UART_MCR_RTS | UART_MCR_DTR); in ingenic_earlycon_setup_tail()
/linux-6.6.21/drivers/usb/serial/
Dmxuport.c647 mcr_state &= ~UART_MCR_RTS; in mxuport_set_rts()
650 mcr_state |= UART_MCR_RTS; in mxuport_set_rts()
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()
710 mcr_state |= UART_MCR_RTS; in mxuport_tiocmset()
716 mcr_state &= ~UART_MCR_RTS; in mxuport_tiocmset()
751 ((mcr & UART_MCR_RTS) ? TIOCM_RTS : 0) | /* 0x004 */ in mxuport_tiocmget()
Dssu100.c33 #define SERIAL_CRTSCTS ((UART_MCR_RTS << 8) | UART_MSR_CTS)
149 urb_value |= UART_MCR_RTS; in update_mctrl()
368 (d[0] & UART_MCR_RTS ? TIOCM_RTS : 0) | in ssu100_tiocmget()
Dwhiteheat.c411 if (info->mcr & UART_MCR_RTS) in whiteheat_tiocmget()
424 info->mcr |= UART_MCR_RTS; in whiteheat_tiocmset()
429 info->mcr &= ~UART_MCR_RTS; in whiteheat_tiocmset()
434 firm_set_rts(port, info->mcr & UART_MCR_RTS); in whiteheat_tiocmset()
Dark3116.c395 (ctrl & UART_MCR_RTS ? TIOCM_RTS : 0) | in ark3116_tiocmget()
413 priv->mcr |= UART_MCR_RTS; in ark3116_tiocmset()
421 priv->mcr &= ~UART_MCR_RTS; in ark3116_tiocmset()
Dmos7720.c1143 mos7720_port->shadowMCR &= ~UART_MCR_RTS; in mos7720_throttle()
1173 mos7720_port->shadowMCR |= UART_MCR_RTS; in mos7720_unthrottle()
1442 mos7720_port->shadowMCR |= (UART_MCR_DTR | UART_MCR_RTS); in change_port_settings()
1569 | ((mcr & UART_MCR_RTS) ? TIOCM_RTS : 0) /* 0x004 */ in mos7720_tiocmget()
1588 mcr |= UART_MCR_RTS; in mos7720_tiocmset()
1595 mcr &= ~UART_MCR_RTS; in mos7720_tiocmset()
Dquatech2.c43 #define SERIAL_CRTSCTS ((UART_MCR_RTS << 8) | UART_MSR_CTS)
226 urb_value |= UART_MCR_RTS; in update_mctrl()
724 (d[0] & UART_MCR_RTS ? TIOCM_RTS : 0) | in qt2_tiocmget()
Df81232.c262 val &= ~UART_MCR_RTS; in f81232_set_mctrl()
268 val |= UART_MCR_RTS; in f81232_set_mctrl()
683 (mcr & UART_MCR_RTS ? TIOCM_RTS : 0) | in f81232_tiocmget()
Df81534.c704 tmp &= ~UART_MCR_RTS; in f81534_update_mctrl()
710 tmp |= UART_MCR_RTS; in f81534_update_mctrl()
1444 (mcr & UART_MCR_RTS ? TIOCM_RTS : 0) | in f81534_tiocmget()
/linux-6.6.21/drivers/accessibility/speakup/
Dserialio.c96 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()
Dspeakup_apollo.c179 synth->io_ops->tiocmset(synth, 0, UART_MCR_RTS); in do_catch_up()
180 synth->io_ops->tiocmset(synth, UART_MCR_RTS, 0); in do_catch_up()
/linux-6.6.21/drivers/tty/serial/jsm/
Djsm_neo.c102 ch->ch_mostat |= (UART_MCR_RTS); in neo_set_rts_flow_control()
598 !!((ch->ch_mistat | ch->ch_mostat) & UART_MCR_RTS), in neo_parse_modem()
803 if (cause & UART_MCR_RTS) in neo_parse_isr()
804 ch->ch_mostat |= UART_MCR_RTS; in neo_parse_isr()
806 ch->ch_mostat &= ~(UART_MCR_RTS); in neo_parse_isr()
949 ch->ch_mostat &= ~(UART_MCR_RTS | UART_MCR_DTR); in neo_param()
Djsm_tty.c40 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()
292 channel->ch_mostat &= ~(UART_MCR_DTR | UART_MCR_RTS); in jsm_tty_close()
Djsm_cls.c541 !!((ch->ch_mistat | ch->ch_mostat) & UART_MCR_RTS), in cls_parse_modem()
703 ch->ch_mostat &= ~(UART_MCR_RTS | UART_MCR_DTR); in cls_param()
/linux-6.6.21/drivers/tty/
Dmxser.c477 mcr |= UART_MCR_DTR | UART_MCR_RTS; in mxser_dtr_rts()
479 mcr &= ~(UART_MCR_DTR | UART_MCR_RTS); in mxser_dtr_rts()
779 info->MCR = UART_MCR_DTR | UART_MCR_RTS; in mxser_activate()
1112 return ((control & UART_MCR_RTS) ? TIOCM_RTS : 0) | in mxser_tiocmget()
1132 info->MCR |= UART_MCR_RTS; in mxser_tiocmset()
1137 info->MCR &= ~UART_MCR_RTS; in mxser_tiocmset()
1293 info->MCR &= ~UART_MCR_RTS; in mxser_throttle()
1320 info->MCR |= UART_MCR_RTS; in mxser_unthrottle()
/linux-6.6.21/drivers/tty/serial/
Dsunplus-uart.c109 mcr |= UART_MCR_RTS; in sunplus_set_mctrl()
111 mcr &= ~UART_MCR_RTS; in sunplus_set_mctrl()
140 if (mcr & UART_MCR_RTS) in sunplus_get_mctrl()
/linux-6.6.21/include/uapi/linux/
Dserial_reg.h135 #define UART_MCR_RTS 0x02 /* RTS complement */ macro
/linux-6.6.21/drivers/ssb/
Ddriver_extif.c47 regs[UART_MCR] = (UART_MCR_LOOP | UART_MCR_OUT2 | UART_MCR_RTS); in serial_exists()
/linux-6.6.21/drivers/bluetooth/
Ddtl1_cs.c479 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase + UART_MCR); in dtl1_open()

12