Lines Matching refs:rx_ring
338 struct cp_desc *rx_ring; member
484 desc = &cp->rx_ring[rx_tail]; in cp_rx_poll()
544 cp->rx_ring[rx_tail].opts2 = 0; in cp_rx_poll()
545 cp->rx_ring[rx_tail].addr = cpu_to_le64(mapping); in cp_rx_poll()
1081 cp->rx_ring[i].opts2 = 0; in cp_refill_rx()
1082 cp->rx_ring[i].addr = cpu_to_le64(mapping); in cp_refill_rx()
1084 cp->rx_ring[i].opts1 = in cp_refill_rx()
1087 cp->rx_ring[i].opts1 = in cp_refill_rx()
1125 cp->rx_ring = mem; in cp_alloc_rings()
1126 cp->tx_ring = &cp->rx_ring[CP_RX_RING_SIZE]; in cp_alloc_rings()
1130 dma_free_coherent(d, CP_RING_BYTES, cp->rx_ring, cp->ring_dma); in cp_alloc_rings()
1142 desc = cp->rx_ring + i; in cp_clean_rings()
1164 memset(cp->rx_ring, 0, sizeof(struct cp_desc) * CP_RX_RING_SIZE); in cp_clean_rings()
1175 dma_free_coherent(&cp->pdev->dev, CP_RING_BYTES, cp->rx_ring, in cp_free_rings()
1177 cp->rx_ring = NULL; in cp_free_rings()