Searched refs:TIOCM_CD (Results 1 – 25 of 44) sorted by relevance
12
42 { "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()
757 #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()
80 sigs |= (mcf_getppdcd(port->line) ? TIOCM_CD : 0); in mcf_get_mctrl()
141 mctrl |= TIOCM_CD; in bcm_uart_get_mctrl()
259 return TIOCM_CTS | TIOCM_CD | TIOCM_DSR; in sport_get_mctrl()
110 mctrl |= TIOCM_CD; in pic32_uart_get_mctrl()
214 ni.mstat |= TIOCM_CD; in dgnc_mgmt_ioctl()215 ni.dcd = TIOCM_CD; in dgnc_mgmt_ioctl()
30 #define TIOCM_CD TIOCM_CAR /* carrier detect (alt) */ macro
49 pv->mctrl |= TIOCM_CD; in hvsi_cd_change()51 pv->mctrl &= ~TIOCM_CD; in hvsi_cd_change()
248 hp->mctrl &= TIOCM_CD; in hvsi_recv_control()282 hp->mctrl |= TIOCM_CD; in hvsi_recv_response()
560 (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()
227 priv->control_state |= TIOCM_CD; in belkin_sa_read_int_callback()229 priv->control_state &= ~TIOCM_CD; in belkin_sa_read_int_callback()
371 *control_state |= TIOCM_CD; in mct_u232_msr_to_state()373 *control_state &= ~TIOCM_CD; in mct_u232_msr_to_state()
479 | ((status & MSR_STATUS_LINE_DCD) ? TIOCM_CD : 0); in spcp8x5_tiocmget()
548 | ((status & CH341_BIT_DCD) ? TIOCM_CD : 0); in ch341_tiocmget()
1058 iuu_cardin = TIOCM_CD; in iuu_open()1063 iuu_cardout = TIOCM_CD; in iuu_open()
1547 priv->dp_modem_signals |= TIOCM_CD; in digi_read_oob_callback()1549 priv->dp_modem_signals &= ~TIOCM_CD; in digi_read_oob_callback()
487 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in usb_serial_generic_msr_changed()
472 (status & UART_MSR_DCD ? TIOCM_CD : 0) | in ark3116_tiocmget()
653 result |= TIOCM_CD; in oti6858_tiocmget()
1098 |((control & CONTROL_DCD) ? TIOCM_CD : 0); in cp210x_tiocmget()
443 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()
293 out |= TIOCM_CD; in get_control_lines()
858 (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()
58 result |= TIOCM_CD; in jsm_get_mstat()