Searched refs:tre_ring (Results 1 – 11 of 11) sorted by relevance
/linux/drivers/bus/mhi/core/ |
A D | main.c | 338 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 D | init.c | 559 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 D | pm.c | 289 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 D | debugfs.c | 96 struct mhi_ring *ring = &mhi_chan->tre_ring; in mhi_debugfs_channels_show()
|
A D | internal.h | 560 struct mhi_ring tre_ring; member
|
/linux/drivers/net/ipa/ |
A D | gsi.c | 767 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 D | gsi_trans.c | 238 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 D | gsi.h | 119 struct gsi_ring tre_ring; member
|
/linux/drivers/dma/qcom/ |
A D | hidma_ll.c | 535 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 D | hidma.h | 61 void *tre_ring; /* TRE ring */ member
|
A D | hidma_dbg.c | 65 seq_printf(s, "tre_ring=%p\n", lldev->tre_ring); in hidma_ll_devstats()
|
Completed in 29 milliseconds