Searched refs:OLYMPIC_RX_RING_SIZE (Results 1 – 2 of 2) sorted by relevance
209 #define OLYMPIC_RX_RING_SIZE 16 /* should be a power of 2 */ macro270 struct olympic_rx_desc olympic_rx_ring[OLYMPIC_RX_RING_SIZE];272 struct olympic_rx_status olympic_rx_status_ring[OLYMPIC_RX_RING_SIZE]; 275 struct sk_buff *tx_ring_skb[OLYMPIC_TX_RING_SIZE], *rx_ring_skb[OLYMPIC_RX_RING_SIZE];
605 for(i=0;i<OLYMPIC_RX_RING_SIZE;i++) { in olympic_open()628 sizeof(struct olympic_rx_desc) * OLYMPIC_RX_RING_SIZE, PCI_DMA_TODEVICE); in olympic_open()634 sizeof(struct olympic_rx_status) * OLYMPIC_RX_RING_SIZE, PCI_DMA_FROMDEVICE); in olympic_open()638 olympic_priv->rx_ring_last_received = OLYMPIC_RX_RING_SIZE - 1; /* last processed rx status */ in olympic_open()639 olympic_priv->rx_status_last_received = OLYMPIC_RX_RING_SIZE - 1; in olympic_open()753 …lympic_rx_status_ring[(olympic_priv->rx_status_last_received + 1) & (OLYMPIC_RX_RING_SIZE - 1)]) ; in olympic_rx()759 olympic_priv->rx_status_last_received &= (OLYMPIC_RX_RING_SIZE -1); in olympic_rx()787 olympic_priv->rx_ring_last_received &= (OLYMPIC_RX_RING_SIZE -1) ; in olympic_rx()802 olympic_priv->rx_ring_last_received &= (OLYMPIC_RX_RING_SIZE -1) ; in olympic_rx()816 olympic_priv->rx_ring_last_received &= (OLYMPIC_RX_RING_SIZE -1); in olympic_rx()[all …]