Home
last modified time | relevance | path

Searched refs:sg_cpu (Results 1 – 8 of 8) sorted by relevance

/linux-4.4.14/drivers/crypto/
Dbfin_crc.c61 struct dma_desc_array *sg_cpu; /* virt addr of sg dma descriptors */ member
201 crc->sg_cpu[i].start_addr = crc->sg_mid_dma + (i << 2); in bfin_crypto_crc_config_dma()
202 crc->sg_cpu[i].cfg = dma_config; in bfin_crypto_crc_config_dma()
203 crc->sg_cpu[i].x_count = 1; in bfin_crypto_crc_config_dma()
204 crc->sg_cpu[i].x_modify = CHKSUM_DIGEST_SIZE; in bfin_crypto_crc_config_dma()
207 i, crc->sg_cpu[i].start_addr, in bfin_crypto_crc_config_dma()
208 crc->sg_cpu[i].cfg, crc->sg_cpu[i].x_count, in bfin_crypto_crc_config_dma()
209 crc->sg_cpu[i].x_modify); in bfin_crypto_crc_config_dma()
231 crc->sg_cpu[i].start_addr = dma_addr; in bfin_crypto_crc_config_dma()
232 crc->sg_cpu[i].cfg = dma_config; in bfin_crypto_crc_config_dma()
[all …]
/linux-4.4.14/drivers/mmc/host/
Dbfin_sdh.c67 struct dma_desc_array *sg_cpu; member
170 host->sg_cpu[i].start_addr = sg_dma_address(sg); in sdh_setup_data()
171 host->sg_cpu[i].cfg = dma_cfg; in sdh_setup_data()
172 host->sg_cpu[i].x_count = sg_dma_len(sg) / 4; in sdh_setup_data()
173 host->sg_cpu[i].x_modify = 4; in sdh_setup_data()
176 i, host->sg_cpu[i].start_addr, in sdh_setup_data()
177 host->sg_cpu[i].cfg, host->sg_cpu[i].x_count, in sdh_setup_data()
178 host->sg_cpu[i].x_modify); in sdh_setup_data()
181 flush_dcache_range((unsigned int)host->sg_cpu, in sdh_setup_data()
182 (unsigned int)host->sg_cpu + in sdh_setup_data()
[all …]
Dsunxi-mmc.c253 void *sg_cpu; member
306 struct sunxi_idma_des *pdes = (struct sunxi_idma_des *)host->sg_cpu; in sunxi_mmc_init_idma_des()
1049 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in sunxi_mmc_probe()
1051 if (!host->sg_cpu) { in sunxi_mmc_probe()
1082 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_probe()
1103 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_remove()
Ddw_mmc.c481 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_translate_sglist()
526 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_translate_sglist()
612 for (i = 0, p = host->sg_cpu; i < host->ring_size - 1; in dw_mci_idmac_init()
638 for (i = 0, p = host->sg_cpu; in dw_mci_idmac_init()
966 (unsigned long)host->sg_cpu, in dw_mci_submit_data_dma()
2689 host->sg_cpu = dmam_alloc_coherent(host->dev, PAGE_SIZE, in dw_mci_init_dma()
2691 if (!host->sg_cpu) { in dw_mci_init_dma()
/linux-4.4.14/drivers/media/platform/soc_camera/
Dpxa_camera.c181 struct pxa_dma_desc *sg_cpu; member
279 if (buf->dmas[i].sg_cpu) in free_buffer()
282 buf->dmas[i].sg_cpu, in free_buffer()
284 buf->dmas[i].sg_cpu = NULL; in free_buffer()
341 if (pxa_dma->sg_cpu) in pxa_init_dma_channel()
343 pxa_dma->sg_cpu, pxa_dma->sg_dma); in pxa_init_dma_channel()
349 pxa_dma->sg_cpu = dma_alloc_coherent(dev, pxa_dma->sg_size, in pxa_init_dma_channel()
351 if (!pxa_dma->sg_cpu) in pxa_init_dma_channel()
369 pxa_dma->sg_cpu[i].dsadr = pcdev->res->start + cibr; in pxa_init_dma_channel()
370 pxa_dma->sg_cpu[i].dtadr = sg_dma_address(sg) + offset; in pxa_init_dma_channel()
[all …]
/linux-4.4.14/include/linux/mmc/
Ddw_mmc.h167 void *sg_cpu; member
/linux-4.4.14/Documentation/video4linux/
Dpxa_camera.txt102 This structure is pointed by dma->sg_cpu.
/linux-4.4.14/Documentation/dmaengine/
Dpxa_dma.txt49 This structure is pointed by dma->sg_cpu.