Searched refs:tb_ring (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/include/linux/ |
D | thunderbolt.h | 448 struct tb_ring **tx_rings; 449 struct tb_ring **rx_rings; 480 struct tb_ring { struct 511 typedef void (*ring_cb)(struct tb_ring *, struct ring_frame *, bool canceled); argument 554 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size, 556 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size, 559 void tb_ring_start(struct tb_ring *ring); 560 void tb_ring_stop(struct tb_ring *ring); 561 void tb_ring_free(struct tb_ring *ring); 563 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame); [all …]
|
/Linux-v5.4/drivers/thunderbolt/ |
D | nhi.c | 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() [all …]
|
D | ctl.c | 27 struct tb_ring *tx; 28 struct tb_ring *rx; 326 static void tb_ctl_tx_callback(struct tb_ring *ring, struct ring_frame *frame, in tb_ctl_tx_callback() 407 static void tb_ctl_rx_callback(struct tb_ring *ring, struct ring_frame *frame, in tb_ctl_rx_callback()
|
/Linux-v5.4/drivers/net/ |
D | thunderbolt.c | 141 struct tb_ring *ring; 533 static void tbnet_tx_callback(struct tb_ring *ring, struct ring_frame *frame, in tbnet_tx_callback() 853 struct tb_ring *ring; in tbnet_open()
|