Home
last modified time | relevance | path

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

/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 …]
/drivers/net/ethernet/mediatek/
Dmtk_wed.c304 dma_addr_t desc_phys; in mtk_wed_tx_buffer_alloc() local
322 &desc_phys, GFP_KERNEL); in mtk_wed_tx_buffer_alloc()
327 dev->tx_buf_ring.desc_phys = desc_phys; in mtk_wed_tx_buffer_alloc()
416 desc, dev->tx_buf_ring.desc_phys); in mtk_wed_free_tx_buffer()
426 dma_addr_t desc_phys; in mtk_wed_rx_buffer_alloc() local
431 &desc_phys, GFP_KERNEL); in mtk_wed_rx_buffer_alloc()
436 dev->rx_buf_ring.desc_phys = desc_phys; in mtk_wed_rx_buffer_alloc()
452 desc, dev->rx_buf_ring.desc_phys); in mtk_wed_free_rx_buffer()
460 wed_w32(dev, MTK_WED_RX_BM_BASE, dev->rx_buf_ring.desc_phys); in mtk_wed_rx_buffer_hw_init()
475 ring->desc, ring->desc_phys); in mtk_wed_free_ring()
[all …]
/drivers/dma/
Ddma-jz4780.c122 dma_addr_t desc_phys; member
245 &desc->desc_phys); in jz4780_dma_desc_alloc()
267 dma_pool_free(jzchan->desc_pool, desc->desc, desc->desc_phys); in jz4780_dma_desc_free()
491 dma_addr_t desc_phys; in jz4780_dma_begin() local
551 desc_phys = jzchan->desc->desc_phys + in jz4780_dma_begin()
553 jz4780_dma_chn_writel(jzdma, jzchan->id, JZ_DMA_REG_DDA, desc_phys); in jz4780_dma_begin()
/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()
/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()
/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()