Home
last modified time | relevance | path

Searched refs:buf_ring (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/bus/mhi/core/
Dinit.c544 struct mhi_ring *buf_ring; in mhi_deinit_chan_ctxt() local
548 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() local
569 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 …]
Dmain.c463 struct mhi_ring *buf_ring, *tre_ring; in parse_xfer_event() local
470 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() local
597 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() local
1073 buf_ring = &mhi_chan->buf_ring; in mhi_gen_tre()
[all …]
Dinternal.h545 struct mhi_ring buf_ring; member