Searched refs:buf_ring (Results 1 – 7 of 7) sorted by relevance
572 struct mhi_ring *buf_ring; in mhi_deinit_chan_ctxt() local577 buf_ring = &mhi_chan->buf_ring; in mhi_deinit_chan_ctxt()586 vfree(buf_ring->base); in mhi_deinit_chan_ctxt()588 buf_ring->base = tre_ring->base = NULL; in mhi_deinit_chan_ctxt()607 struct mhi_ring *buf_ring; in mhi_init_chan_ctxt() local613 buf_ring = &mhi_chan->buf_ring; in mhi_init_chan_ctxt()622 buf_ring->el_size = sizeof(struct mhi_buf_info); in mhi_init_chan_ctxt()623 buf_ring->len = buf_ring->el_size * buf_ring->elements; in mhi_init_chan_ctxt()624 buf_ring->base = vzalloc(buf_ring->len); in mhi_init_chan_ctxt()626 if (!buf_ring->base) { in mhi_init_chan_ctxt()[all …]
571 struct mhi_ring *buf_ring, *tre_ring; in parse_xfer_event() local578 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() local713 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() local1204 buf_ring = &mhi_chan->buf_ring; in mhi_gen_tre()[all …]
220 struct mhi_ring buf_ring; member
135 dev->buf_ring.size = ring_size; in mtk_wed_buffer_alloc()136 dev->buf_ring.pages = page_list; in mtk_wed_buffer_alloc()143 dev->buf_ring.desc = desc; in mtk_wed_buffer_alloc()144 dev->buf_ring.desc_phys = desc_phys; in mtk_wed_buffer_alloc()207 struct mtk_wdma_desc *desc = dev->buf_ring.desc; in mtk_wed_free_buffer()208 void **page_list = dev->buf_ring.pages; in mtk_wed_free_buffer()218 for (i = 0, page_idx = 0; i < dev->buf_ring.size; i += MTK_WED_BUF_PER_PAGE) { in mtk_wed_free_buffer()231 dma_free_coherent(dev->hw->dev, dev->buf_ring.size * sizeof(*desc), in mtk_wed_free_buffer()232 desc, dev->buf_ring.desc_phys); in mtk_wed_free_buffer()498 dev->buf_ring.size / 128) | in mtk_wed_hw_init()[all …]
132 struct io_uring_buf_ring *br = bl->buf_ring; in io_ring_buffer_select()220 i = bl->buf_ring->tail - bl->head; in __io_remove_buffers()523 bl->buf_ring = br; in io_register_pbuf_ring()
16 struct io_uring_buf_ring *buf_ring; member
47 } buf_ring; member