Lines Matching defs:RX_RING_SIZE
73 #define RX_RING_SIZE 64
372 struct sk_buff *rx_skbuff[RX_RING_SIZE];
373 dma_addr_t rx_skbuff_dma[RX_RING_SIZE];
856 RX_RING_SIZE * sizeof(struct rx_desc) +
869 RX_RING_SIZE * sizeof(struct rx_desc) +
877 rp->tx_ring = ring + RX_RING_SIZE * sizeof(struct rx_desc);
879 rp->tx_ring_dma = ring_dma + RX_RING_SIZE * sizeof(struct rx_desc);
889 RX_RING_SIZE * sizeof(struct rx_desc) +
915 for (i = 0; i < RX_RING_SIZE; i++) {
926 for (i = 0; i < RX_RING_SIZE; i++) {
940 rp->dirty_rx = (unsigned int)(i - RX_RING_SIZE);
949 for (i = 0; i < RX_RING_SIZE; i++) {
1442 int entry = rp->cur_rx % RX_RING_SIZE;
1537 entry = (++rp->cur_rx) % RX_RING_SIZE;
1544 entry = rp->dirty_rx % RX_RING_SIZE;