Home
last modified time | relevance | path

Searched refs:TIOCM_CD (Results 1 – 25 of 48) sorted by relevance

12

/linux/drivers/tty/serial/
A Dserial_mctrl_gpio.c34 { "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()
A Dmxs-auart.c740 #define MCTRL_ANY_DELTA (TIOCM_RI | TIOCM_DSR | TIOCM_CD | TIOCM_CTS)
753 if (mctrl_diff & TIOCM_CD) in mxs_auart_modem_status()
754 uart_handle_dcd_change(&s->port, mctrl & TIOCM_CD); in mxs_auart_modem_status()
/linux/arch/parisc/include/uapi/asm/
A Dtermios.h35 #define TIOCM_CD TIOCM_CAR macro
/linux/arch/ia64/include/uapi/asm/
A Dtermios.h42 #define TIOCM_CD TIOCM_CAR macro
/linux/arch/s390/include/uapi/asm/
A Dtermios.h41 #define TIOCM_CD TIOCM_CAR macro
/linux/include/uapi/asm-generic/
A Dtermios.h42 #define TIOCM_CD TIOCM_CAR macro
/linux/arch/mips/include/uapi/asm/
A Dtermios.h72 #define TIOCM_CD TIOCM_CAR macro
/linux/arch/xtensa/include/uapi/asm/
A Dioctls.h68 # define TIOCM_CD TIOCM_CAR macro
/linux/arch/sh/include/uapi/asm/
A Dioctls.h56 # define TIOCM_CD TIOCM_CAR macro
/linux/arch/powerpc/include/uapi/asm/
A Dioctls.h64 # define TIOCM_CD TIOCM_CAR macro
/linux/drivers/tty/hvc/
A Dhvsi_lib.c50 pv->mctrl |= TIOCM_CD; in hvsi_cd_change()
52 pv->mctrl &= ~TIOCM_CD; in hvsi_cd_change()
A Dhvsi.c235 hp->mctrl &= TIOCM_CD; in hvsi_recv_control()
269 hp->mctrl |= TIOCM_CD; in hvsi_recv_response()
/linux/arch/alpha/include/uapi/asm/
A Dioctls.h69 # define TIOCM_CD TIOCM_CAR macro
/linux/drivers/staging/greybus/
A Duart.c533 (gb_tty->ctrlin & GB_UART_CTRL_DCD ? TIOCM_CD : 0) | in gb_tty_tiocmget()
642 if (!(arg & (TIOCM_DSR | TIOCM_RI | TIOCM_CD))) in wait_serial_change()
654 if ((arg & TIOCM_CD) && (old.dcd != new.dcd)) in wait_serial_change()
664 if (arg & TIOCM_CD) in wait_serial_change()
/linux/drivers/usb/serial/
A Dbelkin_sa.c221 priv->control_state |= TIOCM_CD; in belkin_sa_read_int_callback()
223 priv->control_state &= ~TIOCM_CD; in belkin_sa_read_int_callback()
A Dmct_u232.c367 *control_state |= TIOCM_CD; in mct_u232_msr_to_state()
369 *control_state &= ~TIOCM_CD; in mct_u232_msr_to_state()
A Dspcp8x5.c457 | ((status & MSR_STATUS_LINE_DCD) ? TIOCM_CD : 0); in spcp8x5_tiocmget()
A Diuu_phoenix.c1023 iuu_cardin = TIOCM_CD; in iuu_open()
1028 iuu_cardout = TIOCM_CD; in iuu_open()
A Dark3116.c407 (status & UART_MSR_DCD ? TIOCM_CD : 0) | in ark3116_tiocmget()
/linux/net/bluetooth/rfcomm/
A Dtty.c651 if ((dev->modem_status & TIOCM_CD) && !(v24_sig & RFCOMM_V24_DV)) in rfcomm_dev_modem_status()
658 ((v24_sig & RFCOMM_V24_DV) ? TIOCM_CD : 0); in rfcomm_dev_modem_status()
1087 if (set & TIOCM_CD) in rfcomm_tty_tiocmset()
1096 if (clear & TIOCM_CD) in rfcomm_tty_tiocmset()
/linux/arch/sparc/include/uapi/asm/
A Dtermbits.h238 #define TIOCM_CD TIOCM_CAR macro
/linux/arch/arm/mach-sa1100/
A Dcollie.c203 int ret = TIOCM_CD; in collie_uart_get_mctrl()
/linux/drivers/tty/
A Dn_gsm.c441 if (dlci->modem_tx & TIOCM_CD) in gsm_encode_modem()
1061 mlines |= TIOCM_CD; in gsm_process_modem()
1065 if ((mlines & TIOCM_CD) == 0 && (dlci->modem_rx & TIOCM_CD)) in gsm_process_modem()
2980 return dlci->modem_rx & TIOCM_CD; in gsm_carrier_raised()
/linux/drivers/tty/ipwireless/
A Dtty.c299 out |= TIOCM_CD; in get_control_lines()
/linux/drivers/usb/class/
A Dcdc-acm.c914 (acm->ctrlin & ACM_CTRL_DCD ? TIOCM_CD : 0) | in acm_tty_tiocmget()
991 if ((arg & TIOCM_CD) && in wait_serial_change()
1003 if (arg & TIOCM_CD) in wait_serial_change()

Completed in 44 milliseconds

12