Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/bus/mhi/host/
Dinit.c584 struct mhi_ring *buf_ring; in mhi_deinit_chan_ctxt() local
589 buf_ring = &mhi_chan->buf_ring; in mhi_deinit_chan_ctxt()
598 vfree(buf_ring->base); in mhi_deinit_chan_ctxt()
600 buf_ring->base = tre_ring->base = NULL; in mhi_deinit_chan_ctxt()
619 struct mhi_ring *buf_ring; in mhi_init_chan_ctxt() local
625 buf_ring = &mhi_chan->buf_ring; in mhi_init_chan_ctxt()
634 buf_ring->el_size = sizeof(struct mhi_buf_info); in mhi_init_chan_ctxt()
635 buf_ring->len = buf_ring->el_size * buf_ring->elements; in mhi_init_chan_ctxt()
636 buf_ring->base = vzalloc(buf_ring->len); in mhi_init_chan_ctxt()
638 if (!buf_ring->base) { in mhi_init_chan_ctxt()
[all …]
Dmain.c571 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()
1201 struct mhi_ring *buf_ring, *tre_ring; in mhi_gen_tre() local
1207 buf_ring = &mhi_chan->buf_ring; in mhi_gen_tre()
[all …]
Dinternal.h220 struct mhi_ring buf_ring; member
/Linux-v6.6/drivers/net/wireless/ath/ath12k/
Ddp_mon.c802 struct dp_rxdma_ring *buf_ring = &ab->dp.rxdma_mon_buf_ring; in ath12k_dp_mon_rx_parse_status_tlv() local
811 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_rx_parse_status_tlv()
812 msdu = idr_remove(&buf_ring->bufs_idr, buf_id); in ath12k_dp_mon_rx_parse_status_tlv()
813 spin_unlock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_rx_parse_status_tlv()
831 ath12k_dp_mon_buf_replenish(ab, buf_ring, 1); in ath12k_dp_mon_rx_parse_status_tlv()
1264 struct dp_rxdma_ring *buf_ring, in ath12k_dp_mon_buf_replenish() argument
1274 srng = &ab->hal.srng_list[buf_ring->refill_buf_ring.ring_id]; in ath12k_dp_mon_buf_replenish()
1296 spin_lock_bh(&buf_ring->idr_lock); in ath12k_dp_mon_buf_replenish()
1297 buf_id = idr_alloc(&buf_ring->bufs_idr, skb, 0, in ath12k_dp_mon_buf_replenish()
1298 buf_ring->bufs_max * 3, GFP_ATOMIC); in ath12k_dp_mon_buf_replenish()
[all …]
Ddp_mon.h83 struct dp_rxdma_ring *buf_ring,
/Linux-v6.6/io_uring/
Dkbuf.c132 struct io_uring_buf_ring *br = bl->buf_ring; in io_ring_buffer_select()
219 i = bl->buf_ring->tail - bl->head; in __io_remove_buffers()
221 folio_put(virt_to_folio(bl->buf_ring)); in __io_remove_buffers()
222 bl->buf_ring = NULL; in __io_remove_buffers()
515 bl->buf_ring = br; in io_pin_pbuf_ring()
538 bl->buf_ring = ptr; in io_alloc_pbuf_ring()
642 return bl->buf_ring; in io_pbuf_get_address()
Dkbuf.h16 struct io_uring_buf_ring *buf_ring; member