Lines Matching defs:ring

192  * e1000e_dump - Print registers, Tx-ring and Rx-ring
470 * @ring: pointer to ring struct to perform calculation on
472 static int e1000_desc_unused(struct e1000_ring *ring)
474 if (ring->next_to_clean > ring->next_to_use)
475 return ring->next_to_clean - ring->next_to_use - 1;
477 return ring->count + ring->next_to_clean - ring->next_to_use - 1;
642 * @rx_ring: Rx descriptor ring
712 * @rx_ring: Rx descriptor ring
816 * @rx_ring: Rx descriptor ring
907 * @rx_ring: Rx descriptor ring
1210 * @tx_ring: Tx descriptor ring
1303 * @rx_ring: Rx descriptor ring
1499 * @rx_ring: Rx descriptor ring
1669 * @rx_ring: Rx descriptor ring
1679 /* Free all the Rx ring sk_buffs */
1725 /* Zero out the descriptor ring */
2305 * e1000_alloc_ring_dma - allocate memory for a ring structure
2307 * @ring: ring struct for which to allocate dma
2310 struct e1000_ring *ring)
2314 ring->desc = dma_alloc_coherent(&pdev->dev, ring->size, &ring->dma,
2316 if (!ring->desc)
2324 * @tx_ring: Tx descriptor ring
2352 e_err("Unable to allocate memory for the transmit descriptor ring\n");
2358 * @rx_ring: Rx descriptor ring
2405 e_err("Unable to allocate memory for the receive descriptor ring\n");
2411 * @tx_ring: Tx descriptor ring
2437 * @tx_ring: Tx descriptor ring
2458 * @rx_ring: Rx descriptor ring
3799 * We want to clear all pending descriptors from the TX ring.
3800 * zeroing happens when the HW reads the regs. We assign the ring itself as
3834 * Mark all descriptors in the RX ring as consumed and disable the rx ring
3856 /* momentarily enable the RX ring for the changes to take effect */
3892 /* recheck, maybe the fault is caused by the rx ring */
5383 /* Cause software interrupt to ensure Rx ring is cleaned */
5908 /* Make sure there is space in the ring for the next send. */