Lines Matching defs:ring
988 * @ring: First descriptor in the ring.
990 * @ring_virt: First hardware descriptor in the ring.
991 * @ring_phys: The physical address of the first descriptor of the ring.
1000 struct ksz_desc *ring;
1610 *desc = &info->ring[info->last];
1630 *desc = &info->ring[info->next];
3833 struct ksz_desc *cur = desc_info->ring;
3849 desc_info->cur = desc_info->ring;
3869 info->cur = info->ring;
4366 desc_info->ring = kcalloc(desc_info->alloc, sizeof(struct ksz_desc),
4368 if (!desc_info->ring)
4559 kfree(hw->rx_desc_info.ring);
4560 hw->rx_desc_info.ring = NULL;
4561 kfree(hw->tx_desc_info.ring);
4562 hw->tx_desc_info.ring = NULL;
4578 struct ksz_desc *desc = desc_info->ring;
4749 desc = &info->ring[last];
5042 desc = &info->ring[next];
5078 desc = &info->ring[next];
5123 desc = &info->ring[next];
6392 * netdev_get_ringparam - get tx/rx ring parameters
6394 * @ring: Ethtool RING settings data structure.
6396 * This procedure returns the TX/RX ring settings.
6399 struct ethtool_ringparam *ring)
6405 ring->tx_max_pending = (1 << 9);
6406 ring->tx_pending = hw->tx_desc_info.alloc;
6407 ring->rx_max_pending = (1 << 9);
6408 ring->rx_pending = hw->rx_desc_info.alloc;