Home
last modified time | relevance | path

Searched refs:dcd (Results 1 – 25 of 39) sorted by relevance

12

/drivers/media/rc/
A Dserial_ir.c323 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 Dhdlcdrv.c373 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 Dscc.c454 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 Dyam.c129 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 Dbaycom_epp.c1056 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 Dgeneric.c518 ((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 Dkeyspan_usa28msg.h153 dcd, member
A Dkeyspan_usa49msg.h243 dcd, // reports DCD pin member
A Dkeyspan_usa90msg.h158 dcd, // reports DCD pin member
A Dssu100.c420 port->icount.dcd++; in ssu100_update_msr()
A Dark3116.c473 port->icount.dcd++; in ark3116_update_msr()
A Dmct_u232.c347 icount->dcd++; in mct_u232_msr_to_icount()
/drivers/net/wan/
A Dixp4xx_hss.c269 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 Dwanxl.c112 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 Damiserial.c320 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 Dmoxa.c1209 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 Dnozomi.c932 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 Dmxser.c697 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 Dsynclink_gt.c1047 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 Duart.c655 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 Dsdio_uart.c55 __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 Dcdc-acm.c339 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 Dledtrig-tty.c192 DEFINE_TTY_TRIGGER(dcd, TRIGGER_TTY_DCD);
/drivers/net/usb/
A Dhso.c1512 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 Dserial_core.c1244 ((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()

Completed in 82 milliseconds

12