Lines Matching refs:rx_tail
337 unsigned rx_tail; member
434 static void cp_rx_err_acct (struct cp_private *cp, unsigned rx_tail, in cp_rx_err_acct() argument
438 rx_tail, status, len); in cp_rx_err_acct()
467 unsigned int rx_tail = cp->rx_tail; in cp_rx_poll() local
479 skb = cp->rx_skb[rx_tail]; in cp_rx_poll()
482 desc = &cp->rx_ring[rx_tail]; in cp_rx_poll()
496 cp_rx_err_acct(cp, rx_tail, status, len); in cp_rx_poll()
503 cp_rx_err_acct(cp, rx_tail, status, len); in cp_rx_poll()
508 rx_tail, status, len); in cp_rx_poll()
535 cp->rx_skb[rx_tail] = new_skb; in cp_rx_poll()
542 cp->rx_ring[rx_tail].opts2 = 0; in cp_rx_poll()
543 cp->rx_ring[rx_tail].addr = cpu_to_le64(mapping); in cp_rx_poll()
544 if (rx_tail == (CP_RX_RING_SIZE - 1)) in cp_rx_poll()
549 rx_tail = NEXT_RX(rx_tail); in cp_rx_poll()
552 cp->rx_tail = rx_tail; in cp_rx_poll()
965 cp->rx_tail = 0; in cp_stop_hw()
1098 cp->rx_tail = 0; in cp_init_rings_index()