Lines Matching refs:buf_ring
571 struct mhi_ring *buf_ring, *tre_ring; in parse_xfer_event() local
578 buf_ring = &mhi_chan->buf_ring; in parse_xfer_event()
625 buf_info = buf_ring->rp; in parse_xfer_event()
641 mhi_del_ring_element(mhi_cntrl, buf_ring); in parse_xfer_event()
706 struct mhi_ring *buf_ring, *tre_ring; in parse_rsc_event() local
713 buf_ring = &mhi_chan->buf_ring; in parse_rsc_event()
721 WARN_ON(cookie >= buf_ring->len); in parse_rsc_event()
723 buf_info = buf_ring->base + cookie; in parse_rsc_event()
1198 struct mhi_ring *buf_ring, *tre_ring; in mhi_gen_tre() local
1204 buf_ring = &mhi_chan->buf_ring; in mhi_gen_tre()
1207 buf_info = buf_ring->wp; in mhi_gen_tre()
1237 mhi_add_ring_element(mhi_cntrl, buf_ring); in mhi_gen_tre()
1572 struct mhi_ring *buf_ring, *tre_ring; in mhi_reset_data_chan() local
1576 buf_ring = &mhi_chan->buf_ring; in mhi_reset_data_chan()
1581 struct mhi_buf_info *buf_info = buf_ring->rp; in mhi_reset_data_chan()
1592 mhi_del_ring_element(mhi_cntrl, buf_ring); in mhi_reset_data_chan()