Lines Matching defs:ring
188 * e1000e_dump - Print registers, Tx-ring and Rx-ring
466 * @ring: pointer to ring struct to perform calculation on
468 static int e1000_desc_unused(struct e1000_ring *ring)
470 if (ring->next_to_clean > ring->next_to_use)
471 return ring->next_to_clean - ring->next_to_use - 1;
473 return ring->count + ring->next_to_clean - ring->next_to_use - 1;
638 * @rx_ring: Rx descriptor ring
708 * @rx_ring: Rx descriptor ring
812 * @rx_ring: Rx descriptor ring
903 * @rx_ring: Rx descriptor ring
1206 * @tx_ring: Tx descriptor ring
1299 * @rx_ring: Rx descriptor ring
1503 * @rx_ring: Rx descriptor ring
1675 * @rx_ring: Rx descriptor ring
1685 /* Free all the Rx ring sk_buffs */
1731 /* Zero out the descriptor ring */
2311 * e1000_alloc_ring_dma - allocate memory for a ring structure
2313 * @ring: ring struct for which to allocate dma
2316 struct e1000_ring *ring)
2320 ring->desc = dma_alloc_coherent(&pdev->dev, ring->size, &ring->dma,
2322 if (!ring->desc)
2330 * @tx_ring: Tx descriptor ring
2358 e_err("Unable to allocate memory for the transmit descriptor ring\n");
2364 * @rx_ring: Rx descriptor ring
2411 e_err("Unable to allocate memory for the receive descriptor ring\n");
2417 * @tx_ring: Tx descriptor ring
2443 * @tx_ring: Tx descriptor ring
2464 * @rx_ring: Rx descriptor ring
3807 * We want to clear all pending descriptors from the TX ring.
3808 * zeroing happens when the HW reads the regs. We assign the ring itself as
3842 * Mark all descriptors in the RX ring as consumed and disable the rx ring
3864 /* momentarily enable the RX ring for the changes to take effect */
3900 /* recheck, maybe the fault is caused by the rx ring */
5388 /* Cause software interrupt to ensure Rx ring is cleaned */
5913 /* Make sure there is space in the ring for the next send. */