/drivers/staging/media/lirc/ |
D | lirc_serial.c | 546 int counter, dcd; in lirc_irq_handler() local 594 dcd = (status & hardware[type].signal_pin) ? 1 : 0; in lirc_irq_handler() 596 if (dcd == last_dcd) { in lirc_irq_handler() 598 dcd, sense, ktime_to_us(kt), in lirc_irq_handler() 606 if (!(dcd^sense)) { in lirc_irq_handler() 609 dcd, sense, ktime_to_us(kt), in lirc_irq_handler() 619 frbwrite(dcd^sense ? data : (data|PULSE_BIT)); in lirc_irq_handler() 621 last_dcd = dcd; in lirc_irq_handler()
|
/drivers/usb/serial/ |
D | generic.c | 487 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in usb_serial_generic_msr_changed() 529 icount->dcd = cnow.dcd; in usb_serial_generic_get_icount()
|
D | keyspan_usa28msg.h | 152 dcd, member
|
D | keyspan_usa49msg.h | 242 dcd, // reports DCD pin member
|
D | keyspan_usa90msg.h | 157 dcd, // reports DCD pin member
|
/drivers/tty/ |
D | moxa.c | 125 int dcd; member 367 tmp.dcd = 1; in moxa_ioctl() 1152 int dcd; in moxa_carrier_raised() local 1155 dcd = ch->DCDState; in moxa_carrier_raised() 1157 return dcd; in moxa_carrier_raised() 1361 static void moxa_new_dcdstate(struct moxa_port *p, u8 dcd) in moxa_new_dcdstate() argument 1364 dcd = !!dcd; in moxa_new_dcdstate() 1367 if (dcd != p->DCDState) { in moxa_new_dcdstate() 1368 p->DCDState = dcd; in moxa_new_dcdstate() 1370 if (!dcd) in moxa_new_dcdstate()
|
D | amiserial.c | 394 icount->dcd++; in check_modem_status() 1220 icount->dcd = cnow.dcd; in rs_get_icount() 1287 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in rs_ioctl() 1293 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in rs_ioctl() 1703 state->icount.rng = state->icount.dcd = 0; in amiga_serial_probe()
|
D | nozomi.c | 1000 dc->port[port].tty_icount.dcd++; in receive_flow_control() 1006 dc->port[port].tty_icount.dcd, dc->port[port].tty_icount.cts, in receive_flow_control() 1761 ((flags & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in ntty_cflags_changed() 1778 icount->dcd = cnow.dcd; in ntty_tiocgicount()
|
D | mxser.c | 284 int dcd; member 818 port->icount.dcd++; in mxser_check_modem_status() 1531 ms.dcd = 1; in mxser_ioctl_special() 1576 ip->icount.dcd++; in mxser_ioctl_special() 1650 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in mxser_cflags_changed() 1840 icount->dcd = cnow.dcd; in mxser_get_icount()
|
D | cyclades.c | 704 info->icount.dcd++; in cyy_chip_modem() 1118 info->icount.dcd++; in cyz_handle_cmd() 1121 u32 dcd = fw_ver > 241 ? param : in cyz_handle_cmd() local 1123 if (dcd & C_RS_DCD) in cyz_handle_cmd() 2610 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in cy_cflags_changed() 2760 sic->dcd = cnow.dcd; in cy_get_icount()
|
D | synclink.c | 1316 icount->dcd++; in mgsl_isr_io_pin() 2807 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait() 2815 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait() 2930 icount->dcd = cnow.dcd; in msgl_get_icount() 3256 int dcd; in block_til_ready() local 3303 dcd = tty_port_carrier_raised(&info->port); in block_til_ready() 3304 if (do_clocal || dcd) in block_til_ready()
|
/drivers/net/hamradio/ |
D | hdlcdrv.c | 385 if (s->hdlcrx.dcd) { in hdlcdrv_arbitrate() 562 bi.data.cs.dcd = s->hdlcrx.dcd; in hdlcdrv_ioctl() 572 bi.data.ocs.dcd = s->hdlcrx.dcd; in hdlcdrv_ioctl()
|
D | scc.c | 451 scc->dcd = 0; in scc_exint() 456 scc->dcd = 1; in scc_exint() 459 scc_notify(scc, scc->dcd? HWEV_DCD_OFF:HWEV_DCD_ON); in scc_exint() 470 scc->dcd = 1; in scc_exint() 474 scc->dcd = 0; in scc_exint() 477 scc_notify(scc, scc->dcd? HWEV_DCD_ON:HWEV_DCD_OFF); in scc_exint() 1109 if ( (grp1 & RXGROUP) && scc2->dcd ) in is_grouped() 1143 if (scc->dcd || (scc->kiss.persist) < Rand || (scc->kiss.group && is_grouped(scc)) ) in t_dwait() 1358 scc_notify(scc, scc->dcd? HWEV_DCD_ON:HWEV_DCD_OFF); in scc_set_param()
|
D | yam.c | 144 int dcd; member 545 if (yp->dcd && yp->rx_len >= 3 && yp->rx_len < YAM_MAX_FRAME) { in yam_rx_flag() 632 if (yp->dcd) { in yam_arbitrate() 769 yp->dcd = (msr & RX_DCD) ? 1 : 0; in yam_interrupt()
|
D | baycom_epp.c | 1058 hi.data.cs.dcd = !(bc->stat & EPP_DCDBIT); in baycom_ioctl() 1068 hi.data.ocs.dcd = !(bc->stat & EPP_DCDBIT); in baycom_ioctl()
|
/drivers/staging/dgnc/ |
D | digi.h | 159 int dcd; member
|
D | dgnc_mgmt.c | 215 ni.dcd = TIOCM_CD; in dgnc_mgmt_ioctl()
|
/drivers/staging/greybus/ |
D | uart.c | 693 if ((arg & TIOCM_CD) && (old.dcd != new.dcd)) in wait_serial_change() 723 icount.dcd = gb_tty->iocount.dcd; in get_serial_usage()
|
/drivers/mmc/card/ |
D | sdio_uart.c | 58 __u32 dcd; member 484 port->icount.dcd++; in sdio_uart_check_modem_status() 1002 if (port->icount.dcd) in sdio_uart_proc_show() 1004 port->icount.dcd); in sdio_uart_proc_show()
|
/drivers/net/wan/ |
D | wanxl.c | 122 const char *cable, *pm, *dte = "", *dsr = "", *dcd = ""; in wanxl_cable_intr() local 146 dcd = (value & STATUS_CABLE_DCD) ? ", carrier ON" : in wanxl_cable_intr() 152 pm, dte, cable, dsr, dcd); in wanxl_cable_intr()
|
/drivers/usb/class/ |
D | cdc-acm.c | 340 acm->iocount.dcd++; in acm_ctrl_irq() 951 old.dcd != new.dcd) in wait_serial_change() 986 icount.dcd = acm->iocount.dcd; in get_serial_usage()
|
/drivers/staging/fwserial/ |
D | fwserial.c | 323 ++port->icount.dcd; in fwtty_update_port_status() 1210 (mask & TIOCM_CAR && prev->dcd != now.dcd) || in check_msr_delta() 1414 icount->dcd = port->icount.dcd; in fwtty_get_icount() 1436 port->icount.dsr, port->icount.rng, port->icount.dcd); in fwtty_proc_show_port()
|
/drivers/tty/serial/ |
D | serial_core.c | 1198 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status() 1245 icount->dcd = cnow.dcd; in uart_get_icount() 2939 uport->icount.dcd++; in uart_handle_dcd_change()
|
/drivers/net/usb/ |
D | hso.c | 1534 icount->dcd++; in tiocmget_intr_callback() 1580 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd))) { in hso_wait_modem_status() 1622 icount->dcd = cnow.dcd; in hso_get_count()
|
/drivers/char/pcmcia/ |
D | synclink_cs.c | 1087 info->icount.dcd++; in dcd_change() 2091 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait() 2099 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait() 2205 icount->dcd = cnow.dcd; in mgslpc_get_icount()
|