Lines Matching refs:rx_tail
294 unsigned rx_tail; member
370 static void de_rx_err_acct (struct de_private *de, unsigned rx_tail, in de_rx_err_acct() argument
375 rx_tail, status, len); in de_rx_err_acct()
396 unsigned rx_tail = de->rx_tail; in de_rx() local
407 skb = de->rx_skb[rx_tail].skb; in de_rx()
410 status = le32_to_cpu(de->rx_ring[rx_tail].opts1); in de_rx()
418 mapping = de->rx_skb[rx_tail].mapping; in de_rx()
426 de_rx_err_acct(de, rx_tail, status, len); in de_rx()
434 rx_tail, status, len, copying_skb); in de_rx()
451 de->rx_skb[rx_tail].mapping = in de_rx()
454 de->rx_skb[rx_tail].skb = copy_skb; in de_rx()
477 if (rx_tail == (DE_RX_RING_SIZE - 1)) in de_rx()
478 de->rx_ring[rx_tail].opts2 = in de_rx()
481 de->rx_ring[rx_tail].opts2 = cpu_to_le32(de->rx_buf_sz); in de_rx()
482 de->rx_ring[rx_tail].addr1 = cpu_to_le32(mapping); in de_rx()
484 de->rx_ring[rx_tail].opts1 = cpu_to_le32(DescOwn); in de_rx()
485 rx_tail = NEXT_RX(rx_tail); in de_rx()
491 de->rx_tail = rx_tail; in de_rx()
506 de->rx_tail, de->tx_head, de->tx_tail); in de_interrupt()
894 de->rx_tail = 0; in de_stop_hw()
1315 de->rx_tail = 0; in de_init_rings()
1453 de->rx_tail, de->tx_head, de->tx_tail); in de_tx_timeout()