Lines Matching refs:tb_ring
482 struct tb_ring **tx_rings;
483 struct tb_ring **rx_rings;
518 struct tb_ring { struct
550 typedef void (*ring_cb)(struct tb_ring *, struct ring_frame *, bool canceled); argument
593 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size,
595 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size,
599 void tb_ring_start(struct tb_ring *ring);
600 void tb_ring_stop(struct tb_ring *ring);
601 void tb_ring_free(struct tb_ring *ring);
603 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame);
621 static inline int tb_ring_rx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_rx()
642 static inline int tb_ring_tx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_tx()
649 struct ring_frame *tb_ring_poll(struct tb_ring *ring);
650 void tb_ring_poll_complete(struct tb_ring *ring);
659 static inline struct device *tb_ring_dma_device(struct tb_ring *ring) in tb_ring_dma_device()