Lines Matching defs:desc
418 struct dma_async_tx_descriptor *desc = NULL;
425 desc = chan->device->device_prep_slave_sg(chan, sg, ret,
429 if (desc) {
430 host->desc = desc;
431 desc->callback = tmio_dma_complete;
432 desc->callback_param = host;
433 host->cookie = desc->tx_submit(desc);
435 host->desc = NULL;
444 if (!host->desc) {
465 dev_dbg(&host->pdev->dev, "%s(): desc %p, cookie %d, sg[%d]\n", __func__,
466 desc, host->cookie, host->sg_len);
474 struct dma_async_tx_descriptor *desc = NULL;
481 desc = chan->device->device_prep_slave_sg(chan, sg, ret,
485 if (desc) {
486 host->desc = desc;
487 desc->callback = tmio_dma_complete;
488 desc->callback_param = host;
489 host->cookie = desc->tx_submit(desc);
491 host->desc = NULL;
498 if (!host->desc) {
519 dev_dbg(&host->pdev->dev, "%s(): desc %p, cookie %d\n", __func__,
520 desc, host->cookie);
573 host->desc = NULL;
622 host->desc = NULL;