Home
last modified time | relevance | path

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

12

/linux/drivers/usb/serial/
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 Dch341.c716 if (set & TIOCM_RTS) in ch341_tiocmset()
720 if (clear & TIOCM_RTS) in ch341_tiocmset()
823 | ((mcr & CH341_BIT_RTS) ? TIOCM_RTS : 0) in ch341_tiocmget()
H A Dftdi_sio.c1209 if (((set | clear) & (TIOCM_DTR | TIOCM_RTS)) == 0) { in update_mctrl()
1218 if (clear & TIOCM_RTS) in update_mctrl()
1222 if (set & TIOCM_RTS) in update_mctrl()
1234 (set & TIOCM_RTS) ? "HIGH" : (clear & TIOCM_RTS) ? "LOW" : "unchanged"); in update_mctrl()
1239 (set & TIOCM_RTS) ? "HIGH" : (clear & TIOCM_RTS) ? "LOW" : "unchanged"); in update_mctrl()
2356 set_mctrl(port, TIOCM_DTR | TIOCM_RTS); in ftdi_dtr_rts()
2358 clear_mctrl(port, TIOCM_DTR | TIOCM_RTS); in ftdi_dtr_rts()
2702 clear_mctrl(port, TIOCM_DTR | TIOCM_RTS); in ftdi_set_termios()
2711 set_mctrl(port, TIOCM_DTR | TIOCM_RTS); in ftdi_set_termios()
H A Dsierra.c349 value = ((portdata->rts_state) ? TIOCM_RTS : 0) | in sierra_tiocmget()
367 if (set & TIOCM_RTS) in sierra_tiocmset()
372 if (clear & TIOCM_RTS) in sierra_tiocmset()
H A Dcp210x.c1347 if (set & TIOCM_RTS) { in cp210x_tiocmset_port()
1357 if (clear & TIOCM_RTS) { in cp210x_tiocmset_port()
1415 cp210x_tiocmset_port(port, TIOCM_DTR | TIOCM_RTS, 0); in cp210x_dtr_rts()
1417 cp210x_tiocmset_port(port, 0, TIOCM_DTR | TIOCM_RTS); in cp210x_dtr_rts()
1431 |((control & CONTROL_RTS) ? TIOCM_RTS : 0) in cp210x_tiocmget()
H A Dmxuport.c707 if (set & TIOCM_RTS) in mxuport_tiocmset()
713 if (clear & TIOCM_RTS) in mxuport_tiocmset()
749 ((mcr & UART_MCR_RTS) ? TIOCM_RTS : 0) | /* 0x004 */ in mxuport_tiocmget()
/linux/drivers/bluetooth/
H A Dhci_ldisc.c362 set &= ~(TIOCM_OUT2 | TIOCM_RTS); in hci_uart_set_flow_control()
364 set &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
366 clear &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
375 set |= (TIOCM_OUT2 | TIOCM_RTS); in hci_uart_set_flow_control()
377 set &= TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | in hci_uart_set_flow_control()
379 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/drivers/mmc/core/
H A Dsdio_uart.c220 if (mctrl & TIOCM_RTS) in sdio_uart_write_mctrl()
558 sdio_uart_clear_mctrl(port, TIOCM_DTR | TIOCM_RTS); in uart_dtr_rts()
560 sdio_uart_set_mctrl(port, TIOCM_DTR | TIOCM_RTS); in uart_dtr_rts()
631 sdio_uart_set_mctrl(port, TIOCM_RTS | TIOCM_DTR); in sdio_uart_activate()
827 sdio_uart_clear_mctrl(port, TIOCM_RTS); in sdio_uart_throttle()
853 sdio_uart_set_mctrl(port, TIOCM_RTS); in sdio_uart_unthrottle()
872 sdio_uart_clear_mctrl(port, TIOCM_RTS | TIOCM_DTR); in sdio_uart_set_termios()
878 mask |= TIOCM_RTS; in sdio_uart_set_termios()
/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/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/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
/linux/drivers/tty/serial/
H A Dtimbuart.c109 port->mctrl & TIOCM_RTS, in timbuart_tx_chars()
208 if (mctrl & TIOCM_RTS) in timbuart_set_mctrl()
H A Dmcf.c75 sigs |= (pp->sigs & TIOCM_RTS); in mcf_get_mctrl()
90 if (sigs & TIOCM_RTS) in mcf_set_mctrl()
H A Daltera_uart.c106 sigs |= (pp->sigs & TIOCM_RTS); in altera_uart_get_mctrl()
130 if (sigs & TIOCM_RTS) in altera_uart_set_mctrl()
H A Dsunplus-uart.c108 if (mctrl & TIOCM_RTS) in sunplus_set_mctrl()
141 ret |= TIOCM_RTS; in sunplus_get_mctrl()
H A Drda-uart.c160 mctrl |= TIOCM_RTS; in rda_uart_get_mctrl()
171 if (mctrl & TIOCM_RTS) { in rda_uart_set_mctrl()
H A Dsunzilog.c650 if (mctrl & TIOCM_RTS) in sunzilog_set_mctrl()
1251 sunzilog_set_mctrl(&up->port, TIOCM_DTR | TIOCM_RTS); in sunzilog_console_setup()
1293 sunzilog_set_mctrl(&up->port, TIOCM_DTR | TIOCM_RTS); in sunzilog_init_kbdms()
/linux/net/bluetooth/rfcomm/
H A Dtty.c1061 return (v24_sig & (TIOCM_DTR | TIOCM_RTS)) | dev->modem_status; in rfcomm_tty_tiocmget()
1076 if (set & TIOCM_RTS) in rfcomm_tty_tiocmset()
1081 if (clear & TIOCM_RTS) in rfcomm_tty_tiocmset()
/linux/drivers/tty/serial/jsm/
H A Djsm_tty.c41 result |= TIOCM_RTS; in jsm_get_mstat()
93 if (mctrl & TIOCM_RTS) in jsm_tty_set_mctrl()
/linux/drivers/tty/
H A Dn_gsm.c552 if (dlci->modem_tx & TIOCM_RTS) in gsm_encode_modem()
1541 mlines |= TIOCM_RTS | TIOCM_CTS; in gsm_process_modem()
4263 modem_tx |= TIOCM_DTR | TIOCM_RTS; in gsm_dtr_rts()
4265 modem_tx &= ~(TIOCM_DTR | TIOCM_RTS); in gsm_dtr_rts()
4553 dlci->modem_tx &= ~TIOCM_RTS; in gsmtty_throttle()
4565 dlci->modem_tx |= TIOCM_RTS; in gsmtty_unthrottle()

12