Lines Matching refs:tb_ring
448 struct tb_ring **tx_rings;
449 struct tb_ring **rx_rings;
480 struct tb_ring { struct
511 typedef void (*ring_cb)(struct tb_ring *, struct ring_frame *, bool canceled); argument
554 struct tb_ring *tb_ring_alloc_tx(struct tb_nhi *nhi, int hop, int size,
556 struct tb_ring *tb_ring_alloc_rx(struct tb_nhi *nhi, int hop, int size,
559 void tb_ring_start(struct tb_ring *ring);
560 void tb_ring_stop(struct tb_ring *ring);
561 void tb_ring_free(struct tb_ring *ring);
563 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame);
581 static inline int tb_ring_rx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_rx()
602 static inline int tb_ring_tx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_tx()
609 struct ring_frame *tb_ring_poll(struct tb_ring *ring);
610 void tb_ring_poll_complete(struct tb_ring *ring);
619 static inline struct device *tb_ring_dma_device(struct tb_ring *ring) in tb_ring_dma_device()