Lines Matching refs:tb_ring
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);
574 static inline int tb_ring_rx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_rx()
595 static inline int tb_ring_tx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_tx()
602 struct ring_frame *tb_ring_poll(struct tb_ring *ring);
603 void tb_ring_poll_complete(struct tb_ring *ring);
612 static inline struct device *tb_ring_dma_device(struct tb_ring *ring) in tb_ring_dma_device()