Lines Matching refs:ring
594 void tb_ring_start(struct tb_ring *ring);
595 void tb_ring_stop(struct tb_ring *ring);
596 void tb_ring_free(struct tb_ring *ring);
598 int __tb_ring_enqueue(struct tb_ring *ring, struct ring_frame *frame);
616 static inline int tb_ring_rx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_rx() argument
618 WARN_ON(ring->is_tx); in tb_ring_rx()
619 return __tb_ring_enqueue(ring, frame); in tb_ring_rx()
637 static inline int tb_ring_tx(struct tb_ring *ring, struct ring_frame *frame) in tb_ring_tx() argument
639 WARN_ON(!ring->is_tx); in tb_ring_tx()
640 return __tb_ring_enqueue(ring, frame); in tb_ring_tx()
644 struct ring_frame *tb_ring_poll(struct tb_ring *ring);
645 void tb_ring_poll_complete(struct tb_ring *ring);
654 static inline struct device *tb_ring_dma_device(struct tb_ring *ring) in tb_ring_dma_device() argument
656 return &ring->nhi->pdev->dev; in tb_ring_dma_device()