Searched refs:rx_left (Results 1 – 4 of 4) sorted by relevance
183 unsigned int rx_left; member316 u32 rx_left = (rs->rx_left > words) ? rs->rx_left - words : 0; in rockchip_spi_pio_reader() local323 if (rx_left) { in rockchip_spi_pio_reader()326 if (rx_left < ftl) { in rockchip_spi_pio_reader()327 rx_left = ftl; in rockchip_spi_pio_reader()328 words = rs->rx_left - rx_left; in rockchip_spi_pio_reader()332 rs->rx_left = rx_left; in rockchip_spi_pio_reader()365 if (!rs->rx_left) { in rockchip_spi_isr()382 rs->rx_left = xfer->len / rs->n_bytes; in rockchip_spi_prepare_irq()
274 unsigned int rx_left; in fsl_espi_read_rx_fifo() local278 rx_left = espi->rx_t->len - espi->rx_pos; in fsl_espi_read_rx_fifo()280 while (rx_fifo_avail >= min(4U, rx_left) && rx_left) { in fsl_espi_read_rx_fifo()281 if (rx_left >= 4) { in fsl_espi_read_rx_fifo()289 rx_left -= 4; in fsl_espi_read_rx_fifo()291 } else if (rx_left >= 2 && rx_buf && espi->swab) { in fsl_espi_read_rx_fifo()296 rx_left -= 2; in fsl_espi_read_rx_fifo()304 rx_left -= 1; in fsl_espi_read_rx_fifo()309 if (!rx_left) { in fsl_espi_read_rx_fifo()
184 u32 rx_left = (pic32s->rx_end - pic32s->rx) / n_bytes; in pic32_rx_max() local186 return min_t(u32, rx_left, pic32_rx_fifo_level(pic32s)); in pic32_rx_max()
578 u32 rx_left, cur_rx = tp->cur_rx; in sis190_rx_interrupt() local581 rx_left = NUM_RX_DESC + tp->dirty_rx - cur_rx; in sis190_rx_interrupt()582 rx_left = sis190_rx_quota(rx_left, (u32) dev->quota); in sis190_rx_interrupt()584 for (; rx_left > 0; rx_left--, cur_rx++) { in sis190_rx_interrupt()