Searched refs:sg_cpu (Results 1 – 2 of 2) sorted by relevance
65 struct pxa_dma_desc *sg_cpu; member154 host->sg_cpu[i].dcmd = dcmd | length; in pxamci_setup_data()156 host->sg_cpu[i].dcmd |= DCMD_ENDIRQEN; in pxamci_setup_data()161 host->sg_cpu[i].dsadr = host->res->start + MMC_RXFIFO; in pxamci_setup_data()162 host->sg_cpu[i].dtadr = sg_dma_address(&data->sg[i]); in pxamci_setup_data()164 host->sg_cpu[i].dsadr = sg_dma_address(&data->sg[i]); in pxamci_setup_data()165 host->sg_cpu[i].dtadr = host->res->start + MMC_TXFIFO; in pxamci_setup_data()167 host->sg_cpu[i].ddadr = host->sg_dma + (i + 1) * in pxamci_setup_data()170 host->sg_cpu[host->dma_len - 1].ddadr = DDADR_STOP; in pxamci_setup_data()579 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &host->sg_dma, GFP_KERNEL); in pxamci_probe()[all …]
178 struct pxa_dma_desc *sg_cpu; member283 if (buf->dmas[i].sg_cpu) in free_buffer()285 buf->dmas[i].sg_cpu, in free_buffer()287 buf->dmas[i].sg_cpu = NULL; in free_buffer()302 if (pxa_dma->sg_cpu) in pxa_init_dma_channel()304 pxa_dma->sg_cpu, pxa_dma->sg_dma); in pxa_init_dma_channel()307 pxa_dma->sg_cpu = dma_alloc_coherent(pcdev->dev, pxa_dma->sg_size, in pxa_init_dma_channel()309 if (!pxa_dma->sg_cpu) in pxa_init_dma_channel()319 pxa_dma->sg_cpu[i].dsadr = pcdev->res->start + cibr; in pxa_init_dma_channel()320 pxa_dma->sg_cpu[i].dtadr = sg_dma_address(&sg[sg_i]); in pxa_init_dma_channel()[all …]