Lines Matching defs:ring
920 * @ring: First descriptor in the ring.
922 * @ring_virt: First hardware descriptor in the ring.
923 * @ring_phys: The physical address of the first descriptor of the ring.
932 struct ksz_desc *ring;
1533 *desc = &info->ring[info->last];
1553 *desc = &info->ring[info->next];
3460 struct ksz_desc *cur = desc_info->ring;
3476 desc_info->cur = desc_info->ring;
3496 info->cur = info->ring;
3993 desc_info->ring = kcalloc(desc_info->alloc, sizeof(struct ksz_desc),
3995 if (!desc_info->ring)
4186 kfree(hw->rx_desc_info.ring);
4187 hw->rx_desc_info.ring = NULL;
4188 kfree(hw->tx_desc_info.ring);
4189 hw->tx_desc_info.ring = NULL;
4205 struct ksz_desc *desc = desc_info->ring;
4376 desc = &info->ring[last];
4669 desc = &info->ring[next];
4705 desc = &info->ring[next];
4750 desc = &info->ring[next];
6017 * netdev_get_ringparam - get tx/rx ring parameters
6019 * @ring: Ethtool RING settings data structure.
6023 * This procedure returns the TX/RX ring settings.
6026 struct ethtool_ringparam *ring,
6034 ring->tx_max_pending = (1 << 9);
6035 ring->tx_pending = hw->tx_desc_info.alloc;
6036 ring->rx_max_pending = (1 << 9);
6037 ring->rx_pending = hw->rx_desc_info.alloc;