Home
last modified time | relevance | path

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

/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.c428 s->sg_dma->src = cpu_to_le32(s->sg_processing[s->sg_processed].src); in ivtv_dma_enc_start_xfer()
429 s->sg_dma->dst = cpu_to_le32(s->sg_processing[s->sg_processed].dst); in ivtv_dma_enc_start_xfer()
430 s->sg_dma->size = cpu_to_le32(s->sg_processing[s->sg_processed].size | 0x80000000); in ivtv_dma_enc_start_xfer()
444 s->sg_dma->src = cpu_to_le32(s->sg_processing[s->sg_processed].src); in ivtv_dma_dec_start_xfer()
445 s->sg_dma->dst = cpu_to_le32(s->sg_processing[s->sg_processed].dst); in ivtv_dma_dec_start_xfer()
446 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
/drivers/media/platform/soc_camera/
Dpxa_camera.c179 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 …]
/drivers/mmc/host/
Dpxamci.c72 dma_addr_t sg_dma; member
230 host->sg_cpu[i].ddadr = host->sg_dma + (i + 1) * in pxamci_setup_data()
245 DDADR(host->dma) = host->sg_dma; in pxamci_setup_data()
705 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &host->sg_dma, GFP_KERNEL); in pxamci_probe()
822 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in pxamci_probe()
874 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in pxamci_remove()
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()
582 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &host->sg_dma, GFP_KERNEL); in sdh_probe()
611 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sdh_probe()
634 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sdh_remove()
Ddw_mmc.c427 p->des3 = host->sg_dma + (sizeof(struct idmac_desc) * (i + 1)); in dw_mci_idmac_init()
430 p->des3 = host->sg_dma; in dw_mci_idmac_init()
440 mci_writel(host, DBADDR, host->sg_dma); in dw_mci_idmac_init()
550 (unsigned long)host->sg_cpu, (unsigned long)host->sg_dma, in dw_mci_submit_data_dma()
2048 &host->sg_dma, GFP_KERNEL); in dw_mci_init_dma()
/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.c4324 dma_addr_t command_dma, sg_dma; in ips_allocatescbs() local
4337 ha->max_cmds, &sg_dma); in ips_allocatescbs()
4355 sg_dma + IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * i; in ips_allocatescbs()
4360 sg_dma + IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * i; in ips_allocatescbs()
/drivers/crypto/
Dbfin_crc.c61 dma_addr_t sg_dma; /* phy addr of sg dma descriptors */ member
295 set_dma_curr_desc_addr(crc->dma_ch, (unsigned long *)crc->sg_dma); in bfin_crypto_crc_config_dma()
651 crc->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &crc->sg_dma, GFP_KERNEL); in bfin_crypto_crc_probe()
694 dma_free_coherent(&pdev->dev, PAGE_SIZE, crc->sg_cpu, crc->sg_dma); in bfin_crypto_crc_probe()