Searched refs:hop_count (Results 1 – 3 of 3) sorted by relevance
29 bit += ring->nhi->hop_count; in ring_interrupt_index()249 if (hop >= nhi->hop_count) { in ring_alloc()455 for (bit = 0; bit < 3 * nhi->hop_count; bit++) { in nhi_interrupt_work()460 if (++hop == nhi->hop_count) { in nhi_interrupt_work()517 for (i = 0; i < nhi->hop_count; i++) { in nhi_shutdown()566 nhi->hop_count = ioread32(nhi->iobase + REG_HOP_COUNT) & 0x3ff; in nhi_probe()567 if (nhi->hop_count != 12) in nhi_probe()569 nhi->hop_count); in nhi_probe()572 nhi->tx_rings = devm_kcalloc(&pdev->dev, nhi->hop_count, in nhi_probe()574 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