Searched refs:sg_cpu (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/drivers/crypto/ |
D | bfin_crc.c | 61 struct dma_desc_array *sg_cpu; /* virt addr of sg dma descriptors */ member 221 crc->sg_cpu[i].start_addr = crc->sg_mid_dma + (i << 2); in bfin_crypto_crc_config_dma() 222 crc->sg_cpu[i].cfg = dma_config; in bfin_crypto_crc_config_dma() 223 crc->sg_cpu[i].x_count = 1; in bfin_crypto_crc_config_dma() 224 crc->sg_cpu[i].x_modify = CHKSUM_DIGEST_SIZE; in bfin_crypto_crc_config_dma() 227 i, crc->sg_cpu[i].start_addr, in bfin_crypto_crc_config_dma() 228 crc->sg_cpu[i].cfg, crc->sg_cpu[i].x_count, in bfin_crypto_crc_config_dma() 229 crc->sg_cpu[i].x_modify); in bfin_crypto_crc_config_dma() 251 crc->sg_cpu[i].start_addr = dma_addr; in bfin_crypto_crc_config_dma() 252 crc->sg_cpu[i].cfg = dma_config; in bfin_crypto_crc_config_dma() [all …]
|
/linux-4.1.27/drivers/mmc/host/ |
D | bfin_sdh.c | 67 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 …]
|
D | pxamci.c | 73 struct pxa_dma_desc *sg_cpu; member 217 host->sg_cpu[i].dcmd = dcmd | length; in pxamci_setup_data() 219 host->sg_cpu[i].dcmd |= DCMD_ENDIRQEN; in pxamci_setup_data() 224 host->sg_cpu[i].dsadr = host->res->start + MMC_RXFIFO; in pxamci_setup_data() 225 host->sg_cpu[i].dtadr = sg_dma_address(&data->sg[i]); in pxamci_setup_data() 227 host->sg_cpu[i].dsadr = sg_dma_address(&data->sg[i]); in pxamci_setup_data() 228 host->sg_cpu[i].dtadr = host->res->start + MMC_TXFIFO; in pxamci_setup_data() 230 host->sg_cpu[i].ddadr = host->sg_dma + (i + 1) * in pxamci_setup_data() 233 host->sg_cpu[host->dma_len - 1].ddadr = DDADR_STOP; in pxamci_setup_data() 705 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &host->sg_dma, GFP_KERNEL); in pxamci_probe() [all …]
|
D | sunxi-mmc.c | 242 void *sg_cpu; member 295 struct sunxi_idma_des *pdes = (struct sunxi_idma_des *)host->sg_cpu; in sunxi_mmc_init_idma_des() 1016 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, in sunxi_mmc_probe() 1018 if (!host->sg_cpu) { in sunxi_mmc_probe() 1049 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_probe() 1070 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_remove()
|
D | dw_mmc.c | 473 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_translate_sglist() 517 desc_first = desc_last = desc = host->sg_cpu; in dw_mci_translate_sglist() 599 for (i = 0, p = host->sg_cpu; i < host->ring_size - 1; in dw_mci_idmac_init() 625 for (i = 0, p = host->sg_cpu; i < host->ring_size - 1; i++, p++) { in dw_mci_idmac_init() 848 (unsigned long)host->sg_cpu, (unsigned long)host->sg_dma, in dw_mci_submit_data_dma() 2501 host->sg_cpu = dmam_alloc_coherent(host->dev, PAGE_SIZE, in dw_mci_init_dma() 2503 if (!host->sg_cpu) { in dw_mci_init_dma()
|
/linux-4.1.27/drivers/media/platform/soc_camera/ |
D | pxa_camera.c | 181 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.1.27/include/linux/mmc/ |
D | dw_mmc.h | 154 void *sg_cpu; member
|
/linux-4.1.27/Documentation/video4linux/ |
D | pxa_camera.txt | 102 This structure is pointed by dma->sg_cpu.
|