Searched refs:tb_ring (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/include/linux/ |
D | thunderbolt.h | 441 struct tb_ring **tx_rings; 442 struct tb_ring **rx_rings; 473 struct tb_ring { struct 504 typedef void (*ring_cb)(struct tb_ring *, struct ring_frame *, bool canceled); argument 547 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size, 549 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size, 552 void tb_ring_start(struct tb_ring *ring); 553 void tb_ring_stop(struct tb_ring *ring); 554 void tb_ring_free(struct tb_ring *ring); 556 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame); [all …]
|
/Linux-v4.19/drivers/thunderbolt/ |
D | nhi.c | 41 static int ring_interrupt_index(struct tb_ring *ring) in ring_interrupt_index() 54 static void ring_interrupt_active(struct tb_ring *ring, bool active) in ring_interrupt_active() 129 static void __iomem *ring_desc_base(struct tb_ring *ring) in ring_desc_base() 137 static void __iomem *ring_options_base(struct tb_ring *ring) in ring_options_base() 145 static void ring_iowrite16desc(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite16desc() 150 static void ring_iowrite32desc(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite32desc() 155 static void ring_iowrite64desc(struct tb_ring *ring, u64 value, u32 offset) in ring_iowrite64desc() 161 static void ring_iowrite32options(struct tb_ring *ring, u32 value, u32 offset) in ring_iowrite32options() 166 static bool ring_full(struct tb_ring *ring) in ring_full() 171 static bool ring_empty(struct tb_ring *ring) in ring_empty() [all …]
|
D | ctl.c | 26 struct tb_ring *tx; 27 struct tb_ring *rx; 325 static void tb_ctl_tx_callback(struct tb_ring *ring, struct ring_frame *frame, in tb_ctl_tx_callback() 406 static void tb_ctl_rx_callback(struct tb_ring *ring, struct ring_frame *frame, in tb_ctl_rx_callback()
|
/Linux-v4.19/drivers/net/ |
D | thunderbolt.c | 144 struct tb_ring *ring; 536 static void tbnet_tx_callback(struct tb_ring *ring, struct ring_frame *frame, in tbnet_tx_callback() 856 struct tb_ring *ring; in tbnet_open()
|