Lines Matching refs:rxlen
372 static void sc16is7xx_fifo_read(struct uart_port *port, unsigned int rxlen) in sc16is7xx_fifo_read() argument
379 regmap_raw_read(s->regmap, addr, s->buf, rxlen); in sc16is7xx_fifo_read()
555 static void sc16is7xx_handle_rx(struct uart_port *port, unsigned int rxlen, in sc16is7xx_handle_rx() argument
562 if (unlikely(rxlen >= sizeof(s->buf))) { in sc16is7xx_handle_rx()
565 port->line, rxlen); in sc16is7xx_handle_rx()
568 rxlen = sizeof(s->buf); in sc16is7xx_handle_rx()
571 while (rxlen) { in sc16is7xx_handle_rx()
584 sc16is7xx_fifo_read(port, rxlen); in sc16is7xx_handle_rx()
585 bytes_read = rxlen; in sc16is7xx_handle_rx()
627 rxlen -= bytes_read; in sc16is7xx_handle_rx()
683 unsigned int iir, rxlen; in sc16is7xx_port_irq() local
696 rxlen = sc16is7xx_port_read(port, SC16IS7XX_RXLVL_REG); in sc16is7xx_port_irq()
697 if (rxlen) in sc16is7xx_port_irq()
698 sc16is7xx_handle_rx(port, rxlen, iir); in sc16is7xx_port_irq()