Searched refs:fsl_desc (Results 1 – 1 of 1) sorted by relevance
222 struct fsl_edma_desc *fsl_desc; in fsl_edma_free_desc() local225 fsl_desc = to_fsl_edma_desc(vdesc); in fsl_edma_free_desc()226 for (i = 0; i < fsl_desc->n_tcds; i++) in fsl_edma_free_desc()227 dma_pool_free(fsl_desc->echan->tcd_pool, fsl_desc->tcd[i].vtcd, in fsl_edma_free_desc()228 fsl_desc->tcd[i].ptcd); in fsl_edma_free_desc()229 kfree(fsl_desc); in fsl_edma_free_desc()547 struct fsl_edma_desc *fsl_desc; in fsl_edma_alloc_desc() local550 fsl_desc = kzalloc(struct_size(fsl_desc, tcd, sg_len), GFP_NOWAIT); in fsl_edma_alloc_desc()551 if (!fsl_desc) in fsl_edma_alloc_desc()554 fsl_desc->echan = fsl_chan; in fsl_edma_alloc_desc()[all …]