Home
last modified time | relevance | path

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

12

/linux/drivers/tty/serial/
H A Dserial_mctrl_gpio.c34 { "dcd", TIOCM_CD, GPIOD_IN, },
176 #define MCTRL_ANY_DELTA (TIOCM_RI | TIOCM_DSR | TIOCM_CD | TIOCM_CTS)
199 if (mctrl_diff & TIOCM_CD) in mctrl_gpio_irq_handle()
200 uart_handle_dcd_change(port, mctrl & TIOCM_CD); in mctrl_gpio_irq_handle()
H A Dmxs-auart.c715 #define MCTRL_ANY_DELTA (TIOCM_RI | TIOCM_DSR | TIOCM_CD | TIOCM_CTS)
728 if (mctrl_diff & TIOCM_CD) in mxs_auart_modem_status()
729 uart_handle_dcd_change(&s->port, mctrl & TIOCM_CD); in mxs_auart_modem_status()
H A Dmcf.c76 sigs |= (mcf_getppdcd(port->line) ? TIOCM_CD : 0); in mcf_get_mctrl()
/linux/include/uapi/asm-generic/
H A Dtermios.h42 #define TIOCM_CD TIOCM_CAR macro
/linux/arch/mips/include/uapi/asm/
H A Dtermios.h72 #define TIOCM_CD TIOCM_CAR macro
/linux/arch/xtensa/include/uapi/asm/
H A Dioctls.h68 # define TIOCM_CD TIOCM_CAR macro
/linux/arch/sh/include/uapi/asm/
H A Dioctls.h56 # define TIOCM_CD TIOCM_CAR macro
/linux/arch/powerpc/include/uapi/asm/
H A Dioctls.h64 # define TIOCM_CD TIOCM_CAR macro
/linux/arch/alpha/include/uapi/asm/
H A Dioctls.h69 # define TIOCM_CD TIOCM_CAR macro
/linux/drivers/tty/hvc/
H A Dhvsi_lib.c50 pv->mctrl |= TIOCM_CD; in hvsi_cd_change()
52 pv->mctrl &= ~TIOCM_CD; in hvsi_cd_change()
H A Dhvsi.c235 hp->mctrl &= TIOCM_CD; in hvsi_recv_control()
269 hp->mctrl |= TIOCM_CD; in hvsi_recv_response()
/linux/net/bluetooth/rfcomm/
H A Dtty.c647 if ((dev->modem_status & TIOCM_CD) && !(v24_sig & RFCOMM_V24_DV)) in rfcomm_dev_modem_status()
654 ((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/drivers/usb/serial/
H 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()
H 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()
H A Dspcp8x5.c448 | ((status & MSR_STATUS_LINE_DCD) ? TIOCM_CD : 0); in spcp8x5_tiocmget()
H A Diuu_phoenix.c1024 iuu_cardin = TIOCM_CD; in iuu_open()
1029 iuu_cardout = TIOCM_CD; in iuu_open()
H A Dark3116.c393 (status & UART_MSR_DCD ? TIOCM_CD : 0) | in ark3116_tiocmget()
H A Ddigi_acceleport.c1507 priv->dp_modem_signals |= TIOCM_CD; in digi_read_oob_callback()
1509 priv->dp_modem_signals &= ~TIOCM_CD; in digi_read_oob_callback()
H A Dgeneric.c518 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in usb_serial_generic_msr_changed()
H A Dch341.c800 | ((status & CH341_BIT_DCD) ? TIOCM_CD : 0); in ch341_tiocmget()
/linux/arch/arm/mach-sa1100/
H A Dcollie.c171 int ret = TIOCM_CD; in collie_uart_get_mctrl()
/linux/drivers/tty/ipwireless/
H A Dtty.c299 out |= TIOCM_CD; in get_control_lines()
/linux/drivers/tty/
H A Dn_gsm.c555 if (dlci->modem_tx & TIOCM_CD || dlci->gsm->initiator) in gsm_encode_modem()
1544 mlines |= TIOCM_CD; in gsm_process_modem()
1548 if ((mlines & TIOCM_CD) == 0 && (dlci->modem_rx & TIOCM_CD)) in gsm_process_modem()
4228 return dlci->modem_rx & TIOCM_CD; in gsm_carrier_raised()
/linux/drivers/usb/class/
H A Dcdc-acm.c937 (acm->ctrlin & USB_CDC_SERIAL_STATE_DCD ? TIOCM_CD : 0) | in acm_tty_tiocmget()
1016 if ((arg & TIOCM_CD) && in wait_serial_change()
1028 if (arg & TIOCM_CD) in wait_serial_change()
/linux/drivers/tty/serial/jsm/
H A Djsm_tty.c49 result |= TIOCM_CD; in jsm_get_mstat()

12