Lines Matching refs:sg_cpu
70 struct pxa_dma_desc *sg_cpu;
201 host->sg_cpu[i].dcmd = dcmd | length;
203 host->sg_cpu[i].dcmd |= DCMD_ENDIRQEN;
208 host->sg_cpu[i].dsadr = host->res->start + MMC_RXFIFO;
209 host->sg_cpu[i].dtadr = sg_dma_address(&data->sg[i]);
211 host->sg_cpu[i].dsadr = sg_dma_address(&data->sg[i]);
212 host->sg_cpu[i].dtadr = host->res->start + MMC_TXFIFO;
214 host->sg_cpu[i].ddadr = host->sg_dma + (i + 1) *
217 host->sg_cpu[host->dma_len - 1].ddadr = DDADR_STOP;
613 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &host->sg_dma, GFP_KERNEL);
614 if (!host->sg_cpu) {
729 if (host->sg_cpu)
730 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma);
782 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma);