Lines Matching refs:rx_ring
337 struct cp_desc *rx_ring; member
482 desc = &cp->rx_ring[rx_tail]; 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()
1091 cp->rx_ring[i].opts2 = 0; in cp_refill_rx()
1092 cp->rx_ring[i].addr = cpu_to_le64(mapping); in cp_refill_rx()
1094 cp->rx_ring[i].opts1 = in cp_refill_rx()
1097 cp->rx_ring[i].opts1 = in cp_refill_rx()
1134 cp->rx_ring = mem; in cp_alloc_rings()
1135 cp->tx_ring = &cp->rx_ring[CP_RX_RING_SIZE]; in cp_alloc_rings()
1139 dma_free_coherent(d, CP_RING_BYTES, cp->rx_ring, cp->ring_dma); in cp_alloc_rings()
1151 desc = cp->rx_ring + i; in cp_clean_rings()
1173 memset(cp->rx_ring, 0, sizeof(struct cp_desc) * CP_RX_RING_SIZE); in cp_clean_rings()
1183 dma_free_coherent(&cp->pdev->dev, CP_RING_BYTES, cp->rx_ring, in cp_free_rings()
1185 cp->rx_ring = NULL; in cp_free_rings()