Lines Matching refs:cur_rx
499 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */
1133 hmp->cur_rx = hmp->cur_tx = 0;
1187 hmp->cur_rx = hmp->cur_tx = 0;
1487 int entry = hmp->cur_rx % RX_RING_SIZE;
1488 int boguscnt = (hmp->dirty_rx + RX_RING_SIZE) - hmp->cur_rx;
1519 dev->name, hmp->cur_rx, data_size, desc_status);
1521 dev->name, desc, &hmp->rx_ring[hmp->cur_rx % RX_RING_SIZE]);
1524 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx+1) % RX_RING_SIZE].status_n_length) & 0xffff0000,
1525 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx+1) % RX_RING_SIZE].status_n_length) & 0x0000ffff,
1526 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx-1) % RX_RING_SIZE].status_n_length));
1657 entry = (++hmp->cur_rx) % RX_RING_SIZE;
1661 for (; hmp->cur_rx - hmp->dirty_rx > 0; hmp->dirty_rx++) {
1744 dev->name, hmp->cur_tx, hmp->dirty_tx, hmp->cur_rx, hmp->dirty_rx);