Lines Matching refs:tb_ring
24 struct tb_ring **tx_rings;
25 struct tb_ring **rx_rings;
33 struct tb_ring { struct
50 typedef void (*ring_cb)(struct tb_ring*, struct ring_frame*, bool canceled); argument
67 struct tb_ring *ring_alloc_tx(struct tb_nhi *nhi, int hop, int size);
68 struct tb_ring *ring_alloc_rx(struct tb_nhi *nhi, int hop, int size);
69 void ring_start(struct tb_ring *ring);
70 void ring_stop(struct tb_ring *ring);
71 void ring_free(struct tb_ring *ring);
73 int __ring_enqueue(struct tb_ring *ring, struct ring_frame *frame);
89 static inline int ring_rx(struct tb_ring *ring, struct ring_frame *frame) in ring_rx()
108 static inline int ring_tx(struct tb_ring *ring, struct ring_frame *frame) in ring_tx()