| /drivers/media/rc/ |
| A D | serial_ir.c | 323 int counter, dcd; in serial_ir_irq_handler() local 354 dcd = (status & hardware[type].signal_pin) ? 1 : 0; in serial_ir_irq_handler() 356 if (dcd == last_dcd) { in serial_ir_irq_handler() 359 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler() 367 if (!(dcd ^ sense)) { in serial_ir_irq_handler() 371 dcd, sense, ktime_to_ns(kt), in serial_ir_irq_handler() 382 frbwrite(data, !(dcd ^ sense)); in serial_ir_irq_handler() 384 last_dcd = dcd; in serial_ir_irq_handler()
|
| /drivers/net/hamradio/ |
| A D | hdlcdrv.c | 373 if (s->hdlcrx.dcd) { in hdlcdrv_arbitrate() 551 bi.data.cs.dcd = s->hdlcrx.dcd; in hdlcdrv_siocdevprivate() 561 bi.data.ocs.dcd = s->hdlcrx.dcd; in hdlcdrv_siocdevprivate()
|
| A D | scc.c | 454 scc->dcd = 0; in scc_exint() 459 scc->dcd = 1; in scc_exint() 462 scc_notify(scc, scc->dcd? HWEV_DCD_OFF:HWEV_DCD_ON); in scc_exint() 473 scc->dcd = 1; in scc_exint() 477 scc->dcd = 0; in scc_exint() 480 scc_notify(scc, scc->dcd? HWEV_DCD_ON:HWEV_DCD_OFF); in scc_exint() 1113 if ( (grp1 & RXGROUP) && scc2->dcd ) in is_grouped() 1147 if (scc->dcd || (scc->kiss.persist) < Rand || (scc->kiss.group && is_grouped(scc)) ) in t_dwait() 1362 scc_notify(scc, scc->dcd? HWEV_DCD_ON:HWEV_DCD_OFF); in scc_set_param()
|
| A D | yam.c | 129 int dcd; member 530 if (yp->dcd && yp->rx_len >= 3 && yp->rx_len < YAM_MAX_FRAME) { in yam_rx_flag() 617 if (yp->dcd) { in yam_arbitrate() 754 yp->dcd = (msr & RX_DCD) ? 1 : 0; in yam_interrupt()
|
| A D | baycom_epp.c | 1056 hi.data.cs.dcd = !(bc->stat & EPP_DCDBIT); in baycom_siocdevprivate() 1066 hi.data.ocs.dcd = !(bc->stat & EPP_DCDBIT); in baycom_siocdevprivate()
|
| /drivers/usb/serial/ |
| A D | generic.c | 518 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in usb_serial_generic_msr_changed() 560 icount->dcd = cnow.dcd; in usb_serial_generic_get_icount()
|
| A D | keyspan_usa28msg.h | 153 dcd, member
|
| A D | keyspan_usa49msg.h | 243 dcd, // reports DCD pin member
|
| A D | keyspan_usa90msg.h | 158 dcd, // reports DCD pin member
|
| A D | ssu100.c | 420 port->icount.dcd++; in ssu100_update_msr()
|
| A D | ark3116.c | 473 port->icount.dcd++; in ark3116_update_msr()
|
| A D | mct_u232.c | 347 icount->dcd++; in mct_u232_msr_to_icount()
|
| /drivers/net/wan/ |
| A D | ixp4xx_hss.c | 269 struct gpio_desc *dcd; member 1063 val = gpiod_get_value(port->dcd); in hss_hdlc_dcd_irq() 1097 val = gpiod_get_value(port->dcd); in hss_hdlc_open() 1101 err = request_irq(gpiod_to_irq(port->dcd), hss_hdlc_dcd_irq, 0, "IXP4xx HSS", dev); in hss_hdlc_open() 1197 free_irq(gpiod_to_irq(port->dcd), dev); in hss_hdlc_close() 1478 port->dcd = devm_gpiod_get(dev, "dcd", GPIOD_IN); in ixp4xx_hss_probe() 1479 if (IS_ERR(port->dcd)) in ixp4xx_hss_probe() 1480 return dev_err_probe(dev, PTR_ERR(port->dcd), "unable to get DCD GPIO\n"); in ixp4xx_hss_probe()
|
| A D | wanxl.c | 112 const char *cable, *pm, *dte = "", *dsr = "", *dcd = ""; in wanxl_cable_intr() local 160 dcd = (value & STATUS_CABLE_DCD) ? ", carrier ON" : in wanxl_cable_intr() 166 pm, dte, cable, dsr, dcd); in wanxl_cable_intr()
|
| /drivers/tty/ |
| A D | amiserial.c | 320 icount->dcd++; in check_modem_status() 1089 icount->dcd = cnow.dcd; in rs_get_icount() 1142 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in rs_ioctl() 1148 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in rs_ioctl()
|
| A D | moxa.c | 1209 int dcd; in moxa_carrier_raised() local 1212 dcd = ch->DCDState; in moxa_carrier_raised() 1214 return dcd; in moxa_carrier_raised() 1416 static void moxa_new_dcdstate(struct moxa_port *p, u8 dcd) in moxa_new_dcdstate() argument 1419 dcd = !!dcd; in moxa_new_dcdstate() 1422 if (dcd != p->DCDState) { in moxa_new_dcdstate() 1423 p->DCDState = dcd; in moxa_new_dcdstate() 1425 if (!dcd) in moxa_new_dcdstate()
|
| A D | nozomi.c | 932 dc->port[port].tty_icount.dcd++; in receive_flow_control() 938 dc->port[port].tty_icount.dcd, dc->port[port].tty_icount.cts, in receive_flow_control() 1682 || ((flags & TIOCM_CD) && (cnow.dcd != cprev->dcd)) in ntty_cflags_changed() 1699 icount->dcd = cnow.dcd; in ntty_tiocgicount()
|
| A D | mxser.c | 697 port->icount.dcd++; in mxser_check_modem_status() 1156 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in mxser_cflags_changed() 1265 icount->dcd = cnow.dcd; in mxser_get_icount()
|
| A D | synclink_gt.c | 1047 icount->dcd = cnow.dcd; in get_icount() 1981 info->icount.dcd++; in dcd_change() 3053 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait() 3061 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
|
| /drivers/staging/greybus/ |
| A D | uart.c | 655 if ((arg & TIOCM_CD) && (old.dcd != new.dcd)) in wait_serial_change() 683 icount->dcd = gb_tty->iocount.dcd; in gb_tty_get_icount()
|
| /drivers/mmc/core/ |
| A D | sdio_uart.c | 55 __u32 dcd; member 461 port->icount.dcd++; in sdio_uart_check_modem_status() 978 if (port->icount.dcd) in sdio_uart_proc_show() 980 port->icount.dcd); in sdio_uart_proc_show()
|
| /drivers/usb/class/ |
| A D | cdc-acm.c | 339 acm->iocount.dcd++; in acm_process_notification() 1028 old.dcd != new.dcd) in wait_serial_change() 1061 icount->dcd = acm->iocount.dcd; in acm_tty_get_icount()
|
| /drivers/leds/trigger/ |
| A D | ledtrig-tty.c | 192 DEFINE_TTY_TRIGGER(dcd, TRIGGER_TTY_DCD);
|
| /drivers/net/usb/ |
| A D | hso.c | 1512 icount->dcd++; in tiocmget_intr_callback() 1558 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd))) { in hso_wait_modem_status() 1600 icount->dcd = cnow.dcd; in hso_get_count()
|
| /drivers/tty/serial/ |
| A D | serial_core.c | 1244 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status() 1290 icount->dcd = cnow.dcd; in uart_get_icount() 3422 uport->icount.dcd++; in uart_handle_dcd_change()
|