Home
last modified time | relevance | path

Searched refs:TIOCM_RTS (Results 1 – 135 of 135) sorted by relevance

/linux-4.4.14/drivers/usb/serial/
Dmct_u232.c289 if (control_state & TIOCM_RTS) in mct_u232_set_modem_ctrl()
439 priv->control_state = TIOCM_DTR | TIOCM_RTS; in mct_u232_open()
488 priv->control_state |= TIOCM_DTR | TIOCM_RTS; in mct_u232_dtr_rts()
490 priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS); in mct_u232_dtr_rts()
625 control_state |= TIOCM_DTR | TIOCM_RTS; in mct_u232_set_termios()
634 control_state &= ~(TIOCM_DTR | TIOCM_RTS); in mct_u232_set_termios()
724 if (set & TIOCM_RTS) in mct_u232_tiocmset()
725 control_state |= TIOCM_RTS; in mct_u232_tiocmset()
728 if (clear & TIOCM_RTS) in mct_u232_tiocmset()
729 control_state &= ~TIOCM_RTS; in mct_u232_tiocmset()
[all …]
Df81232.c185 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) in f81232_set_mctrl()
198 if (clear & TIOCM_RTS) in f81232_set_mctrl()
204 if (set & TIOCM_RTS) in f81232_set_mctrl()
451 f81232_set_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81232_set_termios()
453 f81232_set_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81232_set_termios()
516 (mcr & UART_MCR_RTS ? TIOCM_RTS : 0) | in f81232_tiocmget()
571 f81232_set_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81232_dtr_rts()
573 f81232_set_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81232_dtr_rts()
Dmetro-usb.c247 if (control_state & TIOCM_RTS) in metrousb_set_modem_ctrl()
332 if (set & TIOCM_RTS) in metrousb_tiocmset()
333 control_state |= TIOCM_RTS; in metrousb_tiocmset()
336 if (clear & TIOCM_RTS) in metrousb_tiocmset()
337 control_state &= ~TIOCM_RTS; in metrousb_tiocmset()
Dbelkin_sa.c315 control_state |= (TIOCM_DTR|TIOCM_RTS); in belkin_sa_set_termios()
345 control_state &= ~(TIOCM_DTR | TIOCM_RTS); in belkin_sa_set_termios()
462 if (set & TIOCM_RTS) { in belkin_sa_tiocmset()
463 control_state |= TIOCM_RTS; in belkin_sa_tiocmset()
470 if (clear & TIOCM_RTS) { in belkin_sa_tiocmset()
471 control_state &= ~TIOCM_RTS; in belkin_sa_tiocmset()
Dssu100.c123 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) { in update_mctrl()
132 if (set & TIOCM_RTS) in update_mctrl()
405 (d[0] & UART_MCR_RTS ? TIOCM_RTS : 0) | in ssu100_tiocmget()
436 set_mctrl(dev, TIOCM_DTR | TIOCM_RTS); in ssu100_dtr_rts()
438 clear_mctrl(dev, TIOCM_DTR | TIOCM_RTS); in ssu100_dtr_rts()
Dcp210x.c811 if (set & TIOCM_RTS) { in cp210x_tiocmset_port()
819 if (clear & TIOCM_RTS) { in cp210x_tiocmset_port()
836 cp210x_tiocmset_port(p, TIOCM_DTR|TIOCM_RTS, 0); in cp210x_dtr_rts()
838 cp210x_tiocmset_port(p, 0, TIOCM_DTR|TIOCM_RTS); in cp210x_dtr_rts()
850 |((control & CONTROL_RTS) ? TIOCM_RTS : 0) in cp210x_tiocmget()
Dkl5kusb105.c431 priv->control_state |= TIOCM_RTS; in klsi_105_set_termios()
477 priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS); in klsi_105_set_termios()
544 priv->control_state |= TIOCM_DTR | TIOCM_RTS; in klsi_105_set_termios()
546 priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS); in klsi_105_set_termios()
Dopticon.c294 result |= TIOCM_RTS; in opticon_tiocmget()
317 if (set & TIOCM_RTS) in opticon_tiocmset()
319 if (clear & TIOCM_RTS) in opticon_tiocmset()
Dspcp8x5.c424 if (set & TIOCM_RTS) in spcp8x5_tiocmset()
428 if (clear & TIOCM_RTS) in spcp8x5_tiocmset()
456 | ((mcr & MCR_RTS) ? TIOCM_RTS : 0) in spcp8x5_tiocmget()
Dquatech2.c227 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) { in update_mctrl()
237 if (set & TIOCM_RTS) in update_mctrl()
812 (d[0] & UART_MCR_RTS ? TIOCM_RTS : 0) | in qt2_tiocmget()
866 update_mctrl(port_priv, TIOCM_DTR | TIOCM_RTS, 0); in qt2_dtr_rts()
868 update_mctrl(port_priv, 0, TIOCM_DTR | TIOCM_RTS); in qt2_dtr_rts()
Dkeyspan_pda.c403 ((status & (1<<2)) ? TIOCM_RTS : 0); in keyspan_pda_tiocmget()
419 if (set & TIOCM_RTS) in keyspan_pda_tiocmset()
424 if (clear & TIOCM_RTS) in keyspan_pda_tiocmset()
Dch341.c422 if (set & TIOCM_RTS) in ch341_tiocmset()
426 if (clear & TIOCM_RTS) in ch341_tiocmset()
529 | ((mcr & CH341_BIT_RTS) ? TIOCM_RTS : 0) in ch341_tiocmget()
Dark3116.c454 (ctrl & UART_MCR_RTS ? TIOCM_RTS : 0) | in ark3116_tiocmget()
471 if (set & TIOCM_RTS) in ark3116_tiocmset()
479 if (clr & TIOCM_RTS) in ark3116_tiocmset()
Dftdi_sio.c1193 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) { in update_mctrl()
1202 if (clear & TIOCM_RTS) in update_mctrl()
1206 if (set & TIOCM_RTS) in update_mctrl()
1218 (set & TIOCM_RTS) ? "HIGH" : (clear & TIOCM_RTS) ? "LOW" : "unchanged"); in update_mctrl()
1223 (set & TIOCM_RTS) ? "HIGH" : (clear & TIOCM_RTS) ? "LOW" : "unchanged"); in update_mctrl()
1980 set_mctrl(port, TIOCM_DTR | TIOCM_RTS); in ftdi_dtr_rts()
1982 clear_mctrl(port, TIOCM_DTR | TIOCM_RTS); in ftdi_dtr_rts()
2311 clear_mctrl(port, TIOCM_DTR | TIOCM_RTS); in ftdi_set_termios()
2320 set_mctrl(port, TIOCM_DTR | TIOCM_RTS); in ftdi_set_termios()
Ddigi_acceleport.c562 data[6] = (modem_signals & TIOCM_RTS) ? in digi_set_modem_signals()
572 (port_priv->dp_modem_signals&~(TIOCM_DTR|TIOCM_RTS)) in digi_set_modem_signals()
573 | (modem_signals&(TIOCM_DTR|TIOCM_RTS)); in digi_set_modem_signals()
704 modem_signals |= TIOCM_RTS; in digi_set_termios()
1086 digi_set_modem_signals(port, on * (TIOCM_DTR|TIOCM_RTS), 1); in digi_dtr_rts()
Dusb_wwan.c100 value = ((portdata->rts_state) ? TIOCM_RTS : 0) | in usb_wwan_tiocmget()
125 if (set & TIOCM_RTS) in usb_wwan_tiocmset()
130 if (clear & TIOCM_RTS) in usb_wwan_tiocmset()
Dkobil_sct.c427 if (set & TIOCM_RTS) in kobil_tiocmset()
431 if (clear & TIOCM_RTS) in kobil_tiocmset()
Dwhiteheat.c450 modem_signals |= TIOCM_RTS; in whiteheat_tiocmget()
461 if (set & TIOCM_RTS) in whiteheat_tiocmset()
466 if (clear & TIOCM_RTS) in whiteheat_tiocmset()
Doti6858.c597 if ((set & TIOCM_RTS) != 0) in oti6858_tiocmset()
601 if ((clear & TIOCM_RTS) != 0) in oti6858_tiocmset()
627 result |= TIOCM_RTS; in oti6858_tiocmget()
Dpl2303.c683 if (set & TIOCM_RTS) in pl2303_tiocmset()
687 if (clear & TIOCM_RTS) in pl2303_tiocmset()
716 | ((mcr & CONTROL_RTS) ? TIOCM_RTS : 0) in pl2303_tiocmget()
Diuu_phoenix.c134 if ((set & TIOCM_RTS) && !(priv->tiostatus == TIOCM_RTS)) { in iuu_tiocmset()
138 if (set & TIOCM_RTS) in iuu_tiocmset()
139 priv->tiostatus = TIOCM_RTS; in iuu_tiocmset()
Dsierra.c388 value = ((portdata->rts_state) ? TIOCM_RTS : 0) | in sierra_tiocmget()
406 if (set & TIOCM_RTS) in sierra_tiocmset()
411 if (clear & TIOCM_RTS) in sierra_tiocmset()
Dmos7720.c1775 | ((mcr & UART_MCR_RTS) ? TIOCM_RTS : 0) /* 0x004 */ in mos7720_tiocmget()
1793 if (set & TIOCM_RTS) in mos7720_tiocmset()
1800 if (clear & TIOCM_RTS) in mos7720_tiocmset()
1833 if (arg & TIOCM_RTS) in set_modem_info()
1842 if (arg & TIOCM_RTS) in set_modem_info()
Dcypress_m8.c830 | ((control & CONTROL_RTS) ? TIOCM_RTS : 0) in cypress_tiocmget()
850 if (set & TIOCM_RTS) in cypress_tiocmset()
854 if (clear & TIOCM_RTS) in cypress_tiocmset()
Dmxuport.c720 if (set & TIOCM_RTS) in mxuport_tiocmset()
726 if (clear & TIOCM_RTS) in mxuport_tiocmset()
762 ((mcr & UART_MCR_RTS) ? TIOCM_RTS : 0) | /* 0x004 */ in mxuport_tiocmget()
Dti_usb_3410_5052.c855 | ((mcr & TI_MCR_RTS) ? TIOCM_RTS : 0) in ti_tiocmget()
882 if (set & TIOCM_RTS) in ti_tiocmset()
889 if (clear & TIOCM_RTS) in ti_tiocmset()
Dmos7840.c1498 | ((mcr & MCR_RTS) ? TIOCM_RTS : 0) in mos7840_tiocmget()
1525 if (clear & TIOCM_RTS) in mos7840_tiocmset()
1532 if (set & TIOCM_RTS) in mos7840_tiocmset()
Dkeyspan.c189 value = ((p_priv->rts_state) ? TIOCM_RTS : 0) | in keyspan_tiocmget()
205 if (set & TIOCM_RTS) in keyspan_tiocmset()
209 if (clear & TIOCM_RTS) in keyspan_tiocmset()
Dio_edgeport.c1513 if (set & TIOCM_RTS) in edge_tiocmset()
1520 if (clear & TIOCM_RTS) in edge_tiocmset()
1545 | ((mcr & MCR_RTS) ? TIOCM_RTS: 0) /* 0x004 */ in edge_tiocmget()
Dio_ti.c2408 if (set & TIOCM_RTS) in edge_tiocmset()
2415 if (clear & TIOCM_RTS) in edge_tiocmset()
2443 | ((mcr & MCR_RTS) ? TIOCM_RTS: 0) /* 0x004 */ in edge_tiocmget()
/linux-4.4.14/drivers/isdn/gigaset/
Dinterface.c36 cs->ops->set_modem_ctrl(cs, 0, TIOCM_DTR | TIOCM_RTS); in if_lock()
39 cs->control_state = TIOCM_DTR | TIOCM_RTS; in if_lock()
246 retval = cs->control_state & (TIOCM_RTS | TIOCM_DTR); in if_tiocmget()
270 mc = (cs->control_state | set) & ~clear & (TIOCM_RTS | TIOCM_DTR); in if_tiocmset()
440 new_state |= TIOCM_RTS; in if_set_termios()
443 (new_state & TIOCM_RTS) ? " only" : "/RTS"); in if_set_termios()
453 new_state = control_state & ~(TIOCM_DTR | TIOCM_RTS); in if_set_termios()
Dcommon.c110 cs->control_state = TIOCM_RTS; in gigaset_enterconfigmode()
119 r = setflags(cs, TIOCM_RTS, 100); in gigaset_enterconfigmode()
126 r = setflags(cs, TIOCM_RTS | TIOCM_DTR, 800); in gigaset_enterconfigmode()
134 cs->control_state = TIOCM_RTS | TIOCM_DTR; in gigaset_enterconfigmode()
135 cs->ops->set_modem_ctrl(cs, 0, TIOCM_RTS | TIOCM_DTR); in gigaset_enterconfigmode()
892 cs->ops->set_modem_ctrl(cs, 0, TIOCM_DTR | TIOCM_RTS); in gigaset_start()
895 cs->control_state = TIOCM_DTR | TIOCM_RTS; in gigaset_start()
Dusb-gigaset.c151 return ((state & TIOCM_DTR) ? 1 : 0) | ((state & TIOCM_RTS) ? 2 : 0); in tiocm_to_gigaset()
/linux-4.4.14/net/irda/ircomm/
Dircomm_tty_ioctl.c201 result = ((self->settings.dte & IRCOMM_RTS) ? TIOCM_RTS : 0) in ircomm_tty_tiocmget()
227 if (set & TIOCM_RTS) in ircomm_tty_tiocmset()
232 if (clear & TIOCM_RTS) in ircomm_tty_tiocmset()
237 if ((set|clear) & TIOCM_RTS) in ircomm_tty_tiocmset()
/linux-4.4.14/drivers/bluetooth/
Dhci_ldisc.c282 set &= ~(TIOCM_OUT2 | TIOCM_RTS); in hci_uart_set_flow_control()
284 set &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
286 clear &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
295 set |= (TIOCM_OUT2 | TIOCM_RTS); in hci_uart_set_flow_control()
297 set &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
299 clear &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
Dhci_ath.c62 tty->driver->ops->tiocmset(tty, 0x00, TIOCM_RTS); in ath_wakeup_ar3k()
67 tty->driver->ops->tiocmset(tty, TIOCM_RTS, 0x00); in ath_wakeup_ar3k()
/linux-4.4.14/arch/m32r/include/uapi/asm/
Dtermios.h27 #define TIOCM_RTS 0x004 macro
/linux-4.4.14/arch/ia64/include/uapi/asm/
Dtermios.h34 #define TIOCM_RTS 0x004 macro
/linux-4.4.14/arch/cris/include/uapi/asm/
Dtermios.h29 #define TIOCM_RTS 0x004 macro
/linux-4.4.14/arch/avr32/include/uapi/asm/
Dtermios.h34 #define TIOCM_RTS 0x004 macro
/linux-4.4.14/arch/parisc/include/uapi/asm/
Dtermios.h27 #define TIOCM_RTS 0x004 macro
/linux-4.4.14/include/uapi/asm-generic/
Dtermios.h34 #define TIOCM_RTS 0x004 macro
/linux-4.4.14/arch/s390/include/uapi/asm/
Dtermios.h33 #define TIOCM_RTS 0x004 macro
/linux-4.4.14/arch/frv/include/uapi/asm/
Dtermios.h28 #define TIOCM_RTS 0x004 macro
/linux-4.4.14/drivers/mmc/card/
Dsdio_uart.c224 if (mctrl & TIOCM_RTS) in sdio_uart_write_mctrl()
579 sdio_uart_clear_mctrl(port, TIOCM_DTR | TIOCM_RTS); in uart_dtr_rts()
581 sdio_uart_set_mctrl(port, TIOCM_DTR | TIOCM_RTS); in uart_dtr_rts()
652 sdio_uart_set_mctrl(port, TIOCM_RTS | TIOCM_DTR); in sdio_uart_activate()
848 sdio_uart_clear_mctrl(port, TIOCM_RTS); in sdio_uart_throttle()
874 sdio_uart_set_mctrl(port, TIOCM_RTS); in sdio_uart_unthrottle()
893 sdio_uart_clear_mctrl(port, TIOCM_RTS | TIOCM_DTR); in sdio_uart_set_termios()
899 mask |= TIOCM_RTS; in sdio_uart_set_termios()
/linux-4.4.14/arch/mips/include/uapi/asm/
Dtermios.h66 #define TIOCM_RTS 0x004 /* request to send */ macro
/linux-4.4.14/drivers/staging/dgnc/
Ddgnc_mgmt.c202 ni.mstat |= TIOCM_RTS; in dgnc_mgmt_ioctl()
203 ni.rts = TIOCM_RTS; in dgnc_mgmt_ioctl()
Ddigi.h22 #define TIOCM_RTS 0x04 /* request to send */ macro
Ddgnc_tty.c1860 result |= TIOCM_RTS; in dgnc_tty_tiocmget()
1905 if (set & TIOCM_RTS) in dgnc_tty_tiocmset()
1911 if (clear & TIOCM_RTS) in dgnc_tty_tiocmset()
2060 result |= TIOCM_RTS; in dgnc_get_mstat()
2129 if (arg & TIOCM_RTS) in dgnc_set_modem_info()
2138 if (arg & TIOCM_RTS) in dgnc_set_modem_info()
2148 if (arg & TIOCM_RTS) in dgnc_set_modem_info()
/linux-4.4.14/arch/mn10300/include/uapi/asm/
Dtermios.h28 #define TIOCM_RTS 0x004 macro
/linux-4.4.14/drivers/tty/ipwireless/
Dtty.c294 out |= TIOCM_RTS; in get_control_lines()
312 if (set & TIOCM_RTS) { in set_control_lines()
334 if (clear & TIOCM_RTS) { in set_control_lines()
/linux-4.4.14/arch/sh/include/uapi/asm/
Dioctls.h48 # define TIOCM_RTS 0x004 macro
/linux-4.4.14/arch/xtensa/include/uapi/asm/
Dioctls.h60 # define TIOCM_RTS 0x004 macro
/linux-4.4.14/arch/alpha/include/uapi/asm/
Dioctls.h56 # define TIOCM_RTS 0x004 macro
/linux-4.4.14/arch/powerpc/include/uapi/asm/
Dioctls.h56 # define TIOCM_RTS 0x004 macro
/linux-4.4.14/arch/arm/mach-sa1100/
Dhackkit.c118 if (mctrl & TIOCM_RTS) in hackkit_set_mctrl()
Dneponset.c105 if (mctrl & TIOCM_RTS) in neponset_set_mctrl()
115 if (mctrl & TIOCM_RTS) in neponset_set_mctrl()
Dh3xxx.c117 gpio_set_value(H3XXX_GPIO_COM_RTS, !(mctrl & TIOCM_RTS)); in h3xxx_uart_set_mctrl()
Dcollie.c162 if (mctrl & TIOCM_RTS) in collie_uart_set_mctrl()
Dassabet.c568 if (mctrl & TIOCM_RTS) in assabet_set_mctrl()
/linux-4.4.14/drivers/net/irda/
Dirtty-sir.c155 set |= TIOCM_RTS; in irtty_set_dtr_rts()
157 clear |= TIOCM_RTS; in irtty_set_dtr_rts()
/linux-4.4.14/arch/sparc/include/uapi/asm/
Dtermbits.h230 #define TIOCM_RTS 0x004 macro
/linux-4.4.14/drivers/staging/fwserial/
Dfwserial.h287 #define MCTRL_MASK (TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | TIOCM_OUT2 | \
Dfwserial.c407 if (port->mctrl & TIOCM_RTS) in __fwtty_port_line_status()
468 port->mctrl &= ~TIOCM_RTS; in fwtty_throttle_port()
912 port->mctrl |= TIOCM_DTR | TIOCM_RTS; in fwtty_port_dtr_rts()
914 port->mctrl &= ~(TIOCM_DTR | TIOCM_RTS); in fwtty_port_dtr_rts()
1014 port->mctrl = TIOCM_DTR | TIOCM_RTS; in fwtty_port_activate()
1196 port->mctrl |= TIOCM_RTS; in fwtty_unthrottle()
1308 port->mctrl &= ~(TIOCM_DTR | TIOCM_RTS); in fwtty_set_termios()
1311 port->mctrl |= TIOCM_DTR | TIOCM_RTS; in fwtty_set_termios()
/linux-4.4.14/drivers/tty/serial/
Dserial_core.c180 uart_set_mctrl(uport, TIOCM_RTS | TIOCM_DTR); in uart_port_startup()
244 uart_clear_mctrl(uport, TIOCM_DTR | TIOCM_RTS); in uart_shutdown()
654 uart_clear_mctrl(port, TIOCM_RTS); in uart_throttle()
677 uart_set_mctrl(port, TIOCM_RTS); in uart_unthrottle()
1359 uart_clear_mctrl(uport, TIOCM_RTS | TIOCM_DTR); in uart_set_termios()
1364 mask |= TIOCM_RTS; in uart_set_termios()
1577 uart_set_mctrl(uport, TIOCM_DTR | TIOCM_RTS); in uart_dtr_rts()
1579 uart_clear_mctrl(uport, TIOCM_DTR | TIOCM_RTS); in uart_dtr_rts()
1726 INFOBIT(TIOCM_RTS, "|RTS"); in uart_line_info()
Dtimbuart.c127 port->mctrl & TIOCM_RTS, in timbuart_tx_chars()
226 if (mctrl & TIOCM_RTS) in timbuart_set_mctrl()
Daltera_uart.c111 sigs |= (pp->sigs & TIOCM_RTS); in altera_uart_get_mctrl()
121 if (sigs & TIOCM_RTS) in altera_uart_set_mctrl()
Dserial_mctrl_gpio.c43 { "rts", TIOCM_RTS, true, },
Dmcf.c79 sigs |= (pp->sigs & TIOCM_RTS); in mcf_get_mctrl()
94 if (sigs & TIOCM_RTS) in mcf_set_mctrl()
Difx6x60.c305 (test_bit(IFX_SPI_RTS, &ifx_dev->signal_state) ? TIOCM_RTS : 0) | in ifx_spi_tiocmget()
330 if (set & TIOCM_RTS) in ifx_spi_tiocmset()
334 if (clear & TIOCM_RTS) in ifx_spi_tiocmset()
Detraxfs-uart.c390 ret |= TIOCM_RTS; in etraxfs_uart_get_mctrl()
400 crisv32_serial_set_rts(up, mctrl & TIOCM_RTS ? 1 : 0, 0); in etraxfs_uart_set_mctrl()
Dfsl_lpuart.c833 temp |= TIOCM_RTS; in lpuart_get_mctrl()
848 temp |= TIOCM_RTS; in lpuart32_get_mctrl()
860 if (mctrl & TIOCM_RTS) in lpuart_set_mctrl()
876 if (mctrl & TIOCM_RTS) in lpuart32_set_mctrl()
Dsunzilog.c654 if (mctrl & TIOCM_RTS) in sunzilog_set_mctrl()
1257 sunzilog_set_mctrl(&up->port, TIOCM_DTR | TIOCM_RTS); in sunzilog_console_setup()
1299 sunzilog_set_mctrl(&up->port, TIOCM_DTR | TIOCM_RTS); in sunzilog_init_kbdms()
Dserial_txx9.c433 ret |= (sio_in(up, TXX9_SIFLCR) & TXX9_SIFLCR_RTSSC) ? 0 : TIOCM_RTS; in serial_txx9_get_mctrl()
443 if (mctrl & TIOCM_RTS) in serial_txx9_set_mctrl()
Dsunsab.c367 if (mctrl & TIOCM_RTS) { in sunsab_set_mctrl()
941 sunsab_set_mctrl(&up->port, TIOCM_DTR | TIOCM_RTS); in sunsab_console_setup()
Dserial_ks8695.c300 if (mctrl & TIOCM_RTS) in ks8695uart_set_mctrl()
Dnetx-serial.c287 if (mctrl & TIOCM_RTS) { in netx_set_mctrl()
Dstm32-usart.c259 if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS)) in stm32_set_mctrl()
Dvt8500_serial.c299 if (mctrl & TIOCM_RTS) in vt8500_set_mctrl()
Dmen_z135_uart.c489 if (mctrl & TIOCM_RTS) in men_z135_set_mctrl()
Dbcm63xx_uart.c115 if (!(mctrl & TIOCM_RTS)) in bcm_uart_set_mctrl()
Dmsm_serial.c813 return TIOCM_CAR | TIOCM_CTS | TIOCM_DSR | TIOCM_RTS; in msm_get_mctrl()
839 if (!(mctrl & TIOCM_RTS)) { in msm_set_mctrl()
Dcrisv10.c3326 {TIOCM_RTS, "RTS"},
3385 if (clear & TIOCM_RTS) in rs_tiocmset()
3395 if (set & TIOCM_RTS) in rs_tiocmset()
3419 (!E100_RTS_GET(info) ? TIOCM_RTS : 0) in rs_tiocmget()
Dbfin_sport_uart.c236 if (mctrl & TIOCM_RTS) in sport_set_mctrl()
Dmpc52xx_uart.c938 if (state & TIOCM_RTS) in mpc5125_psc_set_rts()
1059 psc_ops->set_rts(port, mctrl & TIOCM_RTS); in mpc52xx_uart_set_mctrl()
Domap-serial.c672 if (mctrl & TIOCM_RTS) in serial_omap_set_mctrl()
693 if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS)) in serial_omap_set_mctrl()
Dmax3100.c414 rts = (mctrl & TIOCM_RTS) > 0; in max3100_set_mctrl()
Dvr41xx_siu.c209 if (mctrl & TIOCM_RTS) in siu_set_mctrl()
Dpxa.c308 if (mctrl & TIOCM_RTS) in serial_pxa_set_mctrl()
Dsb1250-duart.c271 if (mctrl & TIOCM_RTS) in sbd_set_mctrl()
Drp2.c307 ((mctrl & TIOCM_RTS) ? RP2_TXRX_CTL_RTS_m : 0) | in rp2_uart_set_mctrl()
Dsccnxp.c547 sccnxp_set_bit(port, RTS_OP, mctrl & TIOCM_RTS); in sccnxp_set_mctrl()
Dip22zilog.c554 if (mctrl & TIOCM_RTS) in ip22zilog_set_mctrl()
Dimx.c813 tmp |= TIOCM_RTS; in imx_get_mctrl()
829 if (mctrl & TIOCM_RTS) in imx_set_mctrl()
Damba-pl011.c1440 TIOCMBIT(TIOCM_RTS, UART011_CR_RTS); in pl011_set_mctrl()
1448 TIOCMBIT(TIOCM_RTS, UART011_CR_RTSEN); in pl011_set_mctrl()
Dxilinx_uartps.c935 if (mctrl & TIOCM_RTS) in cdns_uart_set_mctrl()
Dmxs-auart.c424 if (mctrl & TIOCM_RTS) { in mxs_auart_set_mctrl()
Dzs.c401 if (mctrl & TIOCM_RTS) in zs_set_mctrl()
Dserial-tegra.c213 tup->rts_active = !!(mctrl & TIOCM_RTS); in tegra_uart_set_mctrl()
Dsunsu.c589 if (mctrl & TIOCM_RTS) in sunsu_set_mctrl()
Dbfin_uart.c99 if (mctrl & TIOCM_RTS) in bfin_serial_set_mctrl()
Dioc3_serial.c1748 if (mctrl & TIOCM_RTS) in ic3_set_mctrl()
Dicom.c964 if (mctrl & TIOCM_RTS) { in icom_set_mctrl()
Dsirfsoc_uart.c105 unsigned int assert = mctrl & TIOCM_RTS; in sirfsoc_uart_set_mctrl()
Dpmac_zilog.c571 if (mctrl & TIOCM_RTS) in pmz_set_mctrl()
Dpch_uart.c1220 if (mctrl & TIOCM_RTS) in pch_uart_set_mctrl()
Dioc4_serial.c2468 if (mctrl & TIOCM_RTS) in ic4_set_mctrl()
Dsamsung.c826 if (mctrl & TIOCM_RTS) in s3c24xx_serial_set_mctrl()
Datmel_serial.c413 if (mctrl & TIOCM_RTS) in atmel_set_mctrl()
/linux-4.4.14/drivers/tty/
Dcyclades.c842 if (set & TIOCM_RTS) { in cyy_change_rts_dtr()
846 if (clear & TIOCM_RTS) { in cyy_change_rts_dtr()
1312 cyy_change_rts_dtr(info, TIOCM_RTS | TIOCM_DTR, 0); in cy_startup()
1444 cyy_change_rts_dtr(info, 0, TIOCM_RTS | TIOCM_DTR); in cy_shutdown()
2408 ((status & CyDTR) ? TIOCM_RTS : 0); in cy_tiocmget()
2410 result = ((status & CyRTS) ? TIOCM_RTS : 0) | in cy_tiocmget()
2426 result = ((lstatus & C_RS_RTS) ? TIOCM_RTS : 0) | in cy_tiocmget()
2463 if (set & TIOCM_RTS) in cy_tiocmset()
2465 if (clear & TIOCM_RTS) in cy_tiocmset()
2874 cyy_change_rts_dtr(info, 0, TIOCM_RTS); in cy_throttle()
[all …]
Disicom.c1074 return ((status & ISI_RTS) ? TIOCM_RTS : 0) | in isicom_tiocmget()
1092 if (set & TIOCM_RTS) in isicom_tiocmset()
1097 if (clear & TIOCM_RTS) in isicom_tiocmset()
Damiserial.c1156 return ((control & SER_RTS) ? TIOCM_RTS : 0) in rs_tiocmget()
1175 if (set & TIOCM_RTS) in rs_tiocmset()
1179 if (clear & TIOCM_RTS) in rs_tiocmset()
Dn_gsm.c439 if (dlci->modem_tx & TIOCM_RTS) in gsm_encode_modem()
1060 mlines |= TIOCM_RTS | TIOCM_CTS; in gsm_process_modem()
2886 modem_tx |= TIOCM_DTR | TIOCM_RTS; in gsm_dtr_rts()
2888 modem_tx &= ~(TIOCM_DTR | TIOCM_RTS); in gsm_dtr_rts()
Dnozomi.c1723 return (ctrl_ul->RTS ? TIOCM_RTS : 0) | in ntty_tiocmget()
1739 if (set & TIOCM_RTS) in ntty_tiocmset()
1741 else if (clear & TIOCM_RTS) in ntty_tiocmset()
Dmoxa.c1281 flag |= TIOCM_RTS; in moxa_tiocmget()
1306 if (set & TIOCM_RTS) in moxa_tiocmset()
1310 if (clear & TIOCM_RTS) in moxa_tiocmset()
Drocket.c1157 result = ((control & SET_RTS) ? TIOCM_RTS : 0) | in rp_tiocmget()
1175 if (set & TIOCM_RTS) in rp_tiocmset()
1179 if (clear & TIOCM_RTS) in rp_tiocmset()
Dmxser.c1344 return ((control & UART_MCR_RTS) ? TIOCM_RTS : 0) | in mxser_tiocmget()
1366 if (set & TIOCM_RTS) in mxser_tiocmset()
1371 if (clear & TIOCM_RTS) in mxser_tiocmset()
Dtty_io.c2789 set &= TIOCM_DTR|TIOCM_RTS|TIOCM_OUT1|TIOCM_OUT2|TIOCM_LOOP; in tty_tiocmset()
2790 clear &= TIOCM_DTR|TIOCM_RTS|TIOCM_OUT1|TIOCM_OUT2|TIOCM_LOOP; in tty_tiocmset()
Dsynclink_gt.c3195 result = ((info->signals & SerialSignal_RTS) ? TIOCM_RTS:0) + in tiocmget()
3221 if (set & TIOCM_RTS) in tiocmset()
3225 if (clear & TIOCM_RTS) in tiocmset()
Dsynclinkmp.c3210 result = ((info->serial_signals & SerialSignal_RTS) ? TIOCM_RTS : 0) | in tiocmget()
3235 if (set & TIOCM_RTS) in tiocmset()
3239 if (clear & TIOCM_RTS) in tiocmset()
Dsynclink.c2850 result = ((info->serial_signals & SerialSignal_RTS) ? TIOCM_RTS:0) + in tiocmget()
2875 if (set & TIOCM_RTS) in tiocmset()
2879 if (clear & TIOCM_RTS) in tiocmset()
/linux-4.4.14/arch/arm/mach-integrator/
Dintegrator_ap.c229 if (mctrl & TIOCM_RTS) in integrator_uart_set_mctrl()
/linux-4.4.14/net/bluetooth/rfcomm/
Dtty.c656 ((v24_sig & RFCOMM_V24_RTR) ? (TIOCM_RTS | TIOCM_CTS) : 0) | in rfcomm_dev_modem_status()
1095 if (set & TIOCM_RTS || set & TIOCM_CTS) in rfcomm_tty_tiocmset()
1104 if (clear & TIOCM_RTS || clear & TIOCM_CTS) in rfcomm_tty_tiocmset()
/linux-4.4.14/drivers/tty/serial/jsm/
Djsm_tty.c50 result |= TIOCM_RTS; in jsm_get_mstat()
102 if (mctrl & TIOCM_RTS) in jsm_tty_set_mctrl()
/linux-4.4.14/drivers/usb/class/
Dcdc-acm.c795 (acm->ctrlout & ACM_CTRL_RTS ? TIOCM_RTS : 0) | in acm_tty_tiocmget()
810 (set & TIOCM_RTS ? ACM_CTRL_RTS : 0); in acm_tty_tiocmset()
812 (clear & TIOCM_RTS ? ACM_CTRL_RTS : 0); in acm_tty_tiocmset()
/linux-4.4.14/drivers/staging/dgap/
Ddgap.h682 #define TIOCM_RTS 0x04 /* request to send */ macro
Ddgap.c3714 result |= TIOCM_RTS; in dgap_tty_tiocmget()
3759 if (set & TIOCM_RTS) { in dgap_tty_tiocmset()
3769 if (clear & TIOCM_RTS) { in dgap_tty_tiocmset()
3925 result |= TIOCM_RTS; in dgap_get_modem_info()
3958 if (arg & TIOCM_RTS) { in dgap_set_modem_info()
3971 if (arg & TIOCM_RTS) { in dgap_set_modem_info()
3986 if (arg & TIOCM_RTS) in dgap_set_modem_info()
/linux-4.4.14/arch/arm/mach-ep93xx/
Dcore.c164 if (mctrl & TIOCM_RTS) in ep93xx_uart_set_mctrl()
/linux-4.4.14/drivers/net/usb/
Dhso.c1308 hso_serial_tiocmset(tty, TIOCM_RTS | TIOCM_DTR, 0); in hso_serial_open()
1656 retval = ((serial->rts_state) ? TIOCM_RTS : 0) | in hso_serial_tiocmget()
1696 if (set & TIOCM_RTS) in hso_serial_tiocmset()
1701 if (clear & TIOCM_RTS) in hso_serial_tiocmset()
/linux-4.4.14/drivers/isdn/i4l/
Disdn_tty.c1365 return ((control & UART_MCR_RTS) ? TIOCM_RTS : 0) in isdn_tty_tiocmget()
1389 if (set & TIOCM_RTS) in isdn_tty_tiocmset()
1396 if (clear & TIOCM_RTS) in isdn_tty_tiocmset()
/linux-4.4.14/drivers/char/pcmcia/
Dsynclink_cs.c2131 result = ((info->serial_signals & SerialSignal_RTS) ? TIOCM_RTS:0) + in tiocmget()
2156 if (set & TIOCM_RTS) in tiocmset()
2160 if (clear & TIOCM_RTS) in tiocmset()
/linux-4.4.14/Documentation/serial/
Ddriver89 - TIOCM_RTS RTS signal.
/linux-4.4.14/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c110 gpio_set_value(pinfo->gpios[GPIO_RTS], !(mctrl & TIOCM_RTS)); in cpm_uart_set_mctrl()
/linux-4.4.14/drivers/tty/serial/8250/
D8250_omap.c137 if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS)) in omap8250_set_mctrl()
D8250_port.c1667 if (mctrl & TIOCM_RTS) in serial8250_do_set_mctrl()