Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/dma/ti/
Dcppi41.c90 dma_addr_t desc_phys; member
435 u32 desc_phys; in push_desc_queue() local
465 desc_phys = lower_32_bits(c->desc_phys); in push_desc_queue()
466 desc_num = (desc_phys - cdd->descs_phys) / sizeof(struct cppi41_desc); in push_desc_queue()
471 reg |= desc_phys; in push_desc_queue()
647 u32 desc_phys; in cppi41_tear_down_chan() local
679 desc_phys = cppi41_pop_desc(cdd, cdd->td_queue.complete); in cppi41_tear_down_chan()
680 if (!desc_phys && c->is_tx) in cppi41_tear_down_chan()
681 desc_phys = cppi41_pop_desc(cdd, c->q_comp_num); in cppi41_tear_down_chan()
683 if (desc_phys == c->desc_phys) { in cppi41_tear_down_chan()
[all …]
/linux-6.1.9/drivers/net/ethernet/mediatek/
Dmtk_wed.c121 dma_addr_t desc_phys; in mtk_wed_buffer_alloc() local
139 &desc_phys, GFP_KERNEL); in mtk_wed_buffer_alloc()
144 dev->buf_ring.desc_phys = desc_phys; in mtk_wed_buffer_alloc()
232 desc, dev->buf_ring.desc_phys); in mtk_wed_free_buffer()
245 ring->desc, ring->desc_phys); in mtk_wed_free_ring()
502 wed_w32(dev, MTK_WED_TX_BM_BASE, dev->buf_ring.desc_phys); in mtk_wed_hw_init()
676 &ring->desc_phys, GFP_KERNEL); in mtk_wed_ring_alloc()
697 wdma->desc_phys); in mtk_wed_wdma_ring_setup()
703 wdma->desc_phys); in mtk_wed_wdma_ring_setup()
921 wpdma_tx_w32(dev, idx, MTK_WED_RING_OFS_BASE, ring->desc_phys); in mtk_wed_tx_ring_setup()
[all …]
/linux-6.1.9/include/linux/soc/mediatek/
Dmtk_wed.h21 dma_addr_t desc_phys; member
46 dma_addr_t desc_phys; member
/linux-6.1.9/drivers/dma/
Ddma-jz4780.c123 dma_addr_t desc_phys; member
246 &desc->desc_phys); in jz4780_dma_desc_alloc()
268 dma_pool_free(jzchan->desc_pool, desc->desc, desc->desc_phys); in jz4780_dma_desc_free()
492 dma_addr_t desc_phys; in jz4780_dma_begin() local
552 desc_phys = jzchan->desc->desc_phys + in jz4780_dma_begin()
554 jz4780_dma_chn_writel(jzdma, jzchan->id, JZ_DMA_REG_DDA, desc_phys); in jz4780_dma_begin()
/linux-6.1.9/drivers/dma/lgm/
Dlgm-dma.c201 dma_addr_t desc_phys; member
272 dma_addr_t desc_phys; member
682 c->desc_phys = desc_base; in ldma_chan_desc_cfg()
887 ldma_chan_desc_hw_cfg(c, c->desc_phys, c->desc_cnt); in ldma_chan_cfg()
970 dma_pool_free(c->desc_pool, ds->desc_hw, ds->desc_phys); in dma_free_desc_resource()
991 &ds->desc_phys); in dma_alloc_desc_resource()
1034 ldma_chan_desc_hw_cfg(c, c->ds->desc_phys, c->ds->desc_cnt); in ldma_issue_pending()
/linux-6.1.9/drivers/crypto/
Dmxs-dcp.c179 dma_addr_t desc_phys = dma_map_single(sdcp->dev, desc, sizeof(*desc), in mxs_dcp_start_dma() local
182 dma_err = dma_mapping_error(sdcp->dev, desc_phys); in mxs_dcp_start_dma()
192 writel(desc_phys, sdcp->base + MXS_DCP_CH_N_CMDPTR(chan)); in mxs_dcp_start_dma()
212 dma_unmap_single(sdcp->dev, desc_phys, sizeof(*desc), DMA_TO_DEVICE); in mxs_dcp_start_dma()
/linux-6.1.9/drivers/net/ethernet/ti/
Ddavinci_cpdma.c279 static inline dma_addr_t desc_phys(struct cpdma_desc_pool *pool, in desc_phys() function
393 chan_write(chan, hdp, desc_phys(pool, chan->head)); in cpdma_chan_on()
989 desc_dma = desc_phys(pool, desc); in __cpdma_chan_submit()
1237 desc_dma = desc_phys(pool, desc); in __cpdma_chan_process()
1260 chan_write(chan, hdp, desc_phys(pool, chan->head)); in __cpdma_chan_process()