Home
last modified time | relevance | path

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

/openbmc/linux/drivers/dma/
H A Dfsl-edma-common.c227 dma_pool_free(fsl_desc->echan->tcd_pool, fsl_desc->tcd[i].vtcd, in fsl_edma_free_desc()
229 kfree(fsl_desc); in fsl_edma_free_desc()
544 fsl_desc = kzalloc(struct_size(fsl_desc, tcd, sg_len), GFP_NOWAIT); in fsl_edma_alloc_desc()
545 if (!fsl_desc) in fsl_edma_alloc_desc()
549 fsl_desc->n_tcds = sg_len; in fsl_edma_alloc_desc()
556 return fsl_desc; in fsl_edma_alloc_desc()
561 fsl_desc->tcd[i].ptcd); in fsl_edma_alloc_desc()
562 kfree(fsl_desc); in fsl_edma_alloc_desc()
587 if (!fsl_desc) in fsl_edma_prep_dma_cyclic()
660 if (!fsl_desc) in fsl_edma_prep_slave_sg()
[all …]