Home
last modified time | relevance | path

Searched refs:tiocm (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/tty/serial/8250/
H A D8250.h197 static inline int serial8250_TIOCM_to_MCR(int tiocm) in serial8250_TIOCM_to_MCR() argument
201 if (tiocm & TIOCM_RTS) in serial8250_TIOCM_to_MCR()
203 if (tiocm & TIOCM_DTR) in serial8250_TIOCM_to_MCR()
205 if (tiocm & TIOCM_OUT1) in serial8250_TIOCM_to_MCR()
207 if (tiocm & TIOCM_OUT2) in serial8250_TIOCM_to_MCR()
209 if (tiocm & TIOCM_LOOP) in serial8250_TIOCM_to_MCR()
217 int tiocm = 0; in serial8250_MCR_to_TIOCM() local
220 tiocm |= TIOCM_RTS; in serial8250_MCR_to_TIOCM()
222 tiocm |= TIOCM_DTR; in serial8250_MCR_to_TIOCM()
224 tiocm |= TIOCM_OUT1; in serial8250_MCR_to_TIOCM()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/fwserial/
H A Dfwserial.c1346 unsigned int tiocm; in fwtty_tiocmget() local
1349 tiocm = (port->mctrl & MCTRL_MASK) | (port->mstatus & ~MCTRL_MASK); in fwtty_tiocmget()
1352 fwtty_dbg(port, "%x\n", tiocm); in fwtty_tiocmget()
1354 return tiocm; in fwtty_tiocmget()