Lines Matching refs:isr
35 static void timbuart_mctrl_check(struct uart_port *port, u32 isr, u32 *ier);
64 u32 isr = ioread32(port->membase + TIMBUART_ISR);
66 return (isr & TXBE) ? TIOCSER_TEMT : 0;
119 static void timbuart_handle_tx_port(struct uart_port *port, u32 isr, u32 *ier)
131 if (isr & TXFLAGS) {
153 static void timbuart_handle_rx_port(struct uart_port *port, u32 isr, u32 *ier)
155 if (isr & RXFLAGS) {
157 if (isr & RXBF) {
162 } else if (isr & (RXDP))
178 u32 isr, ier = 0;
182 isr = ioread32(uart->port.membase + TIMBUART_ISR);
183 dev_dbg(uart->port.dev, "%s ISR: %x\n", __func__, isr);
186 timbuart_handle_tx_port(&uart->port, isr, &ier);
188 timbuart_mctrl_check(&uart->port, isr, &ier);
191 timbuart_handle_rx_port(&uart->port, isr, &ier);
220 static void timbuart_mctrl_check(struct uart_port *port, u32 isr, u32 *ier)
224 if (isr & CTS_DELTA) {