Home
last modified time | relevance | path

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

123456

/Linux-v4.19/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 …]
Df81232.c181 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) in f81232_set_mctrl()
194 if (clear & TIOCM_RTS) in f81232_set_mctrl()
200 if (set & TIOCM_RTS) in f81232_set_mctrl()
447 f81232_set_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81232_set_termios()
449 f81232_set_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81232_set_termios()
512 (mcr & UART_MCR_RTS ? TIOCM_RTS : 0) | in f81232_tiocmget()
567 f81232_set_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81232_dtr_rts()
569 f81232_set_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81232_dtr_rts()
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()
Dssu100.c139 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) { in update_mctrl()
148 if (set & TIOCM_RTS) in update_mctrl()
419 (d[0] & UART_MCR_RTS ? TIOCM_RTS : 0) | in ssu100_tiocmget()
450 set_mctrl(dev, TIOCM_DTR | TIOCM_RTS); in ssu100_dtr_rts()
452 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.c684 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) in f81534_update_mctrl()
698 if (clear & TIOCM_RTS) in f81534_update_mctrl()
704 if (set & TIOCM_RTS) in f81534_update_mctrl()
955 f81534_update_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81534_set_termios()
957 f81534_update_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81534_set_termios()
1470 (mcr & UART_MCR_RTS ? TIOCM_RTS : 0) | in f81534_tiocmget()
1490 f81534_update_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81534_dtr_rts()
1492 f81534_update_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81534_dtr_rts()
Dspcp8x5.c426 if (set & TIOCM_RTS) in spcp8x5_tiocmset()
430 if (clear & TIOCM_RTS) in spcp8x5_tiocmset()
458 | ((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()
802 (d[0] & UART_MCR_RTS ? TIOCM_RTS : 0) | in qt2_tiocmget()
856 update_mctrl(port_priv, TIOCM_DTR | TIOCM_RTS, 0); in qt2_dtr_rts()
858 update_mctrl(port_priv, 0, TIOCM_DTR | TIOCM_RTS); in qt2_dtr_rts()
/Linux-v4.19/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()
891 cs->ops->set_modem_ctrl(cs, 0, TIOCM_DTR | TIOCM_RTS); in gigaset_start()
894 cs->control_state = TIOCM_DTR | TIOCM_RTS; in gigaset_start()
/Linux-v4.19/drivers/bluetooth/
Dhci_ldisc.c330 set &= ~(TIOCM_OUT2 | TIOCM_RTS); in hci_uart_set_flow_control()
332 set &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
334 clear &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
343 set |= (TIOCM_OUT2 | TIOCM_RTS); in hci_uart_set_flow_control()
345 set &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
347 clear &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
Dhci_ath.c73 tty->driver->ops->tiocmset(tty, 0x00, TIOCM_RTS); in ath_wakeup_ar3k()
78 tty->driver->ops->tiocmset(tty, TIOCM_RTS, 0x00); in ath_wakeup_ar3k()
/Linux-v4.19/drivers/mmc/core/
Dsdio_uart.c222 if (mctrl & TIOCM_RTS) in sdio_uart_write_mctrl()
577 sdio_uart_clear_mctrl(port, TIOCM_DTR | TIOCM_RTS); in uart_dtr_rts()
579 sdio_uart_set_mctrl(port, TIOCM_DTR | TIOCM_RTS); in uart_dtr_rts()
650 sdio_uart_set_mctrl(port, TIOCM_RTS | TIOCM_DTR); in sdio_uart_activate()
846 sdio_uart_clear_mctrl(port, TIOCM_RTS); in sdio_uart_throttle()
872 sdio_uart_set_mctrl(port, TIOCM_RTS); in sdio_uart_unthrottle()
891 sdio_uart_clear_mctrl(port, TIOCM_RTS | TIOCM_DTR); in sdio_uart_set_termios()
897 mask |= TIOCM_RTS; in sdio_uart_set_termios()
/Linux-v4.19/arch/parisc/include/uapi/asm/
Dtermios.h28 #define TIOCM_RTS 0x004 macro
/Linux-v4.19/arch/ia64/include/uapi/asm/
Dtermios.h35 #define TIOCM_RTS 0x004 macro
/Linux-v4.19/arch/s390/include/uapi/asm/
Dtermios.h34 #define TIOCM_RTS 0x004 macro
/Linux-v4.19/include/uapi/asm-generic/
Dtermios.h35 #define TIOCM_RTS 0x004 macro
/Linux-v4.19/arch/mips/include/uapi/asm/
Dtermios.h67 #define TIOCM_RTS 0x004 /* request to send */ macro
/Linux-v4.19/include/linux/
Dserdev.h306 return serdev_device_set_tiocm(serdev, TIOCM_RTS, 0); in serdev_device_set_rts()
308 return serdev_device_set_tiocm(serdev, 0, TIOCM_RTS); in serdev_device_set_rts()
/Linux-v4.19/drivers/tty/ipwireless/
Dtty.c286 out |= TIOCM_RTS; in get_control_lines()
304 if (set & TIOCM_RTS) { in set_control_lines()
326 if (clear & TIOCM_RTS) { in set_control_lines()
/Linux-v4.19/arch/sh/include/uapi/asm/
Dioctls.h49 # define TIOCM_RTS 0x004 macro
/Linux-v4.19/arch/powerpc/include/uapi/asm/
Dioctls.h57 # define TIOCM_RTS 0x004 macro
/Linux-v4.19/arch/alpha/include/uapi/asm/
Dioctls.h57 # define TIOCM_RTS 0x004 macro

123456