Lines Matching refs:tb_ring

43 static int ring_interrupt_index(struct tb_ring *ring)  in ring_interrupt_index()
56 static void ring_interrupt_active(struct tb_ring *ring, bool active) in ring_interrupt_active()
131 static void __iomem *ring_desc_base(struct tb_ring *ring) in ring_desc_base()
139 static void __iomem *ring_options_base(struct tb_ring *ring) in ring_options_base()
147 static void ring_iowrite_cons(struct tb_ring *ring, u16 cons) in ring_iowrite_cons()
157 static void ring_iowrite_prod(struct tb_ring *ring, u16 prod) in ring_iowrite_prod()
163 static void ring_iowrite32desc(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite32desc()
168 static void ring_iowrite64desc(struct tb_ring *ring, u64 value, u32 offset) in ring_iowrite64desc()
174 static void ring_iowrite32options(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite32options()
179 static bool ring_full(struct tb_ring *ring) in ring_full()
184 static bool ring_empty(struct tb_ring *ring) in ring_empty()
194 static void ring_write_descriptors(struct tb_ring *ring) in ring_write_descriptors()
230 struct tb_ring *ring = container_of(work, typeof(*ring), work); in ring_work()
278 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame) in __tb_ring_enqueue()
304 struct ring_frame *tb_ring_poll(struct tb_ring *ring) in tb_ring_poll()
336 static void __ring_interrupt_mask(struct tb_ring *ring, bool mask) in __ring_interrupt_mask()
352 static void __ring_interrupt(struct tb_ring *ring) in __ring_interrupt()
372 void tb_ring_poll_complete(struct tb_ring *ring) in tb_ring_poll_complete()
387 struct tb_ring *ring = data; in ring_msix()
398 static int ring_request_msix(struct tb_ring *ring, bool no_suspend) in ring_request_msix()
421 static void ring_release_msix(struct tb_ring *ring) in ring_release_msix()
432 static int nhi_alloc_hop(struct tb_nhi *nhi, struct tb_ring *ring) in nhi_alloc_hop()
488 static struct tb_ring *tb_ring_alloc(struct tb_nhi *nhi, u32 hop, int size, in tb_ring_alloc()
494 struct tb_ring *ring = NULL; in tb_ring_alloc()
558 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size, in tb_ring_alloc_tx()
578 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size, in tb_ring_alloc_rx()
592 void tb_ring_start(struct tb_ring *ring) in tb_ring_start()
663 void tb_ring_stop(struct tb_ring *ring) in tb_ring_stop()
708 void tb_ring_free(struct tb_ring *ring) in tb_ring_free()
811 struct tb_ring *ring; in nhi_interrupt_work()