Lines Matching refs:cur_rx
494 unsigned int cur_rx, dirty_rx; /* Producer/consumer ring indices */ member
1112 hmp->cur_rx = hmp->cur_tx = 0; in hamachi_tx_timeout()
1168 hmp->cur_rx = hmp->cur_tx = 0; in hamachi_init_ring()
1407 int entry = hmp->cur_rx % RX_RING_SIZE; in hamachi_rx()
1408 int boguscnt = (hmp->dirty_rx + RX_RING_SIZE) - hmp->cur_rx; in hamachi_rx()
1438 dev->name, hmp->cur_rx, data_size, desc_status); in hamachi_rx()
1440 dev->name, desc, &hmp->rx_ring[hmp->cur_rx % RX_RING_SIZE]); in hamachi_rx()
1443 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx+1) % RX_RING_SIZE].status_n_length) & 0xffff0000, in hamachi_rx()
1444 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx+1) % RX_RING_SIZE].status_n_length) & 0x0000ffff, in hamachi_rx()
1445 le32_to_cpu(hmp->rx_ring[(hmp->cur_rx-1) % RX_RING_SIZE].status_n_length)); in hamachi_rx()
1582 entry = (++hmp->cur_rx) % RX_RING_SIZE; in hamachi_rx()
1586 for (; hmp->cur_rx - hmp->dirty_rx > 0; hmp->dirty_rx++) { in hamachi_rx()
1670 dev->name, hmp->cur_tx, hmp->dirty_tx, hmp->cur_rx, hmp->dirty_rx); in hamachi_close()