Lines Matching defs:sdesc
512 struct sprd_dma_desc *sdesc)
514 struct sprd_dma_chn_hw *cfg = &sdesc->chn_hw;
592 struct sprd_dma_desc *sdesc;
605 sdesc = schan->cur_desc;
606 if (!sdesc) {
618 vchan_cyclic_callback(&sdesc->vd);
623 vchan_cookie_complete(&sdesc->vd);
676 struct sprd_dma_desc *sdesc = to_sprd_dma_desc(vd);
677 struct sprd_dma_chn_hw *hw = &sdesc->chn_hw;
688 struct sprd_dma_desc *sdesc = schan->cur_desc;
690 if (sdesc->dir == DMA_DEV_TO_MEM)
899 struct sprd_dma_desc *sdesc;
904 sdesc = kzalloc(sizeof(*sdesc), GFP_NOWAIT);
905 if (!sdesc)
908 hw = &sdesc->chn_hw;
946 return vchan_tx_prep(&schan->vc, &sdesc->vd, flags);
958 struct sprd_dma_desc *sdesc;
989 sdesc = kzalloc(sizeof(*sdesc), GFP_NOWAIT);
990 if (!sdesc)
993 sdesc->dir = dir;
1022 kfree(sdesc);
1027 ret = sprd_dma_fill_desc(chan, &sdesc->chn_hw, 0, 0, start_src,
1030 kfree(sdesc);
1034 return vchan_tx_prep(&schan->vc, &sdesc->vd, flags);
1096 struct sprd_dma_desc *sdesc = to_sprd_dma_desc(vd);
1098 kfree(sdesc);