Home
last modified time | relevance | path

Searched refs:desc_sw (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/dma/
Dxgene-dma.c458 struct xgene_dma_desc_sw *desc_sw, in xgene_dma_prep_cpy_desc() argument
466 desc1 = &desc_sw->desc1; in xgene_dma_prep_cpy_desc()
485 desc2 = &desc_sw->desc2; in xgene_dma_prep_cpy_desc()
498 desc_sw->flags |= XGENE_DMA_FLAG_64B_DESC; in xgene_dma_prep_cpy_desc()
508 struct xgene_dma_desc_sw *desc_sw, in xgene_dma_prep_xor_desc() argument
517 desc1 = &desc_sw->desc1; in xgene_dma_prep_xor_desc()
518 desc2 = &desc_sw->desc2; in xgene_dma_prep_xor_desc()
551 desc_sw->flags |= XGENE_DMA_FLAG_64B_DESC; in xgene_dma_prep_xor_desc()
696 struct xgene_dma_desc_sw *desc_sw) in xgene_chan_xfer_request() argument
715 memcpy(desc_hw, &desc_sw->desc1, sizeof(*desc_hw)); in xgene_chan_xfer_request()
[all …]
/linux-4.1.27/drivers/dma/ioat/
Ddma.c272 struct ioat_desc_sw *desc_sw; in ioat_dma_alloc_descriptor() local
281 desc_sw = kzalloc(sizeof(*desc_sw), flags); in ioat_dma_alloc_descriptor()
282 if (unlikely(!desc_sw)) { in ioat_dma_alloc_descriptor()
289 INIT_LIST_HEAD(&desc_sw->tx_list); in ioat_dma_alloc_descriptor()
290 dma_async_tx_descriptor_init(&desc_sw->txd, &ioat->base.common); in ioat_dma_alloc_descriptor()
291 desc_sw->txd.tx_submit = ioat1_tx_submit; in ioat_dma_alloc_descriptor()
292 desc_sw->hw = desc; in ioat_dma_alloc_descriptor()
293 desc_sw->txd.phys = phys; in ioat_dma_alloc_descriptor()
294 set_desc_id(desc_sw, -1); in ioat_dma_alloc_descriptor()
296 return desc_sw; in ioat_dma_alloc_descriptor()