Home
last modified time | relevance | path

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

12

/drivers/tty/serial/
Dserial_mctrl_gpio.c42 { "dcd", TIOCM_CD, false, },
146 #define MCTRL_ANY_DELTA (TIOCM_RI | TIOCM_DSR | TIOCM_CD | TIOCM_CTS)
169 if (mctrl_diff & TIOCM_CD) in mctrl_gpio_irq_handle()
170 uart_handle_dcd_change(port, mctrl & TIOCM_CD); in mctrl_gpio_irq_handle()
Dmxs-auart.c757 #define MCTRL_ANY_DELTA (TIOCM_RI | TIOCM_DSR | TIOCM_CD | TIOCM_CTS)
770 if (mctrl_diff & TIOCM_CD) in mxs_auart_modem_status()
771 uart_handle_dcd_change(&s->port, mctrl & TIOCM_CD); in mxs_auart_modem_status()
Dmcf.c80 sigs |= (mcf_getppdcd(port->line) ? TIOCM_CD : 0); in mcf_get_mctrl()
Dbcm63xx_uart.c141 mctrl |= TIOCM_CD; in bcm_uart_get_mctrl()
Dbfin_sport_uart.c259 return TIOCM_CTS | TIOCM_CD | TIOCM_DSR; in sport_get_mctrl()
Dpic32_uart.c110 mctrl |= TIOCM_CD; in pic32_uart_get_mctrl()
/drivers/staging/dgnc/
Ddgnc_mgmt.c214 ni.mstat |= TIOCM_CD; in dgnc_mgmt_ioctl()
215 ni.dcd = TIOCM_CD; in dgnc_mgmt_ioctl()
Ddigi.h30 #define TIOCM_CD TIOCM_CAR /* carrier detect (alt) */ macro
/drivers/tty/hvc/
Dhvsi_lib.c49 pv->mctrl |= TIOCM_CD; in hvsi_cd_change()
51 pv->mctrl &= ~TIOCM_CD; in hvsi_cd_change()
Dhvsi.c248 hp->mctrl &= TIOCM_CD; in hvsi_recv_control()
282 hp->mctrl |= TIOCM_CD; in hvsi_recv_response()
/drivers/staging/greybus/
Duart.c560 (gb_tty->ctrlin & GB_UART_CTRL_DCD ? TIOCM_CD : 0) | in gb_tty_tiocmget()
681 if (!(arg & (TIOCM_DSR | TIOCM_RI | TIOCM_CD))) in wait_serial_change()
693 if ((arg & TIOCM_CD) && (old.dcd != new.dcd)) in wait_serial_change()
703 if (arg & TIOCM_CD) in wait_serial_change()
/drivers/usb/serial/
Dbelkin_sa.c227 priv->control_state |= TIOCM_CD; in belkin_sa_read_int_callback()
229 priv->control_state &= ~TIOCM_CD; in belkin_sa_read_int_callback()
Dmct_u232.c371 *control_state |= TIOCM_CD; in mct_u232_msr_to_state()
373 *control_state &= ~TIOCM_CD; in mct_u232_msr_to_state()
Dspcp8x5.c479 | ((status & MSR_STATUS_LINE_DCD) ? TIOCM_CD : 0); in spcp8x5_tiocmget()
Dch341.c548 | ((status & CH341_BIT_DCD) ? TIOCM_CD : 0); in ch341_tiocmget()
Diuu_phoenix.c1058 iuu_cardin = TIOCM_CD; in iuu_open()
1063 iuu_cardout = TIOCM_CD; in iuu_open()
Ddigi_acceleport.c1547 priv->dp_modem_signals |= TIOCM_CD; in digi_read_oob_callback()
1549 priv->dp_modem_signals &= ~TIOCM_CD; in digi_read_oob_callback()
Dgeneric.c487 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in usb_serial_generic_msr_changed()
Dark3116.c472 (status & UART_MSR_DCD ? TIOCM_CD : 0) | in ark3116_tiocmget()
Doti6858.c653 result |= TIOCM_CD; in oti6858_tiocmget()
Dcp210x.c1098 |((control & CONTROL_DCD) ? TIOCM_CD : 0); in cp210x_tiocmget()
/drivers/tty/
Dn_gsm.c443 if (dlci->modem_tx & TIOCM_CD) in gsm_encode_modem()
1064 mlines |= TIOCM_CD; in gsm_process_modem()
1068 if ((mlines & TIOCM_CD) == 0 && (dlci->modem_rx & TIOCM_CD)) in gsm_process_modem()
2873 return dlci->modem_rx & TIOCM_CD; in gsm_carrier_raised()
/drivers/tty/ipwireless/
Dtty.c293 out |= TIOCM_CD; in get_control_lines()
/drivers/usb/class/
Dcdc-acm.c858 (acm->ctrlin & ACM_CTRL_DCD ? TIOCM_CD : 0) | in acm_tty_tiocmget()
950 if ((arg & TIOCM_CD) && in wait_serial_change()
962 if (arg & TIOCM_CD) in wait_serial_change()
/drivers/tty/serial/jsm/
Djsm_tty.c58 result |= TIOCM_CD; in jsm_get_mstat()

12