Lines Matching refs:hop_count
57 bit += ring->nhi->hop_count; in ring_interrupt_index()
103 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active()
442 4 * (ring->nhi->hop_count / 32)); in ring_clear_msix()
527 for (i = start_hop; i < nhi->hop_count; i++) { in nhi_alloc_hop()
547 if (ring->hop < 0 || ring->hop >= nhi->hop_count) { in nhi_alloc_hop()
921 for (bit = 0; bit < 3 * nhi->hop_count; bit++) { in nhi_interrupt_work()
926 if (++hop == nhi->hop_count) { in nhi_interrupt_work()
1136 for (i = 0; i < nhi->hop_count; i++) { in nhi_shutdown()
1355 nhi->hop_count = ioread32(nhi->iobase + REG_CAPS) & 0x3ff; in nhi_probe()
1356 dev_dbg(dev, "total paths: %d\n", nhi->hop_count); in nhi_probe()
1358 nhi->tx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe()
1360 nhi->rx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe()