/Linux-v5.4/drivers/usb/serial/ |
D | mct_u232.c | 285 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 | metro-usb.c | 229 if (control_state & TIOCM_RTS) in metrousb_set_modem_ctrl() 310 if (set & TIOCM_RTS) in metrousb_tiocmset() 311 control_state |= TIOCM_RTS; in metrousb_tiocmset() 314 if (clear & TIOCM_RTS) in metrousb_tiocmset() 315 control_state &= ~TIOCM_RTS; in metrousb_tiocmset()
|
D | upd78f0730.c | 203 ((signals & UPD78F0730_RTS) ? TIOCM_RTS : 0); in upd78f0730_tiocmget() 226 if (set & TIOCM_RTS) { in upd78f0730_tiocmset() 234 if (clear & TIOCM_RTS) { in upd78f0730_tiocmset() 278 set = TIOCM_DTR | TIOCM_RTS; in upd78f0730_dtr_rts() 280 clear = TIOCM_DTR | TIOCM_RTS; in upd78f0730_dtr_rts()
|
D | belkin_sa.c | 311 control_state |= (TIOCM_DTR|TIOCM_RTS); in belkin_sa_set_termios() 341 control_state &= ~(TIOCM_DTR | TIOCM_RTS); in belkin_sa_set_termios() 458 if (set & TIOCM_RTS) { in belkin_sa_tiocmset() 459 control_state |= TIOCM_RTS; in belkin_sa_tiocmset() 466 if (clear & TIOCM_RTS) { in belkin_sa_tiocmset() 467 control_state &= ~TIOCM_RTS; in belkin_sa_tiocmset()
|
D | f81232.c | 224 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) in f81232_set_mctrl() 237 if (clear & TIOCM_RTS) in f81232_set_mctrl() 243 if (set & TIOCM_RTS) in f81232_set_mctrl() 544 f81232_set_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81232_set_termios() 546 f81232_set_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81232_set_termios() 617 (mcr & UART_MCR_RTS ? TIOCM_RTS : 0) | in f81232_tiocmget() 676 f81232_set_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81232_dtr_rts() 678 f81232_set_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81232_dtr_rts()
|
D | ssu100.c | 139 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) { in update_mctrl() 148 if (set & TIOCM_RTS) in update_mctrl() 399 (d[0] & UART_MCR_RTS ? TIOCM_RTS : 0) | in ssu100_tiocmget() 430 set_mctrl(dev, TIOCM_DTR | TIOCM_RTS); in ssu100_dtr_rts() 432 clear_mctrl(dev, TIOCM_DTR | TIOCM_RTS); in ssu100_dtr_rts()
|
D | opticon.c | 291 result |= TIOCM_RTS; in opticon_tiocmget() 314 if (set & TIOCM_RTS) in opticon_tiocmset() 316 if (clear & TIOCM_RTS) in opticon_tiocmset()
|
D | f81534.c | 687 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) in f81534_update_mctrl() 701 if (clear & TIOCM_RTS) in f81534_update_mctrl() 707 if (set & TIOCM_RTS) in f81534_update_mctrl() 958 f81534_update_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81534_set_termios() 960 f81534_update_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81534_set_termios() 1462 (mcr & UART_MCR_RTS ? TIOCM_RTS : 0) | in f81534_tiocmget() 1482 f81534_update_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81534_dtr_rts() 1484 f81534_update_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81534_dtr_rts()
|
D | spcp8x5.c | 423 if (set & TIOCM_RTS) in spcp8x5_tiocmset() 427 if (clear & TIOCM_RTS) in spcp8x5_tiocmset() 455 | ((mcr & MCR_RTS) ? TIOCM_RTS : 0) in spcp8x5_tiocmget()
|
D | quatech2.c | 223 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) { in update_mctrl() 233 if (set & TIOCM_RTS) in update_mctrl() 779 (d[0] & UART_MCR_RTS ? TIOCM_RTS : 0) | in qt2_tiocmget() 833 update_mctrl(port_priv, TIOCM_DTR | TIOCM_RTS, 0); in qt2_dtr_rts() 835 update_mctrl(port_priv, 0, TIOCM_DTR | TIOCM_RTS); in qt2_dtr_rts()
|
/Linux-v5.4/drivers/staging/isdn/gigaset/ |
D | interface.c | 33 cs->ops->set_modem_ctrl(cs, 0, TIOCM_DTR | TIOCM_RTS); in if_lock() 36 cs->control_state = TIOCM_DTR | TIOCM_RTS; in if_lock() 251 retval = cs->control_state & (TIOCM_RTS | TIOCM_DTR); in if_tiocmget() 275 mc = (cs->control_state | set) & ~clear & (TIOCM_RTS | TIOCM_DTR); in if_tiocmset() 445 new_state |= TIOCM_RTS; in if_set_termios() 448 (new_state & TIOCM_RTS) ? " only" : "/RTS"); in if_set_termios() 458 new_state = control_state & ~(TIOCM_DTR | TIOCM_RTS); in if_set_termios()
|
D | common.c | 107 cs->control_state = TIOCM_RTS; in gigaset_enterconfigmode() 116 r = setflags(cs, TIOCM_RTS, 100); in gigaset_enterconfigmode() 123 r = setflags(cs, TIOCM_RTS | TIOCM_DTR, 800); in gigaset_enterconfigmode() 131 cs->control_state = TIOCM_RTS | TIOCM_DTR; in gigaset_enterconfigmode() 132 cs->ops->set_modem_ctrl(cs, 0, TIOCM_RTS | TIOCM_DTR); in gigaset_enterconfigmode() 888 cs->ops->set_modem_ctrl(cs, 0, TIOCM_DTR | TIOCM_RTS); in gigaset_start() 891 cs->control_state = TIOCM_DTR | TIOCM_RTS; in gigaset_start()
|
/Linux-v5.4/drivers/bluetooth/ |
D | hci_ldisc.c | 336 set &= ~(TIOCM_OUT2 | TIOCM_RTS); in hci_uart_set_flow_control() 338 set &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control() 340 clear &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control() 349 set |= (TIOCM_OUT2 | TIOCM_RTS); in hci_uart_set_flow_control() 351 set &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control() 353 clear &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
|
D | hci_ath.c | 59 tty->driver->ops->tiocmset(tty, 0x00, TIOCM_RTS); in ath_wakeup_ar3k() 64 tty->driver->ops->tiocmset(tty, TIOCM_RTS, 0x00); in ath_wakeup_ar3k()
|
/Linux-v5.4/drivers/mmc/core/ |
D | sdio_uart.c | 218 if (mctrl & TIOCM_RTS) in sdio_uart_write_mctrl() 573 sdio_uart_clear_mctrl(port, TIOCM_DTR | TIOCM_RTS); in uart_dtr_rts() 575 sdio_uart_set_mctrl(port, TIOCM_DTR | TIOCM_RTS); in uart_dtr_rts() 646 sdio_uart_set_mctrl(port, TIOCM_RTS | TIOCM_DTR); in sdio_uart_activate() 842 sdio_uart_clear_mctrl(port, TIOCM_RTS); in sdio_uart_throttle() 868 sdio_uart_set_mctrl(port, TIOCM_RTS); in sdio_uart_unthrottle() 887 sdio_uart_clear_mctrl(port, TIOCM_RTS | TIOCM_DTR); in sdio_uart_set_termios() 893 mask |= TIOCM_RTS; in sdio_uart_set_termios()
|
/Linux-v5.4/include/uapi/asm-generic/ |
D | termios.h | 35 #define TIOCM_RTS 0x004 macro
|
/Linux-v5.4/arch/s390/include/uapi/asm/ |
D | termios.h | 34 #define TIOCM_RTS 0x004 macro
|
/Linux-v5.4/arch/parisc/include/uapi/asm/ |
D | termios.h | 28 #define TIOCM_RTS 0x004 macro
|
/Linux-v5.4/arch/ia64/include/uapi/asm/ |
D | termios.h | 35 #define TIOCM_RTS 0x004 macro
|
/Linux-v5.4/arch/mips/include/uapi/asm/ |
D | termios.h | 67 #define TIOCM_RTS 0x004 /* request to send */ macro
|
/Linux-v5.4/include/linux/ |
D | serdev.h | 298 return serdev_device_set_tiocm(serdev, TIOCM_RTS, 0); in serdev_device_set_rts() 300 return serdev_device_set_tiocm(serdev, 0, TIOCM_RTS); in serdev_device_set_rts()
|
/Linux-v5.4/drivers/tty/serial/8250/ |
D | 8250.h | 167 if (tiocm & TIOCM_RTS) in serial8250_TIOCM_to_MCR() 186 tiocm |= TIOCM_RTS; in serial8250_MCR_to_TIOCM()
|
/Linux-v5.4/drivers/tty/ipwireless/ |
D | tty.c | 293 out |= TIOCM_RTS; in get_control_lines() 311 if (set & TIOCM_RTS) { in set_control_lines() 333 if (clear & TIOCM_RTS) { in set_control_lines()
|
/Linux-v5.4/arch/xtensa/include/uapi/asm/ |
D | ioctls.h | 61 # define TIOCM_RTS 0x004 macro
|
/Linux-v5.4/arch/sh/include/uapi/asm/ |
D | ioctls.h | 49 # define TIOCM_RTS 0x004 macro
|