Home
last modified time | relevance | path

Searched refs:UART_MSR_CTS (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/drivers/ssb/
Ddriver_extif.c49 | UART_MSR_CTS | UART_MSR_DSR); in serial_exists()
52 return (msr == (UART_MSR_DCD | UART_MSR_CTS)); in serial_exists()
/linux-6.1.9/drivers/tty/serial/jsm/
Djsm_cls.c515 uart_handle_dcd_change(&ch->uart_port, msignals & UART_MSR_CTS); in cls_parse_modem()
532 if (msignals & UART_MSR_CTS) in cls_parse_modem()
533 ch->ch_mistat |= UART_MSR_CTS; in cls_parse_modem()
535 ch->ch_mistat &= ~UART_MSR_CTS; in cls_parse_modem()
542 !!((ch->ch_mistat | ch->ch_mostat) & UART_MSR_CTS), in cls_parse_modem()
Djsm_neo.c573 uart_handle_cts_change(&ch->uart_port, msignals & UART_MSR_CTS); in neo_parse_modem()
589 if (msignals & UART_MSR_CTS) in neo_parse_modem()
590 ch->ch_mistat |= UART_MSR_CTS; in neo_parse_modem()
592 ch->ch_mistat &= ~UART_MSR_CTS; in neo_parse_modem()
599 !!((ch->ch_mistat | ch->ch_mostat) & UART_MSR_CTS), in neo_parse_modem()
Djsm_tty.c42 if (mstat & UART_MSR_CTS) in jsm_get_mstat()
/linux-6.1.9/arch/arm/include/debug/
D8250.S53 tst \rd, #UART_MSR_CTS
Dtegra.S212 tst \rd, #UART_MSR_CTS
/linux-6.1.9/include/uapi/linux/
Dserial_reg.h148 #define UART_MSR_CTS 0x10 /* Clear to Send */ macro
/linux-6.1.9/drivers/usb/serial/
Dmxuport.c351 if (rcv_msr_hold & UART_MSR_CTS) { in mxuport_msr_event()
352 mxport->msr_state |= UART_MSR_CTS; in mxuport_msr_event()
355 mxport->msr_state &= ~UART_MSR_CTS; in mxuport_msr_event()
752 ((msr & UART_MSR_CTS) ? TIOCM_CTS : 0) | /* 0x020 */ in mxuport_tiocmget()
Dssu100.c33 #define SERIAL_CRTSCTS ((UART_MCR_RTS << 8) | UART_MSR_CTS)
369 (d[1] & UART_MSR_CTS ? TIOCM_CTS : 0) | in ssu100_tiocmget()
Dquatech2.c43 #define SERIAL_CRTSCTS ((UART_MCR_RTS << 8) | UART_MSR_CTS)
733 (d[1] & UART_MSR_CTS ? TIOCM_CTS : 0) | in qt2_tiocmget()
Dark3116.c391 (status & UART_MSR_CTS ? TIOCM_CTS : 0) | in ark3116_tiocmget()
Df81534.c768 msr_mask = UART_MSR_DCD | UART_MSR_RI | UART_MSR_DSR | UART_MSR_CTS; in f81534_check_port_hw_disabled()
1443 (msr & UART_MSR_CTS ? TIOCM_CTS : 0) | in f81534_tiocmget()
Df81232.c682 (msr & UART_MSR_CTS ? TIOCM_CTS : 0) | in f81232_tiocmget()
/linux-6.1.9/drivers/tty/serial/
Dpxa.c235 uart_handle_cts_change(&up->port, status & UART_MSR_CTS); in check_modem_status()
290 if (status & UART_MSR_CTS) in serial_pxa_get_mctrl()
602 ((serial_in(up, UART_MSR) & UART_MSR_CTS) == 0)) in wait_for_xmitr()
Dsunsu.c449 uart_handle_cts_change(&up->port, status & UART_MSR_CTS); in check_modem_status()
572 if (status & UART_MSR_CTS) in sunsu_get_mctrl()
1275 ((serial_in(up, UART_MSR) & UART_MSR_CTS) == 0)) in wait_for_xmitr()
Dserial-tegra.c829 uart_handle_cts_change(&tup->uport, msr & UART_MSR_CTS); in tegra_uart_handle_modem_signal_change()
953 if ((mcr & TEGRA_UART_MCR_CTS_EN) && (msr & UART_MSR_CTS)) in tegra_uart_hw_deinit()
966 (msr & UART_MSR_CTS)) in tegra_uart_hw_deinit()
Domap-serial.c458 (&up->port, status & UART_MSR_CTS); in check_modem_status()
634 if (status & UART_MSR_CTS) in serial_omap_get_mctrl()
1130 if (msr & UART_MSR_CTS) in wait_for_xmitr()
Dpch_uart.c1126 if (modem & UART_MSR_CTS) in pch_uart_get_mctrl()
1471 if (msr & UART_MSR_CTS) in wait_for_xmitr()
/linux-6.1.9/drivers/accessibility/speakup/
Dserialio.c242 while (!((inb_p(speakup_info.port_tts + UART_MSR)) & UART_MSR_CTS)) { in spk_serial_wait_for_xmitr()
/linux-6.1.9/drivers/tty/serial/8250/
D8250.h261 if (msr & UART_MSR_CTS) in serial8250_MSR_to_TIOCM()
D8250_dw.c584 data->msr_mask_on |= UART_MSR_CTS; in dw8250_probe()
/linux-6.1.9/sound/drivers/
Dserial-u16550.c244 while (uart->fifo_count == 0 && (status & UART_MSR_CTS) && in snd_uart16550_io_loop()
603 && (inb(uart->base + UART_MSR) & UART_MSR_CTS)))) { /* CTS? */ in snd_uart16550_output_byte()
/linux-6.1.9/drivers/mmc/core/
Dsdio_uart.c209 if (status & UART_MSR_CTS) in sdio_uart_get_mctrl()
478 int cts = (status & UART_MSR_CTS); in sdio_uart_check_modem_status()
/linux-6.1.9/samples/vfio-mdev/
Dmtty.c597 *buf |= UART_MSR_CTS | UART_MSR_DCTS; in handle_bar_read()
599 *buf |= UART_MSR_CTS | UART_MSR_DCTS; in handle_bar_read()
/linux-6.1.9/drivers/tty/
Dmxser.c551 bool cts = msr & UART_MSR_CTS; in mxser_handle_cts()
1116 ((msr & UART_MSR_CTS) ? TIOCM_CTS : 0); in mxser_tiocmget()

12