Lines Matching refs:RX_RING_SIZE
79 #define RX_RING_SIZE 64 macro
431 struct sk_buff *rx_skbuff[RX_RING_SIZE];
432 dma_addr_t rx_skbuff_dma[RX_RING_SIZE];
1085 RX_RING_SIZE * sizeof(struct rx_desc) + in alloc_ring()
1098 RX_RING_SIZE * sizeof(struct rx_desc) + in alloc_ring()
1106 rp->tx_ring = ring + RX_RING_SIZE * sizeof(struct rx_desc); in alloc_ring()
1108 rp->tx_ring_dma = ring_dma + RX_RING_SIZE * sizeof(struct rx_desc); in alloc_ring()
1118 RX_RING_SIZE * sizeof(struct rx_desc) + in free_ring()
1144 for (i = 0; i < RX_RING_SIZE; i++) { in alloc_rbufs()
1155 for (i = 0; i < RX_RING_SIZE; i++) { in alloc_rbufs()
1168 rp->dirty_rx = (unsigned int)(i - RX_RING_SIZE); in alloc_rbufs()
1177 for (i = 0; i < RX_RING_SIZE; i++) { in free_rbufs()
1838 int entry = rp->cur_rx % RX_RING_SIZE; in rhine_rx()
1936 entry = (++rp->cur_rx) % RX_RING_SIZE; in rhine_rx()
1943 entry = rp->dirty_rx % RX_RING_SIZE; in rhine_rx()