Lines Matching refs:hop_count
53 bit += ring->nhi->hop_count; in ring_interrupt_index()
78 index = ring->hop + ring->nhi->hop_count; in ring_interrupt_active()
403 4 * (ring->nhi->hop_count / 32)); in ring_clear_msix()
488 for (i = start_hop; i < nhi->hop_count; i++) { in nhi_alloc_hop()
508 if (ring->hop < 0 || ring->hop >= nhi->hop_count) { in nhi_alloc_hop()
881 for (bit = 0; bit < 3 * nhi->hop_count; bit++) { in nhi_interrupt_work()
886 if (++hop == nhi->hop_count) { in nhi_interrupt_work()
1096 for (i = 0; i < nhi->hop_count; i++) { in nhi_shutdown()
1284 nhi->hop_count = ioread32(nhi->iobase + REG_HOP_COUNT) & 0x3ff; in nhi_probe()
1285 dev_dbg(dev, "total paths: %d\n", nhi->hop_count); in nhi_probe()
1287 nhi->tx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe()
1289 nhi->rx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe()