Home
last modified time | relevance | path

Searched refs:UART_MSR_DCD (Results 1 – 19 of 19) sorted by relevance

/linux/include/linux/
H A Dserial.h31 #define UART_MSR_STATUS_BITS (UART_MSR_DCD | \
/linux/drivers/ssb/
H A Ddriver_extif.c48 msr = regs[UART_MSR] & (UART_MSR_DCD | UART_MSR_RI in serial_exists()
52 return (msr == (UART_MSR_DCD | UART_MSR_CTS)); in serial_exists()
/linux/drivers/tty/serial/jsm/
H A Djsm_tty.c48 if (mstat & UART_MSR_DCD) in jsm_get_mstat()
659 if (ch->ch_mistat & UART_MSR_DCD) { in jsm_carrier()
661 ch->ch_mistat, ch->ch_mistat & UART_MSR_DCD); in jsm_carrier()
/linux/drivers/usb/serial/
H A Dmxuport.c367 if (rcv_msr_hold & UART_MSR_DCD) { in mxuport_msr_event()
368 mxport->msr_state |= UART_MSR_DCD; in mxuport_msr_event()
371 mxport->msr_state &= ~UART_MSR_DCD; in mxuport_msr_event()
753 ((msr & UART_MSR_DCD) ? TIOCM_CAR : 0) | /* 0x040 */ in mxuport_tiocmget()
H A Df81232.c231 current_msr & UART_MSR_DCD); in f81232_read_msr()
685 (msr & UART_MSR_DCD ? TIOCM_CAR : 0) | in f81232_tiocmget()
788 if (msr & UART_MSR_DCD) in f81232_carrier_raised()
H A Df81534.c770 msr_mask = UART_MSR_DCD | UART_MSR_RI | UART_MSR_DSR | UART_MSR_CTS; in f81534_check_port_hw_disabled()
1042 usb_serial_handle_dcd_change(port, tty, msr & UART_MSR_DCD); in f81534_msr_changed()
1446 (msr & UART_MSR_DCD ? TIOCM_CAR : 0) | in f81534_tiocmget()
H A Dssu100.c370 (d[1] & UART_MSR_DCD ? TIOCM_CAR : 0) | in ssu100_tiocmget()
H A Dark3116.c393 (status & UART_MSR_DCD ? TIOCM_CD : 0) | in ark3116_tiocmget()
H A Dquatech2.c726 (d[1] & UART_MSR_DCD ? TIOCM_CAR : 0) | in qt2_tiocmget()
H A Dmos7720.c1571 | ((msr & UART_MSR_DCD) ? TIOCM_CAR : 0) /* 0x040 */ in mos7720_tiocmget()
/linux/include/uapi/linux/
H A Dserial_reg.h151 #define UART_MSR_DCD 0x80 /* Data Carrier Detect */ macro
/linux/drivers/tty/serial/
H A Dpxa.c210 uart_handle_dcd_change(&up->port, status & UART_MSR_DCD); in check_modem_status()
261 if (status & UART_MSR_DCD) in serial_pxa_get_mctrl()
H A Dsunsu.c447 uart_handle_dcd_change(&up->port, status & UART_MSR_DCD); in check_modem_status()
566 if (status & UART_MSR_DCD) in sunsu_get_mctrl()
/linux/drivers/tty/serial/8250/
H A D8250.h281 if (msr & UART_MSR_DCD) in serial8250_MSR_to_TIOCM()
H A D8250_dw.c575 data->msr_mask_on |= UART_MSR_DCD; in dw8250_probe()
H A D8250_port.c1218 if (status1 != (UART_MSR_DCD | UART_MSR_CTS)) { in autoconfig()
1849 uart_handle_dcd_change(port, status & UART_MSR_DCD); in serial8250_modem_status()
/linux/drivers/mmc/core/
H A Dsdio_uart.c201 if (status & UART_MSR_DCD) in sdio_uart_get_mctrl()
463 if (status & UART_MSR_DCD) in sdio_uart_check_modem_status()
/linux/drivers/tty/
H A Dmxser.c462 return inb(mp->ioaddr + UART_MSR) & UART_MSR_DCD; in mxser_carrier_raised()
703 if (msr & UART_MSR_DCD) in mxser_check_modem_status()
1111 ((msr & UART_MSR_DCD) ? TIOCM_CAR : 0) | in mxser_tiocmget()
/linux/samples/vfio-mdev/
H A Dmtty.c646 *buf = UART_MSR_DSR | UART_MSR_DDSR | UART_MSR_DCD; in handle_bar_read()