Home
last modified time | relevance | path

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

/drivers/crypto/marvell/
Dtdma.c99 struct mv_cesa_tdma_desc *new_tdma = NULL; in mv_cesa_dma_add_desc() local
102 new_tdma = dma_pool_alloc(cesa_dev->dma->tdma_desc_pool, flags, in mv_cesa_dma_add_desc()
104 if (!new_tdma) in mv_cesa_dma_add_desc()
107 memset(new_tdma, 0, sizeof(*new_tdma)); in mv_cesa_dma_add_desc()
108 new_tdma->cur_dma = dma_handle; in mv_cesa_dma_add_desc()
111 chain->last->next = new_tdma; in mv_cesa_dma_add_desc()
113 chain->first = new_tdma; in mv_cesa_dma_add_desc()
116 chain->last = new_tdma; in mv_cesa_dma_add_desc()
118 return new_tdma; in mv_cesa_dma_add_desc()