Searched refs:hop_count (Results 1 – 3 of 3) sorted by relevance
29 bit += ring->nhi->hop_count; in ring_interrupt_index()263 if (hop >= nhi->hop_count) { in ring_alloc()469 for (bit = 0; bit < 3 * nhi->hop_count; bit++) { in nhi_interrupt_work()474 if (++hop == nhi->hop_count) { in nhi_interrupt_work()531 for (i = 0; i < nhi->hop_count; i++) { in nhi_shutdown()580 nhi->hop_count = ioread32(nhi->iobase + REG_HOP_COUNT) & 0x3ff; in nhi_probe()581 if (nhi->hop_count != 12) in nhi_probe()583 nhi->hop_count); in nhi_probe()586 nhi->tx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe()588 nhi->rx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe()
88 #define RING_NOTIFY_REG_COUNT(nhi) ((31 + 3 * nhi->hop_count) / 32)96 #define RING_INTERRUPT_REG_COUNT(nhi) ((31 + 2 * nhi->hop_count) / 32)
27 u32 hop_count; /* Number of rings (end point hops) supported by NHI. */ member