Lines Matching defs:ring
25 #define RING_TYPE(ring) ((ring)->is_tx ? "TX ring" : "RX ring") argument
40 static int ring_interrupt_index(struct tb_ring *ring) in ring_interrupt_index()
53 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() local
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()
385 static void ring_clear_msix(const struct tb_ring *ring) in ring_clear_msix()
399 struct tb_ring *ring = data; in ring_msix() local
411 static int ring_request_msix(struct tb_ring *ring, bool no_suspend) in ring_request_msix()
445 static void ring_release_msix(struct tb_ring *ring) in ring_release_msix()
456 static int nhi_alloc_hop(struct tb_nhi *nhi, struct tb_ring *ring) in nhi_alloc_hop()
518 struct tb_ring *ring = NULL; in tb_ring_alloc() local
616 void tb_ring_start(struct tb_ring *ring) in tb_ring_start()
700 void tb_ring_stop(struct tb_ring *ring) in tb_ring_stop()
745 void tb_ring_free(struct tb_ring *ring) in tb_ring_free()
848 struct tb_ring *ring; in nhi_interrupt_work() local