Lines Matching defs:cur_rx
494 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */
1116 hmp->cur_rx = hmp->cur_tx = 0;
1172 hmp->cur_rx = hmp->cur_tx = 0;
1411 int entry = hmp->cur_rx % RX_RING_SIZE;
1412 int boguscnt = (hmp->dirty_rx + RX_RING_SIZE) - hmp->cur_rx;
1442 dev->name, hmp->cur_rx, data_size, desc_status);
1444 dev->name, desc, &hmp->rx_ring[hmp->cur_rx % RX_RING_SIZE]);
1447 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx+1) % RX_RING_SIZE].status_n_length) & 0xffff0000,
1448 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx+1) % RX_RING_SIZE].status_n_length) & 0x0000ffff,
1449 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx-1) % RX_RING_SIZE].status_n_length));
1586 entry = (++hmp->cur_rx) % RX_RING_SIZE;
1590 for (; hmp->cur_rx - hmp->dirty_rx > 0; hmp->dirty_rx++) {
1674 dev->name, hmp->cur_tx, hmp->dirty_tx, hmp->cur_rx, hmp->dirty_rx);