Home
last modified time | relevance | path

Searched refs:rx_left (Results 1 – 5 of 5) sorted by relevance

/drivers/spi/
Dspi-rockchip.c176 unsigned int rx_left; member
294 u32 rx_left = (rs->rx_left > words) ? rs->rx_left - words : 0; in rockchip_spi_pio_reader() local
301 if (rx_left) { in rockchip_spi_pio_reader()
304 if (rx_left < ftl) { in rockchip_spi_pio_reader()
305 rx_left = ftl; in rockchip_spi_pio_reader()
306 words = rs->rx_left - rx_left; in rockchip_spi_pio_reader()
310 rs->rx_left = rx_left; in rockchip_spi_pio_reader()
334 if (!rs->rx_left) { in rockchip_spi_isr()
349 rs->rx_left = xfer->len / rs->n_bytes; in rockchip_spi_prepare_irq()
Dspi-fsl-espi.c274 unsigned int rx_left; in fsl_espi_read_rx_fifo() local
278 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()
Dspi-pic32.c184 u32 rx_left = (pic32s->rx_end - pic32s->rx) / n_bytes; in pic32_rx_max() local
186 return min_t(u32, rx_left, pic32_rx_fifo_level(pic32s)); in pic32_rx_max()
/drivers/net/ethernet/sis/
Dsis190.c578 u32 rx_left, cur_rx = tp->cur_rx; in sis190_rx_interrupt() local
581 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()
/drivers/net/ethernet/realtek/
Dr8169_main.c4543 unsigned int cur_rx, rx_left, count; in rtl_rx() local
4548 for (rx_left = min(budget, NUM_RX_DESC); rx_left > 0; rx_left--, cur_rx++) { in rtl_rx()