/linux-4.4.14/drivers/usb/serial/ |
D | mct_u232.c | 289 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 …]
|
D | f81232.c | 185 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()
|
D | metro-usb.c | 247 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()
|
D | belkin_sa.c | 315 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()
|
D | ssu100.c | 123 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()
|
D | cp210x.c | 811 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()
|
D | kl5kusb105.c | 431 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()
|
D | opticon.c | 294 result |= TIOCM_RTS; in opticon_tiocmget() 317 if (set & TIOCM_RTS) in opticon_tiocmset() 319 if (clear & TIOCM_RTS) in opticon_tiocmset()
|
D | spcp8x5.c | 424 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()
|
D | quatech2.c | 227 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()
|
D | keyspan_pda.c | 403 ((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()
|
D | ch341.c | 422 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()
|
D | ark3116.c | 454 (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()
|
D | ftdi_sio.c | 1193 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()
|
D | digi_acceleport.c | 562 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()
|
D | usb_wwan.c | 100 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()
|
D | kobil_sct.c | 427 if (set & TIOCM_RTS) in kobil_tiocmset() 431 if (clear & TIOCM_RTS) in kobil_tiocmset()
|
D | whiteheat.c | 450 modem_signals |= TIOCM_RTS; in whiteheat_tiocmget() 461 if (set & TIOCM_RTS) in whiteheat_tiocmset() 466 if (clear & TIOCM_RTS) in whiteheat_tiocmset()
|
D | oti6858.c | 597 if ((set & TIOCM_RTS) != 0) in oti6858_tiocmset() 601 if ((clear & TIOCM_RTS) != 0) in oti6858_tiocmset() 627 result |= TIOCM_RTS; in oti6858_tiocmget()
|
D | pl2303.c | 683 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()
|
D | iuu_phoenix.c | 134 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()
|
D | sierra.c | 388 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()
|
D | mos7720.c | 1775 | ((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()
|
D | cypress_m8.c | 830 | ((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()
|
D | mxuport.c | 720 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()
|
D | ti_usb_3410_5052.c | 855 | ((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()
|
D | mos7840.c | 1498 | ((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()
|
D | keyspan.c | 189 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()
|
D | io_edgeport.c | 1513 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()
|
D | io_ti.c | 2408 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/ |
D | interface.c | 36 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()
|
D | common.c | 110 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()
|
D | usb-gigaset.c | 151 return ((state & TIOCM_DTR) ? 1 : 0) | ((state & TIOCM_RTS) ? 2 : 0); in tiocm_to_gigaset()
|
/linux-4.4.14/net/irda/ircomm/ |
D | ircomm_tty_ioctl.c | 201 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/ |
D | hci_ldisc.c | 282 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()
|
D | hci_ath.c | 62 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/ |
D | termios.h | 27 #define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/arch/ia64/include/uapi/asm/ |
D | termios.h | 34 #define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/arch/cris/include/uapi/asm/ |
D | termios.h | 29 #define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/arch/avr32/include/uapi/asm/ |
D | termios.h | 34 #define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/arch/parisc/include/uapi/asm/ |
D | termios.h | 27 #define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/include/uapi/asm-generic/ |
D | termios.h | 34 #define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/arch/s390/include/uapi/asm/ |
D | termios.h | 33 #define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/arch/frv/include/uapi/asm/ |
D | termios.h | 28 #define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/drivers/mmc/card/ |
D | sdio_uart.c | 224 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/ |
D | termios.h | 66 #define TIOCM_RTS 0x004 /* request to send */ macro
|
/linux-4.4.14/drivers/staging/dgnc/ |
D | dgnc_mgmt.c | 202 ni.mstat |= TIOCM_RTS; in dgnc_mgmt_ioctl() 203 ni.rts = TIOCM_RTS; in dgnc_mgmt_ioctl()
|
D | digi.h | 22 #define TIOCM_RTS 0x04 /* request to send */ macro
|
D | dgnc_tty.c | 1860 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/ |
D | termios.h | 28 #define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/drivers/tty/ipwireless/ |
D | tty.c | 294 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/ |
D | ioctls.h | 48 # define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/arch/xtensa/include/uapi/asm/ |
D | ioctls.h | 60 # define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/arch/alpha/include/uapi/asm/ |
D | ioctls.h | 56 # define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/arch/powerpc/include/uapi/asm/ |
D | ioctls.h | 56 # define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/arch/arm/mach-sa1100/ |
D | hackkit.c | 118 if (mctrl & TIOCM_RTS) in hackkit_set_mctrl()
|
D | neponset.c | 105 if (mctrl & TIOCM_RTS) in neponset_set_mctrl() 115 if (mctrl & TIOCM_RTS) in neponset_set_mctrl()
|
D | h3xxx.c | 117 gpio_set_value(H3XXX_GPIO_COM_RTS, !(mctrl & TIOCM_RTS)); in h3xxx_uart_set_mctrl()
|
D | collie.c | 162 if (mctrl & TIOCM_RTS) in collie_uart_set_mctrl()
|
D | assabet.c | 568 if (mctrl & TIOCM_RTS) in assabet_set_mctrl()
|
/linux-4.4.14/drivers/net/irda/ |
D | irtty-sir.c | 155 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/ |
D | termbits.h | 230 #define TIOCM_RTS 0x004 macro
|
/linux-4.4.14/drivers/staging/fwserial/ |
D | fwserial.h | 287 #define MCTRL_MASK (TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | TIOCM_OUT2 | \
|
D | fwserial.c | 407 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/ |
D | serial_core.c | 180 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()
|
D | timbuart.c | 127 port->mctrl & TIOCM_RTS, in timbuart_tx_chars() 226 if (mctrl & TIOCM_RTS) in timbuart_set_mctrl()
|
D | altera_uart.c | 111 sigs |= (pp->sigs & TIOCM_RTS); in altera_uart_get_mctrl() 121 if (sigs & TIOCM_RTS) in altera_uart_set_mctrl()
|
D | serial_mctrl_gpio.c | 43 { "rts", TIOCM_RTS, true, },
|
D | mcf.c | 79 sigs |= (pp->sigs & TIOCM_RTS); in mcf_get_mctrl() 94 if (sigs & TIOCM_RTS) in mcf_set_mctrl()
|
D | ifx6x60.c | 305 (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()
|
D | etraxfs-uart.c | 390 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()
|
D | fsl_lpuart.c | 833 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()
|
D | sunzilog.c | 654 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()
|
D | serial_txx9.c | 433 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()
|
D | sunsab.c | 367 if (mctrl & TIOCM_RTS) { in sunsab_set_mctrl() 941 sunsab_set_mctrl(&up->port, TIOCM_DTR | TIOCM_RTS); in sunsab_console_setup()
|
D | serial_ks8695.c | 300 if (mctrl & TIOCM_RTS) in ks8695uart_set_mctrl()
|
D | netx-serial.c | 287 if (mctrl & TIOCM_RTS) { in netx_set_mctrl()
|
D | stm32-usart.c | 259 if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS)) in stm32_set_mctrl()
|
D | vt8500_serial.c | 299 if (mctrl & TIOCM_RTS) in vt8500_set_mctrl()
|
D | men_z135_uart.c | 489 if (mctrl & TIOCM_RTS) in men_z135_set_mctrl()
|
D | bcm63xx_uart.c | 115 if (!(mctrl & TIOCM_RTS)) in bcm_uart_set_mctrl()
|
D | msm_serial.c | 813 return TIOCM_CAR | TIOCM_CTS | TIOCM_DSR | TIOCM_RTS; in msm_get_mctrl() 839 if (!(mctrl & TIOCM_RTS)) { in msm_set_mctrl()
|
D | crisv10.c | 3326 {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()
|
D | bfin_sport_uart.c | 236 if (mctrl & TIOCM_RTS) in sport_set_mctrl()
|
D | mpc52xx_uart.c | 938 if (state & TIOCM_RTS) in mpc5125_psc_set_rts() 1059 psc_ops->set_rts(port, mctrl & TIOCM_RTS); in mpc52xx_uart_set_mctrl()
|
D | omap-serial.c | 672 if (mctrl & TIOCM_RTS) in serial_omap_set_mctrl() 693 if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS)) in serial_omap_set_mctrl()
|
D | max3100.c | 414 rts = (mctrl & TIOCM_RTS) > 0; in max3100_set_mctrl()
|
D | vr41xx_siu.c | 209 if (mctrl & TIOCM_RTS) in siu_set_mctrl()
|
D | pxa.c | 308 if (mctrl & TIOCM_RTS) in serial_pxa_set_mctrl()
|
D | sb1250-duart.c | 271 if (mctrl & TIOCM_RTS) in sbd_set_mctrl()
|
D | rp2.c | 307 ((mctrl & TIOCM_RTS) ? RP2_TXRX_CTL_RTS_m : 0) | in rp2_uart_set_mctrl()
|
D | sccnxp.c | 547 sccnxp_set_bit(port, RTS_OP, mctrl & TIOCM_RTS); in sccnxp_set_mctrl()
|
D | ip22zilog.c | 554 if (mctrl & TIOCM_RTS) in ip22zilog_set_mctrl()
|
D | imx.c | 813 tmp |= TIOCM_RTS; in imx_get_mctrl() 829 if (mctrl & TIOCM_RTS) in imx_set_mctrl()
|
D | amba-pl011.c | 1440 TIOCMBIT(TIOCM_RTS, UART011_CR_RTS); in pl011_set_mctrl() 1448 TIOCMBIT(TIOCM_RTS, UART011_CR_RTSEN); in pl011_set_mctrl()
|
D | xilinx_uartps.c | 935 if (mctrl & TIOCM_RTS) in cdns_uart_set_mctrl()
|
D | mxs-auart.c | 424 if (mctrl & TIOCM_RTS) { in mxs_auart_set_mctrl()
|
D | zs.c | 401 if (mctrl & TIOCM_RTS) in zs_set_mctrl()
|
D | serial-tegra.c | 213 tup->rts_active = !!(mctrl & TIOCM_RTS); in tegra_uart_set_mctrl()
|
D | sunsu.c | 589 if (mctrl & TIOCM_RTS) in sunsu_set_mctrl()
|
D | bfin_uart.c | 99 if (mctrl & TIOCM_RTS) in bfin_serial_set_mctrl()
|
D | ioc3_serial.c | 1748 if (mctrl & TIOCM_RTS) in ic3_set_mctrl()
|
D | icom.c | 964 if (mctrl & TIOCM_RTS) { in icom_set_mctrl()
|
D | sirfsoc_uart.c | 105 unsigned int assert = mctrl & TIOCM_RTS; in sirfsoc_uart_set_mctrl()
|
D | pmac_zilog.c | 571 if (mctrl & TIOCM_RTS) in pmz_set_mctrl()
|
D | pch_uart.c | 1220 if (mctrl & TIOCM_RTS) in pch_uart_set_mctrl()
|
D | ioc4_serial.c | 2468 if (mctrl & TIOCM_RTS) in ic4_set_mctrl()
|
D | samsung.c | 826 if (mctrl & TIOCM_RTS) in s3c24xx_serial_set_mctrl()
|
D | atmel_serial.c | 413 if (mctrl & TIOCM_RTS) in atmel_set_mctrl()
|
/linux-4.4.14/drivers/tty/ |
D | cyclades.c | 842 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 …]
|
D | isicom.c | 1074 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()
|
D | amiserial.c | 1156 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()
|
D | n_gsm.c | 439 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()
|
D | nozomi.c | 1723 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()
|
D | moxa.c | 1281 flag |= TIOCM_RTS; in moxa_tiocmget() 1306 if (set & TIOCM_RTS) in moxa_tiocmset() 1310 if (clear & TIOCM_RTS) in moxa_tiocmset()
|
D | rocket.c | 1157 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()
|
D | mxser.c | 1344 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()
|
D | tty_io.c | 2789 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()
|
D | synclink_gt.c | 3195 result = ((info->signals & SerialSignal_RTS) ? TIOCM_RTS:0) + in tiocmget() 3221 if (set & TIOCM_RTS) in tiocmset() 3225 if (clear & TIOCM_RTS) in tiocmset()
|
D | synclinkmp.c | 3210 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()
|
D | synclink.c | 2850 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/ |
D | integrator_ap.c | 229 if (mctrl & TIOCM_RTS) in integrator_uart_set_mctrl()
|
/linux-4.4.14/net/bluetooth/rfcomm/ |
D | tty.c | 656 ((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/ |
D | jsm_tty.c | 50 result |= TIOCM_RTS; in jsm_get_mstat() 102 if (mctrl & TIOCM_RTS) in jsm_tty_set_mctrl()
|
/linux-4.4.14/drivers/usb/class/ |
D | cdc-acm.c | 795 (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/ |
D | dgap.h | 682 #define TIOCM_RTS 0x04 /* request to send */ macro
|
D | dgap.c | 3714 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/ |
D | core.c | 164 if (mctrl & TIOCM_RTS) in ep93xx_uart_set_mctrl()
|
/linux-4.4.14/drivers/net/usb/ |
D | hso.c | 1308 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/ |
D | isdn_tty.c | 1365 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/ |
D | synclink_cs.c | 2131 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/ |
D | driver | 89 - TIOCM_RTS RTS signal.
|
/linux-4.4.14/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_core.c | 110 gpio_set_value(pinfo->gpios[GPIO_RTS], !(mctrl & TIOCM_RTS)); in cpm_uart_set_mctrl()
|
/linux-4.4.14/drivers/tty/serial/8250/ |
D | 8250_omap.c | 137 if ((mctrl & TIOCM_RTS) && (port->status & UPSTAT_AUTORTS)) in omap8250_set_mctrl()
|
D | 8250_port.c | 1667 if (mctrl & TIOCM_RTS) in serial8250_do_set_mctrl()
|