Home
last modified time | relevance | path

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

12345

/Linux-v5.4/drivers/usb/serial/
Dmct_u232.c285 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 …]
Dmetro-usb.c229 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()
Dupd78f0730.c203 ((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()
Dbelkin_sa.c311 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()
Df81232.c224 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()
Dssu100.c139 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()
Dopticon.c291 result |= TIOCM_RTS; in opticon_tiocmget()
314 if (set & TIOCM_RTS) in opticon_tiocmset()
316 if (clear & TIOCM_RTS) in opticon_tiocmset()
Df81534.c687 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()
Dspcp8x5.c423 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()
Dquatech2.c223 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/
Dinterface.c33 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()
Dcommon.c107 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/
Dhci_ldisc.c336 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()
Dhci_ath.c59 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/
Dsdio_uart.c218 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/
Dtermios.h35 #define TIOCM_RTS 0x004 macro
/Linux-v5.4/arch/s390/include/uapi/asm/
Dtermios.h34 #define TIOCM_RTS 0x004 macro
/Linux-v5.4/arch/parisc/include/uapi/asm/
Dtermios.h28 #define TIOCM_RTS 0x004 macro
/Linux-v5.4/arch/ia64/include/uapi/asm/
Dtermios.h35 #define TIOCM_RTS 0x004 macro
/Linux-v5.4/arch/mips/include/uapi/asm/
Dtermios.h67 #define TIOCM_RTS 0x004 /* request to send */ macro
/Linux-v5.4/include/linux/
Dserdev.h298 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/
D8250.h167 if (tiocm & TIOCM_RTS) in serial8250_TIOCM_to_MCR()
186 tiocm |= TIOCM_RTS; in serial8250_MCR_to_TIOCM()
/Linux-v5.4/drivers/tty/ipwireless/
Dtty.c293 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/
Dioctls.h61 # define TIOCM_RTS 0x004 macro
/Linux-v5.4/arch/sh/include/uapi/asm/
Dioctls.h49 # define TIOCM_RTS 0x004 macro

12345