Searched refs:sc_rxput (Results 1 – 17 of 17) sorted by relevance
111 int sc_rxput; member165 return ((sc->sc_rxget == sc->sc_rxput) ? 1 : 0); in uart_rx_empty()172 return ((sc->sc_rxput + 1 < sc->sc_rxbufsz) ? in uart_rx_full()173 (sc->sc_rxput + 1 == sc->sc_rxget) : (sc->sc_rxget == 0)); in uart_rx_full()182 if (ptr == sc->sc_rxput) in uart_rx_get()195 if (ptr == sc->sc_rxput) in uart_rx_next()208 return ((ptr == sc->sc_rxput) ? -1 : sc->sc_rxbuf[ptr]); in uart_rx_peek()216 ptr = (sc->sc_rxput + 1 < sc->sc_rxbufsz) ? sc->sc_rxput + 1 : 0; in uart_rx_put()219 sc->sc_rxbuf[sc->sc_rxput] = xc; in uart_rx_put()220 sc->sc_rxput = ptr; in uart_rx_put()
333 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in uart_intr_overrun()350 rxp = sc->sc_rxput; in uart_intr_rxready()354 while (rxp != sc->sc_rxput) { in uart_intr_rxready()364 sc->sc_rxput = sc->sc_rxget; /* Ignore received data. */ in uart_intr_rxready()
332 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in lowrisc_uart_bus_receive()
449 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in uart_mu_bus_receive()
534 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in uart_pl011_bus_receive()
417 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in msm_bus_receive()
514 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in uart_mvebu_bus_receive()
542 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in imx_uart_bus_receive()
544 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in z8530_bus_receive()
641 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in sab82532_bus_receive()
970 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in ns8250_bus_receive()
455 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in vf_uart_bus_receive()
481 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in mtk_uart_bus_receive()
598 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in ar933x_bus_receive()
614 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in aml8726_uart_bus_receive()
733 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in oct16550_bus_receive()
1035 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in sbbc_uart_bus_receive()