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); in timbuart_tx_empty() local
66 return (isr & TXBE) ? TIOCSER_TEMT : 0; in timbuart_tx_empty()
117 static void timbuart_handle_tx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_tx_port() argument
129 if (isr & TXFLAGS) { in timbuart_handle_tx_port()
151 static void timbuart_handle_rx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_rx_port() argument
153 if (isr & RXFLAGS) { in timbuart_handle_rx_port()
155 if (isr & RXBF) { in timbuart_handle_rx_port()
160 } else if (isr & (RXDP)) in timbuart_handle_rx_port()
176 u32 isr, ier = 0; in timbuart_tasklet() local
180 isr = ioread32(uart->port.membase + TIMBUART_ISR); in timbuart_tasklet()
181 dev_dbg(uart->port.dev, "%s ISR: %x\n", __func__, isr); in timbuart_tasklet()
184 timbuart_handle_tx_port(&uart->port, isr, &ier); in timbuart_tasklet()
186 timbuart_mctrl_check(&uart->port, isr, &ier); in timbuart_tasklet()
189 timbuart_handle_rx_port(&uart->port, isr, &ier); in timbuart_tasklet()
218 static void timbuart_mctrl_check(struct uart_port *port, u32 isr, u32 *ier) in timbuart_mctrl_check() argument
222 if (isr & CTS_DELTA) { in timbuart_mctrl_check()