Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dhdlcdrv.h113 unsigned char dcd; member
250 static inline void hdlcdrv_setdcd(struct hdlcdrv_state *s, int dcd) in hdlcdrv_setdcd() argument
252 s->hdlcrx.dcd = !!dcd; in hdlcdrv_setdcd()
Dserial.h21 __u32 cts, dsr, rng, dcd, tx, rx; member
Dscc.h67 unsigned char dcd; /* DCD status */ member
Dcyclades.h104 __u32 cts, dsr, rng, dcd, tx, rx; member
Dserial_core.h104 __u32 dcd; member
/linux-4.1.27/include/uapi/linux/
Dhdlcdrv.h36 int dcd; member
42 int dcd; member
Dserial.h101 int cts, dsr, rng, dcd; member
Dsynclink.h213 __u32 cts, dsr, rng, dcd, tx, rx; member
/linux-4.1.27/drivers/staging/media/lirc/
Dlirc_serial.c610 int counter, dcd; in lirc_irq_handler() local
658 dcd = (status & hardware[type].signal_pin) ? 1 : 0; in lirc_irq_handler()
660 if (dcd == last_dcd) { in lirc_irq_handler()
662 dcd, sense, in lirc_irq_handler()
675 dcd, sense, in lirc_irq_handler()
682 if (!(dcd^sense)) { in lirc_irq_handler()
685 dcd, sense, in lirc_irq_handler()
699 frbwrite(dcd^sense ? data : (data|PULSE_BIT)); in lirc_irq_handler()
701 last_dcd = dcd; in lirc_irq_handler()
/linux-4.1.27/Documentation/devicetree/bindings/serial/
Dcirrus,clps711x-uart.txt11 - {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD
30 dcd-gpios = <&sysgpio 2 GPIO_ACTIVE_LOW>;
Dfsl-mxs-auart.txt17 - {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD
31 dcd-gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
Datmel-usart.txt17 - {rts,cts,dtr,dsr,rng,dcd}-gpios: specify a GPIO for RTS/CTS/DTR/DSR/RI/DCD line respectively.
44 dcd-gpios = <&pioD 20 GPIO_ACTIVE_LOW>;
Dsnps-dw-apb-uart.txt24 - dcd-override : Override the DCD modem status signal. This signal will always
46 dcd-override;
/linux-4.1.27/drivers/usb/serial/
Dkeyspan_usa28msg.h152 dcd, member
Dkeyspan_usa49msg.h242 dcd, // reports DCD pin member
Dkeyspan_usa90msg.h157 dcd, // reports DCD pin member
Dgeneric.c485 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in usb_serial_generic_msr_changed()
527 icount->dcd = cnow.dcd; in usb_serial_generic_get_icount()
Dssu100.c457 port->icount.dcd++; in ssu100_update_msr()
Dch341.c468 port->icount.dcd++; in ch341_update_line_status()
Df81232.c164 port->icount.dcd++; in f81232_read_msr()
Dark3116.c529 port->icount.dcd++; in ark3116_update_msr()
Dmct_u232.c347 icount->dcd++; in mct_u232_msr_to_icount()
Dkeyspan.c539 p_priv->dcd_state = ((msg->dcd) ? 1 : 0); in usa28_instat_callback()
621 p_priv->dcd_state = ((msg->dcd) ? 1 : 0); in usa49_instat_callback()
871 p_priv->dcd_state = ((msg->dcd) ? 1 : 0); in usa90_instat_callback()
Doti6858.c711 port->icount.dcd++; in oti6858_read_int_callback()
Dquatech2.c890 port->icount.dcd++; in qt2_update_msr()
Dpl2303.c828 port->icount.dcd++; in pl2303_update_line_status()
Dcypress_m8.c1156 port->icount.dcd++; in cypress_read_int_callback()
Dmxuport.c401 port->icount.dcd++; in mxuport_msr_event()
Dti_usb_3410_5052.c1283 icount->dcd++; in ti_handle_new_msr()
Dmos7840.c408 icount->dcd++; in mos7840_handle_new_msr()
Dio_ti.c1447 icount->dcd++; in handle_new_msr()
Dio_edgeport.c1956 icount->dcd++; in handle_new_msr()
Dftdi_sio.c2057 port->icount.dcd++; in ftdi_process_packet()
/linux-4.1.27/drivers/staging/dgnc/
Ddigi.h159 int dcd; member
Ddgnc_mgmt.c218 ni.dcd = TIOCM_CD; in dgnc_mgmt_ioctl()
/linux-4.1.27/drivers/tty/
Dmoxa.c125 int dcd; member
368 tmp.dcd = 1; in moxa_ioctl()
1153 int dcd; in moxa_carrier_raised() local
1156 dcd = ch->DCDState; in moxa_carrier_raised()
1158 return dcd; in moxa_carrier_raised()
1362 static void moxa_new_dcdstate(struct moxa_port *p, u8 dcd) in moxa_new_dcdstate() argument
1365 dcd = !!dcd; in moxa_new_dcdstate()
1368 if (dcd != p->DCDState) { in moxa_new_dcdstate()
1369 p->DCDState = dcd; in moxa_new_dcdstate()
1371 if (!dcd) in moxa_new_dcdstate()
Damiserial.c395 icount->dcd++; in check_modem_status()
1232 icount->dcd = cnow.dcd; in rs_get_icount()
1299 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in rs_ioctl()
1305 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in rs_ioctl()
1721 state->icount.rng = state->icount.dcd = 0; in amiga_serial_probe()
Dnozomi.c1000 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()
Dmxser.c283 int dcd; member
822 port->icount.dcd++; in mxser_check_modem_status()
1536 ms.dcd = 1; in mxser_ioctl_special()
1581 ip->icount.dcd++; in mxser_ioctl_special()
1655 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in mxser_cflags_changed()
1846 icount->dcd = cnow.dcd; in mxser_get_icount()
Dcyclades.c706 info->icount.dcd++; in cyy_chip_modem()
1120 info->icount.dcd++; in cyz_handle_cmd()
1123 u32 dcd = fw_ver > 241 ? param : in cyz_handle_cmd() local
1125 if (dcd & C_RS_DCD) in cyz_handle_cmd()
2630 ((arg & TIOCM_CD) && (cnow.dcd != cprev->dcd)) || in cy_cflags_changed()
2780 sic->dcd = cnow.dcd; in cy_get_icount()
Dsynclink.c1316 icount->dcd++; in mgsl_isr_io_pin()
2817 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
2825 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
2940 icount->dcd = cnow.dcd; in msgl_get_icount()
3271 int dcd; in block_til_ready() local
3318 dcd = tty_port_carrier_raised(&info->port); in block_til_ready()
3320 if (!(port->flags & ASYNC_CLOSING) && (do_clocal || dcd)) in block_til_ready()
Dsynclink_gt.c1127 icount->dcd = cnow.dcd; in get_icount()
2080 info->icount.dcd++; in dcd_change()
3166 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
3174 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
Dsynclinkmp.c1335 icount->dcd = cnow.dcd; in get_icount()
2448 icount->dcd++; in isr_io_pin()
3183 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
3191 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
/linux-4.1.27/drivers/net/hamradio/
Dhdlcdrv.c385 if (s->hdlcrx.dcd) { in hdlcdrv_arbitrate()
560 bi.data.cs.dcd = s->hdlcrx.dcd; in hdlcdrv_ioctl()
570 bi.data.ocs.dcd = s->hdlcrx.dcd; in hdlcdrv_ioctl()
Dscc.c451 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()
Dyam.c144 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()
Dbaycom_epp.c1056 hi.data.cs.dcd = !(bc->stat & EPP_DCDBIT); in baycom_ioctl()
1066 hi.data.ocs.dcd = !(bc->stat & EPP_DCDBIT); in baycom_ioctl()
/linux-4.1.27/net/irda/ircomm/
Dircomm_tty_ioctl.c395 put_user(cnow.dcd, &p_cuser->dcd) || in ircomm_tty_ioctl()
/linux-4.1.27/drivers/mmc/card/
Dsdio_uart.c58 __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()
/linux-4.1.27/drivers/net/wan/
Dwanxl.c122 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()
/linux-4.1.27/drivers/usb/class/
Dcdc-acm.c338 acm->iocount.dcd++; in acm_ctrl_irq()
897 old.dcd != new.dcd) in wait_serial_change()
932 icount.dcd = acm->iocount.dcd; in get_serial_usage()
/linux-4.1.27/drivers/staging/fwserial/
Dfwserial.c322 ++port->icount.dcd; in fwtty_update_port_status()
1211 (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()
/linux-4.1.27/drivers/tty/serial/
Dserial_core.c1105 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd)) || in uart_wait_modem_status()
1147 icount->dcd = cnow.dcd; in uart_get_icount()
2862 uport->icount.dcd++; in uart_handle_dcd_change()
Dioc4_serial.c1885 the_port->icount.dcd = 1; in handle_intr()
2240 the_port->icount.dcd = 0; in do_read()
/linux-4.1.27/drivers/char/pcmcia/
Dsynclink_cs.c1087 info->icount.dcd++; in dcd_change()
2098 cnow.dcd == cprev.dcd && cnow.cts == cprev.cts) { in modem_input_wait()
2106 (arg & TIOCM_CD && cnow.dcd != cprev.dcd) || in modem_input_wait()
2212 icount->dcd = cnow.dcd; in mgslpc_get_icount()
/linux-4.1.27/drivers/net/usb/
Dhso.c1542 icount->dcd++; in tiocmget_intr_callback()
1588 ((arg & TIOCM_CD) && (cnow.dcd != cprev.dcd))) { in hso_wait_modem_status()
1630 icount->dcd = cnow.dcd; in hso_get_count()
/linux-4.1.27/drivers/ipack/devices/
Dipoctal.c141 icount->dcd = 0; in ipoctal_get_icount()
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-mio-defs.h4260 uint64_t dcd:1; member
4276 uint64_t dcd:1;
4965 uint64_t dcd:1; member
4981 uint64_t dcd:1;
/linux-4.1.27/Documentation/networking/
Dz8530drv.txt592 use a software dcd instead of the real one... Useful for a very