Home
last modified time | relevance | path

Searched refs:MCTRL_MASK (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/tty/serial/
Dsccnxp.c96 #define MCTRL_MASK(sig) (0xf << (sig)) macro
379 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(sig)) { in sccnxp_set_bit()
601 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(DSR_IP)) { in sccnxp_get_mctrl()
607 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(CTS_IP)) { in sccnxp_get_mctrl()
613 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(DCD_IP)) { in sccnxp_get_mctrl()
619 if (s->pdata.mctrl_cfg[port->line] & MCTRL_MASK(RNG_IP)) { in sccnxp_get_mctrl()
/Linux-v5.4/drivers/staging/fwserial/
Dfwserial.h288 #define MCTRL_MASK (TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | TIOCM_OUT2 | \ macro
Dfwserial.c300 status &= ~MCTRL_MASK; in fwtty_update_port_status()
301 delta = (port->mstatus ^ status) & ~MCTRL_MASK; in fwtty_update_port_status()
1350 tiocm = (port->mctrl & MCTRL_MASK) | (port->mstatus & ~MCTRL_MASK); in fwtty_tiocmget()
1368 port->mctrl &= ~(clear & MCTRL_MASK & 0xffff); in fwtty_tiocmset()
1369 port->mctrl |= set & MCTRL_MASK & 0xffff; in fwtty_tiocmset()