Searched refs:buf_ring (Results 1 – 3 of 3) sorted by relevance
544 struct mhi_ring *buf_ring; in mhi_deinit_chan_ctxt() local548 buf_ring = &mhi_chan->buf_ring; in mhi_deinit_chan_ctxt()554 vfree(buf_ring->base); in mhi_deinit_chan_ctxt()556 buf_ring->base = tre_ring->base = NULL; in mhi_deinit_chan_ctxt()563 struct mhi_ring *buf_ring; in mhi_init_chan_ctxt() local569 buf_ring = &mhi_chan->buf_ring; in mhi_init_chan_ctxt()578 buf_ring->el_size = sizeof(struct mhi_buf_info); in mhi_init_chan_ctxt()579 buf_ring->len = buf_ring->el_size * buf_ring->elements; in mhi_init_chan_ctxt()580 buf_ring->base = vzalloc(buf_ring->len); in mhi_init_chan_ctxt()582 if (!buf_ring->base) { in mhi_init_chan_ctxt()[all …]
463 struct mhi_ring *buf_ring, *tre_ring; in parse_xfer_event() local470 buf_ring = &mhi_chan->buf_ring; in parse_xfer_event()512 buf_info = buf_ring->rp; in parse_xfer_event()528 mhi_del_ring_element(mhi_cntrl, buf_ring); in parse_xfer_event()590 struct mhi_ring *buf_ring, *tre_ring; in parse_rsc_event() local597 buf_ring = &mhi_chan->buf_ring; in parse_rsc_event()605 WARN_ON(cookie >= buf_ring->len); in parse_rsc_event()607 buf_info = buf_ring->base + cookie; in parse_rsc_event()1067 struct mhi_ring *buf_ring, *tre_ring; in mhi_gen_tre() local1073 buf_ring = &mhi_chan->buf_ring; in mhi_gen_tre()[all …]
545 struct mhi_ring buf_ring; member