Lines Matching refs:RX_RING_SIZE
296 dma_addr_t rx_addr[RX_RING_SIZE];
301 struct sk_buff* rx_skbuff[RX_RING_SIZE];
805 np->tx_ring = (struct w840_tx_desc*)&np->rx_ring[RX_RING_SIZE];
808 for (i = 0; i < RX_RING_SIZE; i++) {
817 for (i = 0; i < RX_RING_SIZE; i++) {
830 np->dirty_rx = (unsigned int)(i - RX_RING_SIZE);
841 iowrite32(np->ring_dma_addr+sizeof(struct w840_rx_desc)*RX_RING_SIZE,
850 for (i = 0; i < RX_RING_SIZE; i++) {
942 for (i = 0; i < RX_RING_SIZE; i++)
984 sizeof(struct w840_rx_desc)*RX_RING_SIZE +
996 sizeof(struct w840_rx_desc)*RX_RING_SIZE +
1184 int entry = np->cur_rx % RX_RING_SIZE;
1185 int work_limit = np->dirty_rx + RX_RING_SIZE - np->cur_rx;
1264 entry = (++np->cur_rx) % RX_RING_SIZE;
1271 entry = np->dirty_rx % RX_RING_SIZE;
1520 for (i = 0; i < RX_RING_SIZE; i++) {