fsl_desc 144 drivers/dma/fsl-edma-common.c struct fsl_edma_desc *fsl_desc; fsl_desc 147 drivers/dma/fsl-edma-common.c fsl_desc = to_fsl_edma_desc(vdesc); fsl_desc 148 drivers/dma/fsl-edma-common.c for (i = 0; i < fsl_desc->n_tcds; i++) fsl_desc 149 drivers/dma/fsl-edma-common.c dma_pool_free(fsl_desc->echan->tcd_pool, fsl_desc->tcd[i].vtcd, fsl_desc 150 drivers/dma/fsl-edma-common.c fsl_desc->tcd[i].ptcd); fsl_desc 151 drivers/dma/fsl-edma-common.c kfree(fsl_desc); fsl_desc 417 drivers/dma/fsl-edma-common.c struct fsl_edma_desc *fsl_desc; fsl_desc 420 drivers/dma/fsl-edma-common.c fsl_desc = kzalloc(struct_size(fsl_desc, tcd, sg_len), GFP_NOWAIT); fsl_desc 421 drivers/dma/fsl-edma-common.c if (!fsl_desc) fsl_desc 424 drivers/dma/fsl-edma-common.c fsl_desc->echan = fsl_chan; fsl_desc 425 drivers/dma/fsl-edma-common.c fsl_desc->n_tcds = sg_len; fsl_desc 427 drivers/dma/fsl-edma-common.c fsl_desc->tcd[i].vtcd = dma_pool_alloc(fsl_chan->tcd_pool, fsl_desc 428 drivers/dma/fsl-edma-common.c GFP_NOWAIT, &fsl_desc->tcd[i].ptcd); fsl_desc 429 drivers/dma/fsl-edma-common.c if (!fsl_desc->tcd[i].vtcd) fsl_desc 432 drivers/dma/fsl-edma-common.c return fsl_desc; fsl_desc 436 drivers/dma/fsl-edma-common.c dma_pool_free(fsl_chan->tcd_pool, fsl_desc->tcd[i].vtcd, fsl_desc 437 drivers/dma/fsl-edma-common.c fsl_desc->tcd[i].ptcd); fsl_desc 438 drivers/dma/fsl-edma-common.c kfree(fsl_desc); fsl_desc 448 drivers/dma/fsl-edma-common.c struct fsl_edma_desc *fsl_desc; fsl_desc 461 drivers/dma/fsl-edma-common.c fsl_desc = fsl_edma_alloc_desc(fsl_chan, sg_len); fsl_desc 462 drivers/dma/fsl-edma-common.c if (!fsl_desc) fsl_desc 464 drivers/dma/fsl-edma-common.c fsl_desc->iscyclic = true; fsl_desc 465 drivers/dma/fsl-edma-common.c fsl_desc->dirn = direction; fsl_desc 487 drivers/dma/fsl-edma-common.c last_sg = fsl_desc->tcd[(i + 1) % sg_len].ptcd; fsl_desc 501 drivers/dma/fsl-edma-common.c fsl_edma_fill_tcd(fsl_desc->tcd[i].vtcd, src_addr, dst_addr, fsl_desc 507 drivers/dma/fsl-edma-common.c return vchan_tx_prep(&fsl_chan->vchan, &fsl_desc->vdesc, flags); fsl_desc 517 drivers/dma/fsl-edma-common.c struct fsl_edma_desc *fsl_desc; fsl_desc 529 drivers/dma/fsl-edma-common.c fsl_desc = fsl_edma_alloc_desc(fsl_chan, sg_len); fsl_desc 530 drivers/dma/fsl-edma-common.c if (!fsl_desc) fsl_desc 532 drivers/dma/fsl-edma-common.c fsl_desc->iscyclic = false; fsl_desc 533 drivers/dma/fsl-edma-common.c fsl_desc->dirn = direction; fsl_desc 549 drivers/dma/fsl-edma-common.c last_sg = fsl_desc->tcd[(i + 1) % sg_len].ptcd; fsl_desc 565 drivers/dma/fsl-edma-common.c last_sg = fsl_desc->tcd[(i + 1)].ptcd; fsl_desc 566 drivers/dma/fsl-edma-common.c fsl_edma_fill_tcd(fsl_desc->tcd[i].vtcd, src_addr, fsl_desc 572 drivers/dma/fsl-edma-common.c fsl_edma_fill_tcd(fsl_desc->tcd[i].vtcd, src_addr, fsl_desc 579 drivers/dma/fsl-edma-common.c return vchan_tx_prep(&fsl_chan->vchan, &fsl_desc->vdesc, flags);