/linux-5.19.10/drivers/ssb/ |
D | driver_extif.c | 48 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-5.19.10/drivers/tty/serial/jsm/ |
D | jsm_cls.c | 513 uart_handle_dcd_change(&ch->uart_port, msignals & UART_MSR_DCD); in cls_parse_modem() 517 if (msignals & UART_MSR_DCD) in cls_parse_modem() 518 ch->ch_mistat |= UART_MSR_DCD; in cls_parse_modem() 520 ch->ch_mistat &= ~UART_MSR_DCD; in cls_parse_modem() 545 !!((ch->ch_mistat | ch->ch_mostat) & UART_MSR_DCD)); in cls_parse_modem()
|
D | jsm_neo.c | 571 uart_handle_dcd_change(&ch->uart_port, msignals & UART_MSR_DCD); in neo_parse_modem() 574 if (msignals & UART_MSR_DCD) in neo_parse_modem() 575 ch->ch_mistat |= UART_MSR_DCD; in neo_parse_modem() 577 ch->ch_mistat &= ~UART_MSR_DCD; in neo_parse_modem() 602 !!((ch->ch_mistat | ch->ch_mostat) & UART_MSR_DCD)); in neo_parse_modem()
|
D | jsm_tty.c | 48 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-5.19.10/include/uapi/linux/ |
D | serial_reg.h | 145 #define UART_MSR_DCD 0x80 /* Data Carrier Detect */ macro
|
/linux-5.19.10/drivers/usb/serial/ |
D | mxuport.c | 367 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()
|
D | f81232.c | 234 current_msr & UART_MSR_DCD); in f81232_read_msr() 680 (msr & UART_MSR_DCD ? TIOCM_CAR : 0) | in f81232_tiocmget() 783 if (msr & UART_MSR_DCD) in f81232_carrier_raised()
|
D | f81534.c | 766 msr_mask = UART_MSR_DCD | UART_MSR_RI | UART_MSR_DSR | UART_MSR_CTS; in f81534_check_port_hw_disabled() 1038 usb_serial_handle_dcd_change(port, tty, msr & UART_MSR_DCD); in f81534_msr_changed() 1442 (msr & UART_MSR_DCD ? TIOCM_CAR : 0) | in f81534_tiocmget()
|
D | ssu100.c | 370 (d[1] & UART_MSR_DCD ? TIOCM_CAR : 0) | in ssu100_tiocmget()
|
D | ark3116.c | 393 (status & UART_MSR_DCD ? TIOCM_CD : 0) | in ark3116_tiocmget()
|
D | quatech2.c | 734 (d[1] & UART_MSR_DCD ? TIOCM_CAR : 0) | in qt2_tiocmget()
|
D | mos7720.c | 1569 | ((msr & UART_MSR_DCD) ? TIOCM_CAR : 0) /* 0x040 */ in mos7720_tiocmget()
|
/linux-5.19.10/drivers/media/rc/ |
D | serial_ir.c | 69 .signal_pin = UART_MSR_DCD, 105 .signal_pin = UART_MSR_DCD,
|
/linux-5.19.10/drivers/tty/serial/8250/ |
D | 8250.h | 253 if (msr & UART_MSR_DCD) in serial8250_MSR_to_TIOCM()
|
D | 8250_dw.c | 564 data->msr_mask_on |= UART_MSR_DCD; in dw8250_probe()
|
D | 8250_port.c | 1887 uart_handle_dcd_change(port, status & UART_MSR_DCD); in serial8250_modem_status()
|
/linux-5.19.10/drivers/tty/serial/ |
D | vr41xx_siu.c | 210 if (msr & UART_MSR_DCD) in siu_get_mctrl() 362 uart_handle_dcd_change(port, msr & UART_MSR_DCD); in check_modem_status()
|
D | pxa.c | 232 uart_handle_dcd_change(&up->port, status & UART_MSR_DCD); in check_modem_status() 283 if (status & UART_MSR_DCD) in serial_pxa_get_mctrl()
|
D | sunsu.c | 447 uart_handle_dcd_change(&up->port, status & UART_MSR_DCD); in check_modem_status() 566 if (status & UART_MSR_DCD) in sunsu_get_mctrl()
|
D | omap-serial.c | 453 (&up->port, status & UART_MSR_DCD); in check_modem_status() 626 if (status & UART_MSR_DCD) in serial_omap_get_mctrl()
|
D | serial-tegra.c | 825 uart_handle_dcd_change(&tup->uport, msr & UART_MSR_DCD); in tegra_uart_handle_modem_signal_change()
|
D | pch_uart.c | 1116 if (modem & UART_MSR_DCD) in pch_uart_get_mctrl()
|
/linux-5.19.10/drivers/mmc/core/ |
D | sdio_uart.c | 203 if (status & UART_MSR_DCD) in sdio_uart_get_mctrl() 467 if (status & UART_MSR_DCD) in sdio_uart_check_modem_status()
|
/linux-5.19.10/drivers/tty/ |
D | mxser.c | 464 return (inb(mp->ioaddr + UART_MSR) & UART_MSR_DCD)?1:0; in mxser_carrier_raised() 704 if (msr & UART_MSR_DCD) in mxser_check_modem_status() 1112 ((msr & UART_MSR_DCD) ? TIOCM_CAR : 0) | in mxser_tiocmget()
|
/linux-5.19.10/samples/vfio-mdev/ |
D | mtty.c | 575 *buf = UART_MSR_DSR | UART_MSR_DDSR | UART_MSR_DCD; in handle_bar_read()
|