Home
last modified time | relevance | path

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

/drivers/tty/serial/
Dmcf.c54 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()
[all …]
Daltera_uart.c80 unsigned int sigs; /* Local copy of line sigs */ member
103 unsigned int sigs; in altera_uart_get_mctrl() local
105 sigs = (altera_uart_readl(port, ALTERA_UART_STATUS_REG) & in altera_uart_get_mctrl()
107 sigs |= (pp->sigs & TIOCM_RTS); in altera_uart_get_mctrl()
109 return sigs; in altera_uart_get_mctrl()
126 static void altera_uart_set_mctrl(struct uart_port *port, unsigned int sigs) in altera_uart_set_mctrl() argument
130 pp->sigs = sigs; in altera_uart_set_mctrl()
131 if (sigs & TIOCM_RTS) in altera_uart_set_mctrl()
Daltera_jtaguart.c58 unsigned int sigs; /* Local copy of line sigs */ member
73 static void altera_jtaguart_set_mctrl(struct uart_port *port, unsigned int sigs) in altera_jtaguart_set_mctrl() argument