Home
last modified time | relevance | path

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

/drivers/thunderbolt/
Dnhi.h24 struct tb_ring **tx_rings;
25 struct tb_ring **rx_rings;
33 struct tb_ring { struct
50 typedef void (*ring_cb)(struct tb_ring*, struct ring_frame*, bool canceled); argument
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);
69 void ring_start(struct tb_ring *ring);
70 void ring_stop(struct tb_ring *ring);
71 void ring_free(struct tb_ring *ring);
73 int __ring_enqueue(struct tb_ring *ring, struct ring_frame *frame);
[all …]
Dnhi.c25 static int ring_interrupt_index(struct tb_ring *ring) in ring_interrupt_index()
38 static void ring_interrupt_active(struct tb_ring *ring, bool active) in ring_interrupt_active()
81 static void __iomem *ring_desc_base(struct tb_ring *ring) in ring_desc_base()
89 static void __iomem *ring_options_base(struct tb_ring *ring) in ring_options_base()
97 static void ring_iowrite_cons(struct tb_ring *ring, u16 cons) in ring_iowrite_cons()
107 static void ring_iowrite_prod(struct tb_ring *ring, u16 prod) in ring_iowrite_prod()
113 static void ring_iowrite32desc(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite32desc()
118 static void ring_iowrite64desc(struct tb_ring *ring, u64 value, u32 offset) in ring_iowrite64desc()
124 static void ring_iowrite32options(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite32options()
129 static bool ring_full(struct tb_ring *ring) in ring_full()
[all …]
Dctl.c30 struct tb_ring *tx;
31 struct tb_ring *rx;
322 static void tb_ctl_tx_callback(struct tb_ring *ring, struct ring_frame *frame, in tb_ctl_tx_callback()
397 static void tb_ctl_rx_callback(struct tb_ring *ring, struct ring_frame *frame, in tb_ctl_rx_callback()