Searched refs:rx_left (Results 1 – 5 of 5) sorted by relevance
/drivers/net/ethernet/sis/ |
D | sis190.c | 578 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/spi/ |
D | spi-dw.c | 176 u32 rx_left = (dws->rx_end - dws->rx) / dws->n_bytes; in rx_max() local 178 return min_t(u32, rx_left, dw_readl(dws, DW_SPI_RXFLR)); in rx_max()
|
D | spi-pic32.c | 192 u32 rx_left = (pic32s->rx_end - pic32s->rx) / n_bytes; in pic32_rx_max() local 194 return min_t(u32, rx_left, pic32_rx_fifo_level(pic32s)); in pic32_rx_max()
|
D | spi-rockchip.c | 258 u32 rx_left = (rs->rx_end - rs->rx) / rs->n_bytes; in rx_max() local 261 return min(rx_left, rx_room); in rx_max()
|
/drivers/net/ethernet/realtek/ |
D | r8169.c | 7374 unsigned int cur_rx, rx_left; in rtl_rx() local 7379 for (rx_left = min(budget, NUM_RX_DESC); rx_left > 0; rx_left--, cur_rx++) { in rtl_rx()
|