Lines Matching refs:sigs
54 unsigned int sigs; /* Local copy of line sigs */ member
71 unsigned int sigs; in mcf_get_mctrl() local
73 sigs = (readb(port->membase + MCFUART_UIPR) & MCFUART_UIPR_CTS) ? in mcf_get_mctrl()
75 sigs |= (pp->sigs & TIOCM_RTS); in mcf_get_mctrl()
76 sigs |= (mcf_getppdcd(port->line) ? TIOCM_CD : 0); in mcf_get_mctrl()
77 sigs |= (mcf_getppdtr(port->line) ? TIOCM_DTR : 0); in mcf_get_mctrl()
79 return sigs; in mcf_get_mctrl()
84 static void mcf_set_mctrl(struct uart_port *port, unsigned int sigs) in mcf_set_mctrl() argument
88 pp->sigs = sigs; in mcf_set_mctrl()
89 mcf_setppdtr(port->line, (sigs & TIOCM_DTR)); in mcf_set_mctrl()
90 if (sigs & TIOCM_RTS) in mcf_set_mctrl()