Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/dma/
Dxgene-dma.c232 struct xgene_dma_desc_hw *desc_hw; member
598 struct xgene_dma_desc_hw *desc_hw; in xgene_chan_xfer_request() local
601 desc_hw = &ring->desc_hw[ring->head]; in xgene_chan_xfer_request()
611 memcpy(desc_hw, &desc_sw->desc1, sizeof(*desc_hw)); in xgene_chan_xfer_request()
618 desc_hw = &ring->desc_hw[ring->head]; in xgene_chan_xfer_request()
623 memcpy(desc_hw, &desc_sw->desc2, sizeof(*desc_hw)); in xgene_chan_xfer_request()
691 struct xgene_dma_desc_hw *desc_hw; in xgene_dma_cleanup_descriptors() local
705 desc_hw = &ring->desc_hw[ring->head]; in xgene_dma_cleanup_descriptors()
708 if (unlikely(le64_to_cpu(desc_hw->m0) == in xgene_dma_cleanup_descriptors()
718 desc_hw->m0)), in xgene_dma_cleanup_descriptors()
[all …]
Dk3dma.c75 struct k3_desc_hw *desc_hw; member
291 k3_dma_set_desc(c->phy, &ds->desc_hw[0]); in k3_dma_start_txd()
411 bytes += ds->desc_hw[index].count; in k3_dma_tx_status()
413 if (!ds->desc_hw[index].lli) in k3_dma_tx_status()
451 ds->desc_hw[num].lli = ds->desc_hw_lli + (num + 1) * in k3_dma_fill_desc()
454 ds->desc_hw[num].lli |= CX_LLI_CHAIN_EN; in k3_dma_fill_desc()
455 ds->desc_hw[num].count = len; in k3_dma_fill_desc()
456 ds->desc_hw[num].saddr = src; in k3_dma_fill_desc()
457 ds->desc_hw[num].daddr = dst; in k3_dma_fill_desc()
458 ds->desc_hw[num].config = ccfg; in k3_dma_fill_desc()
[all …]
/Linux-v6.6/drivers/dma/lgm/
Dlgm-dma.c275 struct dw2_desc *desc_hw; member
970 dma_pool_free(c->desc_pool, ds->desc_hw, ds->desc_phys); in dma_free_desc_resource()
990 ds->desc_hw = dma_pool_zalloc(c->desc_pool, GFP_ATOMIC, in dma_alloc_desc_resource()
992 if (!ds->desc_hw) { in dma_alloc_desc_resource()
1198 hw_ds = &ds->desc_hw[num]; in ldma_prep_slave_sg()