Searched refs:tre_ring (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/bus/mhi/core/ |
D | main.c | 110 struct mhi_ring *ring = &mhi_chan->tre_ring; in mhi_ring_chan_db() 498 struct mhi_ring *buf_ring, *tre_ring; in parse_xfer_event() local 506 tre_ring = &mhi_chan->tre_ring; in parse_xfer_event() 536 if (!is_valid_ring_ptr(tre_ring, ptr)) { in parse_xfer_event() 542 ev_tre = mhi_to_virtual(tre_ring, ptr); in parse_xfer_event() 545 if (dev_rp >= (tre_ring->base + tre_ring->len)) in parse_xfer_event() 546 dev_rp = tre_ring->base; in parse_xfer_event() 550 local_rp = tre_ring->rp; in parse_xfer_event() 569 mhi_del_ring_element(mhi_cntrl, tre_ring); in parse_xfer_event() 570 local_rp = tre_ring->rp; in parse_xfer_event() [all …]
|
D | init.c | 290 mhi_chan->tre_ring.db_addr = (void __iomem *)&chan_ctxt->wp; in mhi_init_dev_ctxt() 510 mhi_chan->tre_ring.db_addr = base + val; in mhi_init_mmio() 545 struct mhi_ring *tre_ring; in mhi_deinit_chan_ctxt() local 550 tre_ring = &mhi_chan->tre_ring; in mhi_deinit_chan_ctxt() 553 mhi_free_coherent(mhi_cntrl, tre_ring->alloc_size, in mhi_deinit_chan_ctxt() 554 tre_ring->pre_aligned, tre_ring->dma_handle); in mhi_deinit_chan_ctxt() 557 buf_ring->base = tre_ring->base = NULL; in mhi_deinit_chan_ctxt() 558 tre_ring->ctxt_wp = NULL; in mhi_deinit_chan_ctxt() 577 struct mhi_ring *tre_ring; in mhi_init_chan_ctxt() local 583 tre_ring = &mhi_chan->tre_ring; in mhi_init_chan_ctxt() [all …]
|
D | pm.c | 290 struct mhi_ring *tre_ring = &mhi_chan->tre_ring; in mhi_pm_m0_transition() local 301 if (tre_ring->base && tre_ring->wp != tre_ring->rp && in mhi_pm_m0_transition()
|
D | debugfs.c | 96 struct mhi_ring *ring = &mhi_chan->tre_ring; in mhi_debugfs_channels_show()
|
D | internal.h | 546 struct mhi_ring tre_ring; member
|
/kernel/linux/linux-5.10/drivers/net/ipa/ |
D | gsi.c | 706 size_t size = channel->tre_ring.count * GSI_RING_ELEMENT_SIZE; in gsi_channel_program() 715 channel->tre_ring.index = 0; in gsi_channel_program() 732 val = channel->tre_ring.addr & GENMASK(31, 0); in gsi_channel_program() 735 val = channel->tre_ring.addr >> 32; in gsi_channel_program() 1180 tre_index = gsi_ring_index(&channel->tre_ring, tre_offset); in gsi_event_trans() 1305 struct gsi_ring *tre_ring = &channel->tre_ring; in gsi_channel_doorbell() local 1311 val = gsi_ring_addr(tre_ring, tre_ring->index % tre_ring->count); in gsi_channel_doorbell() 1852 ret = gsi_ring_alloc(gsi, &channel->tre_ring, data->channel.tre_count); in gsi_channel_init_one() 1873 gsi_ring_free(gsi, &channel->tre_ring); in gsi_channel_init_one() 1891 gsi_ring_free(channel->gsi, &channel->tre_ring); in gsi_channel_exit_one()
|
D | gsi_trans.c | 241 channel->trans_info.map[index % channel->tre_ring.count] = trans; in gsi_channel_trans_map() 249 return channel->trans_info.map[index % channel->tre_ring.count]; in gsi_channel_trans_mapped() 543 struct gsi_ring *ring = &channel->tre_ring; in __gsi_trans_commit() 691 struct gsi_ring *ring = &channel->tre_ring; in gsi_trans_read_byte()
|
D | gsi.h | 118 struct gsi_ring tre_ring; member
|
/kernel/linux/linux-5.10/drivers/dma/qcom/ |
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()
|
D | hidma.h | 61 void *tre_ring; /* TRE ring */ member
|
D | hidma_dbg.c | 65 seq_printf(s, "tre_ring=%p\n", lldev->tre_ring); in hidma_ll_devstats()
|