Home
last modified time | relevance | path

Searched refs:UART_MCR_DTR (Results 1 – 25 of 29) sorted by relevance

12

/linux-5.19.10/sound/drivers/
Dserial-u16550.c402 | 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()
/linux-5.19.10/drivers/media/rc/
Dserial_ir.c71 .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),
/linux-5.19.10/drivers/usb/serial/
Dmxuport.c625 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()
Dwhiteheat.c408 if (info->mcr & UART_MCR_DTR) in whiteheat_tiocmget()
425 info->mcr |= UART_MCR_DTR; in whiteheat_tiocmset()
430 info->mcr &= ~UART_MCR_DTR; in whiteheat_tiocmset()
432 firm_set_dtr(port, info->mcr & UART_MCR_DTR); in whiteheat_tiocmset()
Dark3116.c394 (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()
Dssu100.c147 urb_value |= UART_MCR_DTR; in update_mctrl()
367 r = (d[0] & UART_MCR_DTR ? TIOCM_DTR : 0) | in ssu100_tiocmget()
Df81232.c262 val &= ~UART_MCR_DTR; in f81232_set_mctrl()
268 val |= UART_MCR_DTR; in f81232_set_mctrl()
677 r = (mcr & UART_MCR_DTR ? TIOCM_DTR : 0) | in f81232_tiocmget()
Dmos7720.c1441 mos7720_port->shadowMCR |= (UART_MCR_DTR | UART_MCR_RTS); in change_port_settings()
1566 result = ((mcr & UART_MCR_DTR) ? TIOCM_DTR : 0) /* 0x002 */ in mos7720_tiocmget()
1588 mcr |= UART_MCR_DTR; in mos7720_tiocmset()
1595 mcr &= ~UART_MCR_DTR; in mos7720_tiocmset()
Df81534.c697 tmp &= ~UART_MCR_DTR; in f81534_update_mctrl()
703 tmp |= UART_MCR_DTR; in f81534_update_mctrl()
1439 r = (mcr & UART_MCR_DTR ? TIOCM_DTR : 0) | in f81534_tiocmget()
Dquatech2.c232 urb_value |= UART_MCR_DTR; in update_mctrl()
731 r = (d[0] & UART_MCR_DTR ? TIOCM_DTR : 0) | in qt2_tiocmget()
/linux-5.19.10/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()
/linux-5.19.10/drivers/tty/serial/8250/
D8250.h219 mcr |= UART_MCR_DTR; in serial8250_TIOCM_to_MCR()
236 if (mcr & UART_MCR_DTR) in serial8250_MCR_to_TIOCM()
D8250_ingenic.c119 early_out(port, UART_MCR, UART_MCR_RTS | UART_MCR_DTR); in ingenic_early_console_setup()
D8250_port.c1392 serial8250_out_MCR(up, UART_MCR_DTR | UART_MCR_RTS); in autoconfig_irq()
1395 UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2); in autoconfig_irq()
3333 serial8250_out_MCR(up, up->mcr | UART_MCR_DTR | UART_MCR_RTS); in serial8250_console_restore()
/linux-5.19.10/drivers/tty/serial/jsm/
Djsm_tty.c38 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()
Djsm_neo.c597 !!((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()
Djsm_cls.c540 !!((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()
/linux-5.19.10/drivers/tty/
Dmxser.c476 mcr |= UART_MCR_DTR | UART_MCR_RTS; in mxser_dtr_rts()
478 mcr &= ~(UART_MCR_DTR | UART_MCR_RTS); in mxser_dtr_rts()
515 info->MCR |= UART_MCR_DTR; in mxser_set_baud()
518 info->MCR &= ~UART_MCR_DTR; in mxser_set_baud()
777 info->MCR = UART_MCR_DTR | UART_MCR_RTS; in mxser_activate()
1111 ((control & UART_MCR_DTR) ? TIOCM_DTR : 0) | in mxser_tiocmget()
1132 info->MCR |= UART_MCR_DTR; in mxser_tiocmset()
1137 info->MCR &= ~UART_MCR_DTR; in mxser_tiocmset()
/linux-5.19.10/drivers/tty/serial/
Dsunplus-uart.c104 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()
Dserial-tegra.c213 mcr |= UART_MCR_DTR; in set_dtr()
215 mcr &= ~UART_MCR_DTR; in set_dtr()
Domap-serial.c646 mcr |= UART_MCR_DTR; in serial_omap_set_mctrl()
656 UART_MCR_DTR | UART_MCR_RTS); in serial_omap_set_mctrl()
Dvr41xx_siu.c191 mcr |= UART_MCR_DTR; in siu_set_mctrl()
/linux-5.19.10/include/uapi/linux/
Dserial_reg.h131 #define UART_MCR_DTR 0x01 /* DTR complement */ macro
/linux-5.19.10/drivers/bluetooth/
Ddtl1_cs.c479 outb((UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2), iobase + UART_MCR); in dtl1_open()
/linux-5.19.10/samples/vfio-mdev/
Dmtty.c439 (data & (UART_MCR_RTS | UART_MCR_DTR))) { in handle_bar_write()
533 (UART_MCR_RTS | UART_MCR_DTR))) in handle_bar_read()

12