Home
last modified time | relevance | path

Searched refs:hop (Results 1 – 3 of 3) sorted by relevance

/drivers/thunderbolt/
Dpath.c13 static void tb_dump_hop(struct tb_port *port, struct tb_regs_hop *hop) in tb_dump_hop() argument
16 hop->out_port, hop->next_hop, in tb_dump_hop()
17 hop->enable ? "enabled" : "disabled"); in tb_dump_hop()
19 hop->weight, hop->priority, in tb_dump_hop()
20 hop->initial_credits, hop->drop_packages); in tb_dump_hop()
22 hop->counter_enable, hop->counter); in tb_dump_hop()
24 hop->ingress_fc, hop->egress_fc, in tb_dump_hop()
25 hop->ingress_shared_buffer, hop->egress_shared_buffer); in tb_dump_hop()
27 hop->unknown1, hop->unknown2, hop->unknown3); in tb_dump_hop()
79 struct tb_regs_hop hop = { }; in __tb_path_deactivate_hops() local
[all …]
Dnhi.c27 int bit = ring->hop; in ring_interrupt_index()
57 RING_TYPE(ring), ring->hop, in ring_interrupt_active()
85 io += ring->hop * 16; in ring_desc_base()
93 io += ring->hop * 32; in ring_options_base()
209 RING_TYPE(ring), ring->hop, in ring_work()
221 RING_TYPE(ring), ring->hop, in ring_work()
255 static struct tb_ring *ring_alloc(struct tb_nhi *nhi, u32 hop, int size, in ring_alloc() argument
260 transmit ? "TX" : "RX", hop, size); in ring_alloc()
263 if (hop >= nhi->hop_count) { in ring_alloc()
264 dev_WARN(&nhi->pdev->dev, "invalid hop: %d\n", hop); in ring_alloc()
[all …]
Dnhi.h37 int hop; member
67 struct tb_ring *ring_alloc_tx(struct tb_nhi *nhi, int hop, int size);
68 struct tb_ring *ring_alloc_rx(struct tb_nhi *nhi, int hop, int size);