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