Lines Matching refs:tb_ring
495 struct tb_ring **tx_rings;
496 struct tb_ring **rx_rings;
531 struct tb_ring { struct
563 typedef void (*ring_cb)(struct tb_ring *, struct ring_frame *, bool canceled); argument
606 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size,
608 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size,
612 void tb_ring_start(struct tb_ring *ring);
613 void tb_ring_stop(struct tb_ring *ring);
614 void tb_ring_free(struct tb_ring *ring);
616 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame);
634 static inline int tb_ring_rx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_rx()
655 static inline int tb_ring_tx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_tx()
662 struct ring_frame *tb_ring_poll(struct tb_ring *ring);
663 void tb_ring_poll_complete(struct tb_ring *ring);
672 static inline struct device *tb_ring_dma_device(struct tb_ring *ring) in tb_ring_dma_device()