Home
last modified time | relevance | path

Searched refs:sg_dma (Results 1 – 12 of 12) sorted by relevance

/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-queue.c222 s->sg_dma = kzalloc(sizeof(struct ivtv_sg_element), in ivtv_stream_alloc()
224 if (s->sg_dma == NULL) { in ivtv_stream_alloc()
233 s->sg_handle = pci_map_single(itv->pdev, s->sg_dma, in ivtv_stream_alloc()
282 if (s->sg_dma != NULL) { in ivtv_stream_free()
290 kfree(s->sg_dma); in ivtv_stream_free()
293 s->sg_dma = NULL; in ivtv_stream_free()
Divtv-irq.c430 s->sg_dma->src = cpu_to_le32(s->sg_processing[s->sg_processed].src); in ivtv_dma_enc_start_xfer()
431 s->sg_dma->dst = cpu_to_le32(s->sg_processing[s->sg_processed].dst); in ivtv_dma_enc_start_xfer()
432 s->sg_dma->size = cpu_to_le32(s->sg_processing[s->sg_processed].size | 0x80000000); in ivtv_dma_enc_start_xfer()
446 s->sg_dma->src = cpu_to_le32(s->sg_processing[s->sg_processed].src); in ivtv_dma_dec_start_xfer()
447 s->sg_dma->dst = cpu_to_le32(s->sg_processing[s->sg_processed].dst); in ivtv_dma_dec_start_xfer()
448 s->sg_dma->size = cpu_to_le32(s->sg_processing[s->sg_processed].size | 0x80000000); in ivtv_dma_dec_start_xfer()
Divtv-driver.h371 struct ivtv_sg_element *sg_dma; member
/linux-4.4.14/drivers/mmc/host/
Dbfin_sdh.c68 dma_addr_t sg_dma; member
188 set_dma_curr_desc_addr(host->dma_ch, (unsigned long *)host->sg_dma); in sdh_setup_data()
581 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &host->sg_dma, GFP_KERNEL); in sdh_probe()
610 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sdh_probe()
631 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sdh_remove()
Dsunxi-mmc.c252 dma_addr_t sg_dma; member
293 mmc_writel(host, REG_DLBA, host->sg_dma); in sunxi_mmc_init_host()
307 dma_addr_t next_desc = host->sg_dma; in sunxi_mmc_init_idma_des()
1050 &host->sg_dma, GFP_KERNEL); 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.c614 p->des6 = (host->sg_dma + in dw_mci_idmac_init()
618 p->des7 = (u64)(host->sg_dma + in dw_mci_idmac_init()
628 p->des6 = host->sg_dma & 0xffffffff; in dw_mci_idmac_init()
629 p->des7 = (u64)host->sg_dma >> 32; in dw_mci_idmac_init()
641 p->des3 = cpu_to_le32(host->sg_dma + in dw_mci_idmac_init()
647 p->des3 = cpu_to_le32(host->sg_dma); in dw_mci_idmac_init()
660 mci_writel(host, DBADDRL, host->sg_dma & 0xffffffff); in dw_mci_idmac_init()
661 mci_writel(host, DBADDRU, (u64)host->sg_dma >> 32); in dw_mci_idmac_init()
670 mci_writel(host, DBADDR, host->sg_dma); in dw_mci_idmac_init()
967 (unsigned long)host->sg_dma, in dw_mci_submit_data_dma()
[all …]
Dpxamci.c76 dma_addr_t sg_dma; member
/linux-4.4.14/drivers/media/platform/soc_camera/
Dpxa_camera.c180 dma_addr_t sg_dma; member
283 buf->dmas[i].sg_dma); in free_buffer()
343 pxa_dma->sg_cpu, pxa_dma->sg_dma); in pxa_init_dma_channel()
350 &pxa_dma->sg_dma, GFP_KERNEL); in pxa_init_dma_channel()
358 *sg_first, sglen, *sg_first_ofs, pxa_dma->sg_dma); in pxa_init_dma_channel()
378 pxa_dma->sg_dma + (i + 1) * sizeof(struct pxa_dma_desc); in pxa_init_dma_channel()
381 pxa_dma->sg_dma + i * sizeof(struct pxa_dma_desc), in pxa_init_dma_channel()
529 buf->dmas[1].sg_cpu, buf->dmas[1].sg_dma); in pxa_videobuf_prepare()
532 buf->dmas[0].sg_cpu, buf->dmas[0].sg_dma); in pxa_videobuf_prepare()
557 i, active->dmas[i].sg_dma); in pxa_dma_start_channels()
[all …]
/linux-4.4.14/drivers/crypto/
Dbfin_crc.c62 dma_addr_t sg_dma; /* phy addr of sg dma descriptors */ member
273 set_dma_curr_desc_addr(crc->dma_ch, (unsigned long *)crc->sg_dma); in bfin_crypto_crc_config_dma()
628 crc->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &crc->sg_dma, GFP_KERNEL); in bfin_crypto_crc_probe()
638 crc->sg_mid_dma = crc->sg_dma + sizeof(struct dma_desc_array) in bfin_crypto_crc_probe()
672 dma_free_coherent(&pdev->dev, PAGE_SIZE, crc->sg_cpu, crc->sg_dma); in bfin_crypto_crc_probe()
/linux-4.4.14/drivers/scsi/
Daha1740.c321 dma_addr_t sg_dma; in aha1740_queuecommand_lck() local
386 &sg_dma, GFP_ATOMIC); in aha1740_queuecommand_lck()
392 sgptr->sg_dma_addr = sg_dma; in aha1740_queuecommand_lck()
410 host->ecb[ecbno].dataptr = sg_dma; in aha1740_queuecommand_lck()
Dips.c4320 dma_addr_t command_dma, sg_dma; in ips_allocatescbs() local
4333 ha->max_cmds, &sg_dma); in ips_allocatescbs()
4351 sg_dma + IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * i; in ips_allocatescbs()
4356 sg_dma + IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * i; in ips_allocatescbs()
/linux-4.4.14/include/linux/mmc/
Ddw_mmc.h166 dma_addr_t sg_dma; member