Lines Matching refs:RX_RING_SIZE
165 #define RX_RING_SIZE 32 macro
167 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct RxFD)
200 struct sk_buff *rx_skbuff[RX_RING_SIZE];
441 ((dpriv->rx_dirty - 1)%RX_RING_SIZE)*sizeof(struct RxFD); in dscc4_rx_update()
507 for (i = 0; i < RX_RING_SIZE; i++) { in dscc4_release_ring()
521 unsigned int dirty = dpriv->rx_dirty%RX_RING_SIZE; in try_get_rx_skb()
648 struct RxFD *rx_fd = dpriv->rx_fd + dpriv->rx_current%RX_RING_SIZE; in dscc4_rx_skb()
653 skb = dpriv->rx_skbuff[dpriv->rx_current++%RX_RING_SIZE]; in dscc4_rx_skb()
680 while ((dpriv->rx_dirty - dpriv->rx_current) % RX_RING_SIZE) { in dscc4_rx_skb()
1659 (dpriv->rx_current%RX_RING_SIZE)* in dscc4_tx_irq()
1725 cur = dpriv->rx_current%RX_RING_SIZE; in dscc4_rx_irq()
1742 if (!(cur = cur%RX_RING_SIZE)) in dscc4_rx_irq()
1822 cur = dpriv->rx_current++%RX_RING_SIZE; in dscc4_rx_irq()
1846 (dpriv->rx_current%RX_RING_SIZE)* in dscc4_rx_irq()
1940 memset(dpriv->rx_skbuff, 0, sizeof(struct sk_buff *)*RX_RING_SIZE); in dscc4_init_ring()
1952 (++i%RX_RING_SIZE)*sizeof(*rx_fd)); in dscc4_init_ring()
1953 } while (i < RX_RING_SIZE); in dscc4_init_ring()