Home
last modified time | relevance | path

Searched refs:tre_ring (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/bus/mhi/core/
A Dmain.c338 struct mhi_ring *tre_ring = &mhi_chan->tre_ring; in mhi_get_free_desc_count() local
570 tre_ring = &mhi_chan->tre_ring; in parse_xfer_event()
609 if (dev_rp >= (tre_ring->base + tre_ring->len)) in parse_xfer_event()
671 if (tre_ring->wp != tre_ring->rp && in parse_xfer_event()
705 tre_ring = &mhi_chan->tre_ring; in parse_rsc_event()
1106 struct mhi_ring *tre_ring = &mhi_chan->tre_ring; in mhi_queue() local
1196 tre_ring = &mhi_chan->tre_ring; in mhi_gen_tre()
1221 mhi_tre = tre_ring->wp; in mhi_gen_tre()
1251 struct mhi_ring *tre_ring = &mhi_chan->tre_ring; in mhi_queue_is_full() local
1564 tre_ring = &mhi_chan->tre_ring; in mhi_reset_data_chan()
[all …]
A Dinit.c559 struct mhi_ring *tre_ring; in mhi_deinit_chan_ctxt() local
564 tre_ring = &mhi_chan->tre_ring; in mhi_deinit_chan_ctxt()
571 tre_ring->pre_aligned, tre_ring->dma_handle); in mhi_deinit_chan_ctxt()
575 tre_ring->ctxt_wp = NULL; in mhi_deinit_chan_ctxt()
594 struct mhi_ring *tre_ring; in mhi_init_chan_ctxt() local
600 tre_ring = &mhi_chan->tre_ring; in mhi_init_chan_ctxt()
602 tre_ring->len = tre_ring->el_size * tre_ring->elements; in mhi_init_chan_ctxt()
604 ret = mhi_alloc_aligned_ring(mhi_cntrl, tre_ring, tre_ring->len); in mhi_init_chan_ctxt()
614 tre_ring->pre_aligned, tre_ring->dma_handle); in mhi_init_chan_ctxt()
625 chan_ctxt->rlen = tre_ring->len; in mhi_init_chan_ctxt()
[all …]
A Dpm.c289 struct mhi_ring *tre_ring = &mhi_chan->tre_ring; in mhi_pm_m0_transition() local
300 if (tre_ring->base && tre_ring->wp != tre_ring->rp) in mhi_pm_m0_transition()
A Ddebugfs.c96 struct mhi_ring *ring = &mhi_chan->tre_ring; in mhi_debugfs_channels_show()
A Dinternal.h560 struct mhi_ring tre_ring; member
/linux/drivers/net/ipa/
A Dgsi.c767 size_t size = channel->tre_ring.count * GSI_RING_ELEMENT_SIZE; in gsi_channel_program()
776 channel->tre_ring.index = 0; in gsi_channel_program()
793 val = lower_32_bits(channel->tre_ring.addr); in gsi_channel_program()
795 val = upper_32_bits(channel->tre_ring.addr); in gsi_channel_program()
1341 tre_index = gsi_ring_index(&channel->tre_ring, tre_offset); in gsi_event_trans()
1464 struct gsi_ring *tre_ring = &channel->tre_ring; in gsi_channel_doorbell() local
1470 val = gsi_ring_addr(tre_ring, tre_ring->index % tre_ring->count); in gsi_channel_doorbell()
2078 ret = gsi_ring_alloc(gsi, &channel->tre_ring, data->channel.tre_count); in gsi_channel_init_one()
2099 gsi_ring_free(gsi, &channel->tre_ring); in gsi_channel_init_one()
2117 gsi_ring_free(channel->gsi, &channel->tre_ring); in gsi_channel_exit_one()
A Dgsi_trans.c238 channel->trans_info.map[index % channel->tre_ring.count] = trans; in gsi_channel_trans_map()
246 return channel->trans_info.map[index % channel->tre_ring.count]; in gsi_channel_trans_mapped()
545 struct gsi_ring *ring = &channel->tre_ring; in __gsi_trans_commit()
693 struct gsi_ring *ring = &channel->tre_ring; in gsi_trans_read_byte()
A Dgsi.h119 struct gsi_ring tre_ring; member
/linux/drivers/dma/qcom/
A Dhidma_ll.c535 memcpy(lldev->tre_ring + lldev->tre_write_offset, in hidma_ll_queue_request()
747 lldev->tre_ring = dmam_alloc_coherent(dev, sz, &lldev->tre_dma, in hidma_ll_init()
749 if (!lldev->tre_ring) in hidma_ll_init()
762 lldev->tre_ring += tre_ring_shift; in hidma_ll_init()
A Dhidma.h61 void *tre_ring; /* TRE ring */ member
A Dhidma_dbg.c65 seq_printf(s, "tre_ring=%p\n", lldev->tre_ring); in hidma_ll_devstats()

Completed in 29 milliseconds