Searched refs:hop_count (Results 1 – 6 of 6) sorted by relevance
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)
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()
27 u32 hop_count; /* Number of rings (end point hops) supported by NHI. */ member
115 u8 hop_count; member
108 u8 hop_count, u8 ttl, in mesh_path_sel_frame_tx() argument163 *pos++ = hop_count; in mesh_path_sel_frame_tx()
1029 mpath->hop_count = 0; in mesh_path_fix_nexthop()