Lines Matching refs:RX_RING_SIZE
104 #define RX_RING_SIZE 32 macro
544 struct sk_buff *rx_skbuff[RX_RING_SIZE];
545 dma_addr_t rx_dma[RX_RING_SIZE];
1718 writel(np->ring_dma + RX_RING_SIZE * sizeof(struct netdev_desc), in init_registers()
1871 for (i = 0; i < RX_RING_SIZE; i++) { in dump_ring()
1916 sizeof(struct netdev_desc) * (RX_RING_SIZE+TX_RING_SIZE), in alloc_ring()
1920 np->tx_ring = &np->rx_ring[RX_RING_SIZE]; in alloc_ring()
1931 int entry = np->dirty_rx % RX_RING_SIZE; in refill_rx()
1950 if (np->cur_rx - np->dirty_rx == RX_RING_SIZE) { in refill_rx()
1978 *((i+1)%TX_RING_SIZE+RX_RING_SIZE)); in init_ring()
1984 np->cur_rx = RX_RING_SIZE; in init_ring()
1994 for (i = 0; i < RX_RING_SIZE; i++) { in init_ring()
1997 *((i+1)%RX_RING_SIZE)); in init_ring()
2029 for (i = 0; i < RX_RING_SIZE; i++) { in drain_rx()
2052 sizeof(struct netdev_desc) * (RX_RING_SIZE+TX_RING_SIZE), in free_ring()
2063 np->cur_rx = RX_RING_SIZE; in reinit_rx()
2066 for (i = 0; i < RX_RING_SIZE; i++) in reinit_rx()
2207 prefetch(&np->rx_skbuff[np->cur_rx % RX_RING_SIZE]); in intr_handler()
2281 int entry = np->cur_rx % RX_RING_SIZE; in netdev_rx()
2282 int boguscnt = np->dirty_rx + RX_RING_SIZE - np->cur_rx; in netdev_rx()
2381 entry = (++np->cur_rx) % RX_RING_SIZE; in netdev_rx()