Lines Matching refs: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()
844 olympic_priv->rx_ring_last_received &= (OLYMPIC_RX_RING_SIZE -1); in olympic_rx()
865 olympic_priv->rx_ring_last_received &= (OLYMPIC_RX_RING_SIZE - 1) ; in olympic_rx()
870 …v->olympic_rx_status_ring[(olympic_priv->rx_status_last_received+1) & (OLYMPIC_RX_RING_SIZE -1) ]); in olympic_rx()
882 for(i=0;i<OLYMPIC_RX_RING_SIZE;i++) { in olympic_freemem()
890 olympic_priv->rx_status_last_received&=OLYMPIC_RX_RING_SIZE-1; in olympic_freemem()
894 sizeof(struct olympic_rx_status) * OLYMPIC_RX_RING_SIZE, PCI_DMA_FROMDEVICE); in olympic_freemem()
896 sizeof(struct olympic_rx_desc) * OLYMPIC_RX_RING_SIZE, PCI_DMA_TODEVICE); in olympic_freemem()
1108 olympic_priv->rx_status_last_received&=OLYMPIC_RX_RING_SIZE-1; in olympic_close()
1497 for(i=0;i<OLYMPIC_RX_RING_SIZE;i++) { in olympic_arb_cmd()
1505 olympic_priv->rx_status_last_received&=OLYMPIC_RX_RING_SIZE-1; in olympic_arb_cmd()
1509 sizeof(struct olympic_rx_status) * OLYMPIC_RX_RING_SIZE, PCI_DMA_FROMDEVICE); in olympic_arb_cmd()
1511 sizeof(struct olympic_rx_desc) * OLYMPIC_RX_RING_SIZE, PCI_DMA_TODEVICE); in olympic_arb_cmd()