Lines Matching refs:rx_tail
299 unsigned rx_tail; member
377 static void de_rx_err_acct (struct de_private *de, unsigned rx_tail, in de_rx_err_acct() argument
383 de->dev->name, rx_tail, status, len); in de_rx_err_acct()
405 unsigned rx_tail = de->rx_tail; in de_rx() local
416 skb = de->rx_skb[rx_tail].skb; in de_rx()
419 status = le32_to_cpu(de->rx_ring[rx_tail].opts1); in de_rx()
424 mapping = de->rx_skb[rx_tail].mapping; in de_rx()
432 de_rx_err_acct(de, rx_tail, status, len); in de_rx()
440 de->dev->name, rx_tail, status, len, in de_rx()
458 de->rx_skb[rx_tail].mapping = in de_rx()
461 de->rx_skb[rx_tail].skb = copy_skb; in de_rx()
482 if (rx_tail == (DE_RX_RING_SIZE - 1)) in de_rx()
483 de->rx_ring[rx_tail].opts2 = in de_rx()
486 de->rx_ring[rx_tail].opts2 = cpu_to_le32(de->rx_buf_sz); in de_rx()
487 de->rx_ring[rx_tail].addr1 = cpu_to_le32(mapping); in de_rx()
489 de->rx_ring[rx_tail].opts1 = cpu_to_le32(DescOwn); in de_rx()
490 rx_tail = NEXT_RX(rx_tail); in de_rx()
496 de->rx_tail = rx_tail; in de_rx()
512 de->rx_tail, de->tx_head, de->tx_tail); in de_interrupt()
902 de->rx_tail = 0; in de_stop_hw()
1335 de->rx_tail = 0; in de_init_rings()
1471 de->rx_tail, de->tx_head, de->tx_tail); in de_tx_timeout()