tb_ring 141 drivers/net/thunderbolt.c struct tb_ring *ring; tb_ring 533 drivers/net/thunderbolt.c static void tbnet_tx_callback(struct tb_ring *ring, struct ring_frame *frame, tb_ring 853 drivers/net/thunderbolt.c struct tb_ring *ring; tb_ring 27 drivers/thunderbolt/ctl.c struct tb_ring *tx; tb_ring 28 drivers/thunderbolt/ctl.c struct tb_ring *rx; tb_ring 326 drivers/thunderbolt/ctl.c static void tb_ctl_tx_callback(struct tb_ring *ring, struct ring_frame *frame, tb_ring 407 drivers/thunderbolt/ctl.c static void tb_ctl_rx_callback(struct tb_ring *ring, struct ring_frame *frame, tb_ring 43 drivers/thunderbolt/nhi.c static int ring_interrupt_index(struct tb_ring *ring) tb_ring 56 drivers/thunderbolt/nhi.c static void ring_interrupt_active(struct tb_ring *ring, bool active) tb_ring 131 drivers/thunderbolt/nhi.c static void __iomem *ring_desc_base(struct tb_ring *ring) tb_ring 139 drivers/thunderbolt/nhi.c static void __iomem *ring_options_base(struct tb_ring *ring) tb_ring 147 drivers/thunderbolt/nhi.c static void ring_iowrite_cons(struct tb_ring *ring, u16 cons) tb_ring 157 drivers/thunderbolt/nhi.c static void ring_iowrite_prod(struct tb_ring *ring, u16 prod) tb_ring 163 drivers/thunderbolt/nhi.c static void ring_iowrite32desc(struct tb_ring *ring, u32 value, u32 offset) tb_ring 168 drivers/thunderbolt/nhi.c static void ring_iowrite64desc(struct tb_ring *ring, u64 value, u32 offset) tb_ring 174 drivers/thunderbolt/nhi.c static void ring_iowrite32options(struct tb_ring *ring, u32 value, u32 offset) tb_ring 179 drivers/thunderbolt/nhi.c static bool ring_full(struct tb_ring *ring) tb_ring 184 drivers/thunderbolt/nhi.c static bool ring_empty(struct tb_ring *ring) tb_ring 194 drivers/thunderbolt/nhi.c static void ring_write_descriptors(struct tb_ring *ring) tb_ring 230 drivers/thunderbolt/nhi.c struct tb_ring *ring = container_of(work, typeof(*ring), work); tb_ring 278 drivers/thunderbolt/nhi.c int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame) tb_ring 304 drivers/thunderbolt/nhi.c struct ring_frame *tb_ring_poll(struct tb_ring *ring) tb_ring 336 drivers/thunderbolt/nhi.c static void __ring_interrupt_mask(struct tb_ring *ring, bool mask) tb_ring 352 drivers/thunderbolt/nhi.c static void __ring_interrupt(struct tb_ring *ring) tb_ring 372 drivers/thunderbolt/nhi.c void tb_ring_poll_complete(struct tb_ring *ring) tb_ring 387 drivers/thunderbolt/nhi.c struct tb_ring *ring = data; tb_ring 398 drivers/thunderbolt/nhi.c static int ring_request_msix(struct tb_ring *ring, bool no_suspend) tb_ring 421 drivers/thunderbolt/nhi.c static void ring_release_msix(struct tb_ring *ring) tb_ring 432 drivers/thunderbolt/nhi.c static int nhi_alloc_hop(struct tb_nhi *nhi, struct tb_ring *ring) tb_ring 488 drivers/thunderbolt/nhi.c static struct tb_ring *tb_ring_alloc(struct tb_nhi *nhi, u32 hop, int size, tb_ring 494 drivers/thunderbolt/nhi.c struct tb_ring *ring = NULL; tb_ring 558 drivers/thunderbolt/nhi.c struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size, tb_ring 578 drivers/thunderbolt/nhi.c struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size, tb_ring 592 drivers/thunderbolt/nhi.c void tb_ring_start(struct tb_ring *ring) tb_ring 663 drivers/thunderbolt/nhi.c void tb_ring_stop(struct tb_ring *ring) tb_ring 708 drivers/thunderbolt/nhi.c void tb_ring_free(struct tb_ring *ring) tb_ring 811 drivers/thunderbolt/nhi.c struct tb_ring *ring; tb_ring 448 include/linux/thunderbolt.h struct tb_ring **tx_rings; tb_ring 449 include/linux/thunderbolt.h struct tb_ring **rx_rings; tb_ring 511 include/linux/thunderbolt.h typedef void (*ring_cb)(struct tb_ring *, struct ring_frame *, bool canceled); tb_ring 554 include/linux/thunderbolt.h struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size, tb_ring 556 include/linux/thunderbolt.h struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size, tb_ring 559 include/linux/thunderbolt.h void tb_ring_start(struct tb_ring *ring); tb_ring 560 include/linux/thunderbolt.h void tb_ring_stop(struct tb_ring *ring); tb_ring 561 include/linux/thunderbolt.h void tb_ring_free(struct tb_ring *ring); tb_ring 563 include/linux/thunderbolt.h int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame); tb_ring 581 include/linux/thunderbolt.h static inline int tb_ring_rx(struct tb_ring *ring, struct ring_frame *frame) tb_ring 602 include/linux/thunderbolt.h static inline int tb_ring_tx(struct tb_ring *ring, struct ring_frame *frame) tb_ring 609 include/linux/thunderbolt.h struct ring_frame *tb_ring_poll(struct tb_ring *ring); tb_ring 610 include/linux/thunderbolt.h void tb_ring_poll_complete(struct tb_ring *ring); tb_ring 619 include/linux/thunderbolt.h static inline struct device *tb_ring_dma_device(struct tb_ring *ring)