Home
last modified time | relevance | path

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

1234

/linux/drivers/usb/serial/
H A Dmct_u232.c285 if (control_state & TIOCM_RTS) in mct_u232_set_modem_ctrl()
437 priv->control_state = TIOCM_DTR | TIOCM_RTS; in mct_u232_open()
486 priv->control_state |= TIOCM_DTR | TIOCM_RTS; in mct_u232_dtr_rts()
488 priv->control_state &= ~(TIOCM_DTR | TIOCM_RTS); in mct_u232_dtr_rts()
623 control_state |= TIOCM_DTR | TIOCM_RTS; in mct_u232_set_termios()
632 control_state &= ~(TIOCM_DTR | TIOCM_RTS); in mct_u232_set_termios()
722 if (set & TIOCM_RTS) in mct_u232_tiocmset()
723 control_state |= TIOCM_RTS; in mct_u232_tiocmset()
726 if (clear & TIOCM_RTS) in mct_u232_tiocmset()
727 control_state &= ~TIOCM_RTS; in mct_u232_tiocmset()
[all …]
H A Dbelkin_sa.c310 control_state |= (TIOCM_DTR|TIOCM_RTS); in belkin_sa_set_termios()
340 control_state &= ~(TIOCM_DTR | TIOCM_RTS); in belkin_sa_set_termios()
443 if (set & TIOCM_RTS) in belkin_sa_tiocmset()
444 control_state |= TIOCM_RTS; in belkin_sa_tiocmset()
447 if (clear & TIOCM_RTS) in belkin_sa_tiocmset()
448 control_state &= ~TIOCM_RTS; in belkin_sa_tiocmset()
455 if ((set | clear) & TIOCM_RTS) { in belkin_sa_tiocmset()
457 !!(control_state & TIOCM_RTS)); in belkin_sa_tiocmset()
H A Dmetro-usb.c229 if (control_state & TIOCM_RTS) in metrousb_set_modem_ctrl()
308 if (set & TIOCM_RTS) in metrousb_tiocmset()
309 control_state |= TIOCM_RTS; in metrousb_tiocmset()
312 if (clear & TIOCM_RTS) in metrousb_tiocmset()
313 control_state &= ~TIOCM_RTS; in metrousb_tiocmset()
H A Dupd78f0730.c197 ((signals & UPD78F0730_RTS) ? TIOCM_RTS : 0); in upd78f0730_tiocmget()
220 if (set & TIOCM_RTS) { in upd78f0730_tiocmset()
228 if (clear & TIOCM_RTS) { in upd78f0730_tiocmset()
275 set = TIOCM_DTR | TIOCM_RTS; in upd78f0730_dtr_rts()
277 clear = TIOCM_DTR | TIOCM_RTS; in upd78f0730_dtr_rts()
H A Dssu100.c139 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) { in update_mctrl()
148 if (set & TIOCM_RTS) in update_mctrl()
368 (d[0] & UART_MCR_RTS ? TIOCM_RTS : 0) | in ssu100_tiocmget()
399 set_mctrl(dev, TIOCM_DTR | TIOCM_RTS); in ssu100_dtr_rts()
401 clear_mctrl(dev, TIOCM_DTR | TIOCM_RTS); in ssu100_dtr_rts()
H A Df81232.c247 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) in f81232_set_mctrl()
260 if (clear & TIOCM_RTS) in f81232_set_mctrl()
266 if (set & TIOCM_RTS) in f81232_set_mctrl()
623 f81232_set_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81232_set_termios()
625 f81232_set_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81232_set_termios()
682 (mcr & UART_MCR_RTS ? TIOCM_RTS : 0) | in f81232_tiocmget()
759 f81232_set_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81232_dtr_rts()
761 f81232_set_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81232_dtr_rts()
H A Dopticon.c313 result |= TIOCM_RTS; in opticon_tiocmget()
336 if (set & TIOCM_RTS) in opticon_tiocmset()
338 if (clear & TIOCM_RTS) in opticon_tiocmset()
H A Df81534.c689 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) in f81534_update_mctrl()
703 if (clear & TIOCM_RTS) in f81534_update_mctrl()
709 if (set & TIOCM_RTS) in f81534_update_mctrl()
960 f81534_update_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81534_set_termios()
962 f81534_update_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81534_set_termios()
1444 (mcr & UART_MCR_RTS ? TIOCM_RTS : 0) | in f81534_tiocmget()
1464 f81534_update_mctrl(port, TIOCM_DTR | TIOCM_RTS, 0); in f81534_dtr_rts()
1466 f81534_update_mctrl(port, 0, TIOCM_DTR | TIOCM_RTS); in f81534_dtr_rts()
H A Dspcp8x5.c412 if (set & TIOCM_RTS) in spcp8x5_tiocmset()
416 if (clear & TIOCM_RTS) in spcp8x5_tiocmset()
444 | ((mcr & MCR_RTS) ? TIOCM_RTS : 0) in spcp8x5_tiocmget()
H A Dxr_serial.c454 ((status & XR_GPIO_RTS) ? 0 : TIOCM_RTS) | in xr_tiocmget()
473 if (set & TIOCM_RTS) in xr_tiocmset_port()
477 if (clear & TIOCM_RTS) in xr_tiocmset_port()
503 xr_tiocmset_port(port, TIOCM_DTR | TIOCM_RTS, 0); in xr_dtr_rts()
505 xr_tiocmset_port(port, 0, TIOCM_DTR | TIOCM_RTS); in xr_dtr_rts()
H A Dkeyspan_pda.c425 ((status & BIT(2)) ? TIOCM_RTS : 0); in keyspan_pda_tiocmget()
442 if (set & TIOCM_RTS) in keyspan_pda_tiocmset()
447 if (clear & TIOCM_RTS) in keyspan_pda_tiocmset()
H A Dark3116.c395 (ctrl & UART_MCR_RTS ? TIOCM_RTS : 0) | in ark3116_tiocmget()
412 if (set & TIOCM_RTS) in ark3116_tiocmset()
420 if (clr & TIOCM_RTS) in ark3116_tiocmset()
H A Dusb_wwan.c99 value = ((portdata->rts_state) ? TIOCM_RTS : 0) | in usb_wwan_tiocmget()
124 if (set & TIOCM_RTS) in usb_wwan_tiocmset()
129 if (clear & TIOCM_RTS) in usb_wwan_tiocmset()
H A Ddigi_acceleport.c539 data[6] = (modem_signals & TIOCM_RTS) ? in digi_set_modem_signals()
548 port_priv->dp_modem_signals &= ~(TIOCM_DTR | TIOCM_RTS); in digi_set_modem_signals()
550 modem_signals & (TIOCM_DTR | TIOCM_RTS); in digi_set_modem_signals()
681 modem_signals |= TIOCM_RTS; in digi_set_termios()
1065 digi_set_modem_signals(port, on * (TIOCM_DTR | TIOCM_RTS), 1); in digi_dtr_rts()
/linux/drivers/bluetooth/
H A Dhci_ldisc.c338 set &= ~(TIOCM_OUT2 | TIOCM_RTS); in hci_uart_set_flow_control()
340 set &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
342 clear &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
351 set |= (TIOCM_OUT2 | TIOCM_RTS); in hci_uart_set_flow_control()
353 set &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
355 clear &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
H A 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/include/uapi/asm-generic/
H A Dtermios.h35 #define TIOCM_RTS 0x004 macro
/linux/arch/mips/include/uapi/asm/
H A Dtermios.h67 #define TIOCM_RTS 0x004 /* request to send */ macro
/linux/drivers/tty/ipwireless/
H A Dtty.c291 out |= TIOCM_RTS; in get_control_lines()
309 if (set & TIOCM_RTS) { in set_control_lines()
331 if (clear & TIOCM_RTS) { in set_control_lines()
/linux/arch/xtensa/include/uapi/asm/
H A Dioctls.h61 # define TIOCM_RTS 0x004 macro
/linux/arch/sh/include/uapi/asm/
H A Dioctls.h49 # define TIOCM_RTS 0x004 macro
/linux/arch/powerpc/include/uapi/asm/
H A Dioctls.h57 # define TIOCM_RTS 0x004 macro
/linux/drivers/tty/serial/8250/
H A D8250.h234 if (tiocm & TIOCM_RTS) in serial8250_TIOCM_to_MCR()
253 tiocm |= TIOCM_RTS; in serial8250_MCR_to_TIOCM()
/linux/arch/arm/mach-versatile/
H A Dintegrator_ap.c126 if (mctrl & TIOCM_RTS) in integrator_uart_set_mctrl()
/linux/arch/alpha/include/uapi/asm/
H A Dioctls.h62 # define TIOCM_RTS 0x004 macro

1234