Searched refs:OLYMPIC_TX_RING_SIZE (Results 1 – 2 of 2) sorted by relevance
210 #define OLYMPIC_TX_RING_SIZE 8 /* should be a power of 2 */ macro271 struct olympic_tx_desc olympic_tx_ring[OLYMPIC_TX_RING_SIZE];273 struct olympic_tx_status olympic_tx_status_ring[OLYMPIC_TX_RING_SIZE]; 275 struct sk_buff *tx_ring_skb[OLYMPIC_TX_RING_SIZE], *rx_ring_skb[OLYMPIC_RX_RING_SIZE];
671 for(i=0;i<OLYMPIC_TX_RING_SIZE;i++) in olympic_open()674 olympic_priv->free_tx_ring_entries=OLYMPIC_TX_RING_SIZE; in olympic_open()676 sizeof(struct olympic_tx_desc) * OLYMPIC_TX_RING_SIZE,PCI_DMA_TODEVICE) ; in olympic_open()679 writew(OLYMPIC_TX_RING_SIZE, olympic_mmio+TXDESCQCNT_1); in olympic_open()682 sizeof(struct olympic_tx_status) * OLYMPIC_TX_RING_SIZE, PCI_DMA_FROMDEVICE); in olympic_open()685 writew(OLYMPIC_TX_RING_SIZE,olympic_mmio+TXSTATQCNT_1); in olympic_open()688 olympic_priv->tx_ring_last_status=OLYMPIC_TX_RING_SIZE-1; /* last processed tx status */ in olympic_open()910 sizeof(struct olympic_tx_status) * OLYMPIC_TX_RING_SIZE, PCI_DMA_FROMDEVICE); in olympic_freemem()912 sizeof(struct olympic_tx_desc) * OLYMPIC_TX_RING_SIZE, PCI_DMA_TODEVICE); in olympic_freemem()971 …olympic_tx_status_ring[(olympic_priv->tx_ring_last_status + 1) & (OLYMPIC_TX_RING_SIZE-1)].status)… in olympic_interrupt()[all …]