Home
last modified time | relevance | path

Searched refs:desc_hw (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/dma/
Dzx_dma.c92 struct zx_desc_hw *desc_hw; member
209 zx_dma_set_desc(c->phy, ds->desc_hw); in zx_dma_start_txd()
366 bytes += ds->desc_hw[index].src_x; in zx_dma_tx_status()
368 if (!ds->desc_hw[index].lli) in zx_dma_tx_status()
408 ds->desc_hw[num].lli = ds->desc_hw_lli + (num + 1) * in zx_dma_fill_desc()
410 ds->desc_hw[num].saddr = src; in zx_dma_fill_desc()
411 ds->desc_hw[num].daddr = dst; in zx_dma_fill_desc()
412 ds->desc_hw[num].src_x = len; in zx_dma_fill_desc()
413 ds->desc_hw[num].ctr = ccfg; in zx_dma_fill_desc()
434 ds->desc_hw = dma_pool_zalloc(d->pool, GFP_NOWAIT, &ds->desc_hw_lli); in zx_alloc_desc_resource()
[all …]
Dxgene-dma.c231 struct xgene_dma_desc_hw *desc_hw; member
597 struct xgene_dma_desc_hw *desc_hw; in xgene_chan_xfer_request() local
600 desc_hw = &ring->desc_hw[ring->head]; in xgene_chan_xfer_request()
610 memcpy(desc_hw, &desc_sw->desc1, sizeof(*desc_hw)); in xgene_chan_xfer_request()
617 desc_hw = &ring->desc_hw[ring->head]; in xgene_chan_xfer_request()
622 memcpy(desc_hw, &desc_sw->desc2, sizeof(*desc_hw)); in xgene_chan_xfer_request()
690 struct xgene_dma_desc_hw *desc_hw; in xgene_dma_cleanup_descriptors() local
704 desc_hw = &ring->desc_hw[ring->head]; in xgene_dma_cleanup_descriptors()
707 if (unlikely(le64_to_cpu(desc_hw->m0) == in xgene_dma_cleanup_descriptors()
717 desc_hw->m0)), in xgene_dma_cleanup_descriptors()
[all …]
Dk3dma.c75 struct k3_desc_hw *desc_hw; member
292 k3_dma_set_desc(c->phy, &ds->desc_hw[0]); in k3_dma_start_txd()
412 bytes += ds->desc_hw[index].count; in k3_dma_tx_status()
414 if (!ds->desc_hw[index].lli) in k3_dma_tx_status()
452 ds->desc_hw[num].lli = ds->desc_hw_lli + (num + 1) * in k3_dma_fill_desc()
455 ds->desc_hw[num].lli |= CX_LLI_CHAIN_EN; in k3_dma_fill_desc()
456 ds->desc_hw[num].count = len; in k3_dma_fill_desc()
457 ds->desc_hw[num].saddr = src; in k3_dma_fill_desc()
458 ds->desc_hw[num].daddr = dst; in k3_dma_fill_desc()
459 ds->desc_hw[num].config = ccfg; in k3_dma_fill_desc()
[all …]