Lines Matching refs:tb_ring
448 struct tb_ring **tx_rings;
449 struct tb_ring **rx_rings;
480 struct tb_ring { struct
509 typedef void (*ring_cb)(struct tb_ring *, struct ring_frame *, bool canceled); argument
552 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size,
554 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size,
557 void tb_ring_start(struct tb_ring *ring);
558 void tb_ring_stop(struct tb_ring *ring);
559 void tb_ring_free(struct tb_ring *ring);
561 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame);
579 static inline int tb_ring_rx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_rx()
600 static inline int tb_ring_tx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_tx()
607 struct ring_frame *tb_ring_poll(struct tb_ring *ring);
608 void tb_ring_poll_complete(struct tb_ring *ring);
617 static inline struct device *tb_ring_dma_device(struct tb_ring *ring) in tb_ring_dma_device()