Searched refs:MCTRL_MASK (Results 1 – 3 of 3) sorted by relevance
96 #define MCTRL_MASK(sig) (0xf << (sig)) macro379 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()
288 #define MCTRL_MASK (TIOCM_DTR | TIOCM_RTS | TIOCM_OUT1 | TIOCM_OUT2 | \ macro
300 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()