Lines Matching refs:rxlen
373 static void sc16is7xx_fifo_read(struct uart_port *port, unsigned int rxlen)
380 regmap_raw_read(s->regmap, addr, s->buf, rxlen);
556 static void sc16is7xx_handle_rx(struct uart_port *port, unsigned int rxlen,
563 if (unlikely(rxlen >= sizeof(s->buf))) {
566 port->line, rxlen);
569 rxlen = sizeof(s->buf);
572 while (rxlen) {
585 sc16is7xx_fifo_read(port, rxlen);
586 bytes_read = rxlen;
628 rxlen -= bytes_read;
684 unsigned int iir, rxlen;
697 rxlen = sc16is7xx_port_read(port, SC16IS7XX_RXLVL_REG);
707 if (iir == SC16IS7XX_IIR_RTOI_SRC && !rxlen)
708 rxlen = 1;
710 if (rxlen)
711 sc16is7xx_handle_rx(port, rxlen, iir);