/Linux-v5.10/drivers/tty/serial/ |
D | serial_mctrl_gpio.c | 34 { "dcd", TIOCM_CD, GPIOD_IN, }, 155 #define MCTRL_ANY_DELTA (TIOCM_RI | TIOCM_DSR | TIOCM_CD | TIOCM_CTS) 178 if (mctrl_diff & TIOCM_CD) in mctrl_gpio_irq_handle() 179 uart_handle_dcd_change(port, mctrl & TIOCM_CD); in mctrl_gpio_irq_handle()
|
D | mxs-auart.c | 750 #define MCTRL_ANY_DELTA (TIOCM_RI | TIOCM_DSR | TIOCM_CD | TIOCM_CTS) 763 if (mctrl_diff & TIOCM_CD) in mxs_auart_modem_status() 764 uart_handle_dcd_change(&s->port, mctrl & TIOCM_CD); in mxs_auart_modem_status()
|
/Linux-v5.10/arch/ia64/include/uapi/asm/ |
D | termios.h | 42 #define TIOCM_CD TIOCM_CAR macro
|
/Linux-v5.10/arch/parisc/include/uapi/asm/ |
D | termios.h | 35 #define TIOCM_CD TIOCM_CAR macro
|
/Linux-v5.10/arch/s390/include/uapi/asm/ |
D | termios.h | 41 #define TIOCM_CD TIOCM_CAR macro
|
/Linux-v5.10/include/uapi/asm-generic/ |
D | termios.h | 42 #define TIOCM_CD TIOCM_CAR macro
|
/Linux-v5.10/arch/mips/include/uapi/asm/ |
D | termios.h | 72 #define TIOCM_CD TIOCM_CAR macro
|
/Linux-v5.10/arch/xtensa/include/uapi/asm/ |
D | ioctls.h | 68 # define TIOCM_CD TIOCM_CAR macro
|
/Linux-v5.10/arch/sh/include/uapi/asm/ |
D | ioctls.h | 56 # define TIOCM_CD TIOCM_CAR macro
|
/Linux-v5.10/arch/powerpc/include/uapi/asm/ |
D | ioctls.h | 64 # define TIOCM_CD TIOCM_CAR macro
|
/Linux-v5.10/arch/alpha/include/uapi/asm/ |
D | ioctls.h | 69 # define TIOCM_CD TIOCM_CAR macro
|
/Linux-v5.10/drivers/tty/hvc/ |
D | hvsi_lib.c | 50 pv->mctrl |= TIOCM_CD; in hvsi_cd_change() 52 pv->mctrl &= ~TIOCM_CD; in hvsi_cd_change()
|
D | hvsi.c | 235 hp->mctrl &= TIOCM_CD; in hvsi_recv_control() 269 hp->mctrl |= TIOCM_CD; in hvsi_recv_response()
|
/Linux-v5.10/arch/sparc/include/uapi/asm/ |
D | termbits.h | 238 #define TIOCM_CD TIOCM_CAR macro
|
/Linux-v5.10/drivers/usb/serial/ |
D | belkin_sa.c | 223 priv->control_state |= TIOCM_CD; in belkin_sa_read_int_callback() 225 priv->control_state &= ~TIOCM_CD; in belkin_sa_read_int_callback()
|
D | mct_u232.c | 367 *control_state |= TIOCM_CD; in mct_u232_msr_to_state() 369 *control_state &= ~TIOCM_CD; in mct_u232_msr_to_state()
|
D | spcp8x5.c | 459 | ((status & MSR_STATUS_LINE_DCD) ? TIOCM_CD : 0); in spcp8x5_tiocmget()
|
D | iuu_phoenix.c | 1019 iuu_cardin = TIOCM_CD; in iuu_open() 1024 iuu_cardout = TIOCM_CD; in iuu_open()
|
D | ark3116.c | 421 (status & UART_MSR_DCD ? TIOCM_CD : 0) | in ark3116_tiocmget()
|
/Linux-v5.10/drivers/staging/greybus/ |
D | uart.c | 547 (gb_tty->ctrlin & GB_UART_CTRL_DCD ? TIOCM_CD : 0) | in gb_tty_tiocmget() 658 if (!(arg & (TIOCM_DSR | TIOCM_RI | TIOCM_CD))) in wait_serial_change() 670 if ((arg & TIOCM_CD) && (old.dcd != new.dcd)) in wait_serial_change() 680 if (arg & TIOCM_CD) in wait_serial_change()
|
/Linux-v5.10/net/bluetooth/rfcomm/ |
D | tty.c | 649 if ((dev->modem_status & TIOCM_CD) && !(v24_sig & RFCOMM_V24_DV)) in rfcomm_dev_modem_status() 656 ((v24_sig & RFCOMM_V24_DV) ? TIOCM_CD : 0); in rfcomm_dev_modem_status() 1085 if (set & TIOCM_CD) in rfcomm_tty_tiocmset() 1094 if (clear & TIOCM_CD) in rfcomm_tty_tiocmset()
|
/Linux-v5.10/arch/arm/mach-sa1100/ |
D | collie.c | 183 int ret = TIOCM_CD; in collie_uart_get_mctrl()
|
/Linux-v5.10/drivers/tty/ |
D | n_gsm.c | 436 if (dlci->modem_tx & TIOCM_CD) in gsm_encode_modem() 1050 mlines |= TIOCM_CD; in gsm_process_modem() 1054 if ((mlines & TIOCM_CD) == 0 && (dlci->modem_rx & TIOCM_CD)) in gsm_process_modem() 2907 return dlci->modem_rx & TIOCM_CD; in gsm_carrier_raised()
|
/Linux-v5.10/drivers/tty/ipwireless/ |
D | tty.c | 301 out |= TIOCM_CD; in get_control_lines()
|
/Linux-v5.10/drivers/usb/class/ |
D | cdc-acm.c | 892 (acm->ctrlin & ACM_CTRL_DCD ? TIOCM_CD : 0) | in acm_tty_tiocmget() 979 if ((arg & TIOCM_CD) && in wait_serial_change() 991 if (arg & TIOCM_CD) in wait_serial_change()
|