Lines Matching refs:hop_count
43 bit += ring->nhi->hop_count; in ring_interrupt_index()
68 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active()
452 for (i = RING_FIRST_USABLE_HOPID; i < nhi->hop_count; i++) { in nhi_alloc_hop()
467 if (ring->hop < 0 || ring->hop >= nhi->hop_count) { in nhi_alloc_hop()
810 for (bit = 0; bit < 3 * nhi->hop_count; bit++) { in nhi_interrupt_work()
815 if (++hop == nhi->hop_count) { in nhi_interrupt_work()
1025 for (i = 0; i < nhi->hop_count; i++) { in nhi_shutdown()
1194 nhi->hop_count = ioread32(nhi->iobase + REG_HOP_COUNT) & 0x3ff; in nhi_probe()
1195 dev_dbg(&pdev->dev, "total paths: %d\n", nhi->hop_count); in nhi_probe()
1197 nhi->tx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe()
1199 nhi->rx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe()