Home
last modified time | relevance | path

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

/drivers/media/video/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.c378 s->sg_dma->src = cpu_to_le32(s->sg_processing[s->sg_processed].src); in ivtv_dma_enc_start_xfer()
379 s->sg_dma->dst = cpu_to_le32(s->sg_processing[s->sg_processed].dst); in ivtv_dma_enc_start_xfer()
380 s->sg_dma->size = cpu_to_le32(s->sg_processing[s->sg_processed].size | 0x80000000); in ivtv_dma_enc_start_xfer()
394 s->sg_dma->src = cpu_to_le32(s->sg_processing[s->sg_processed].src); in ivtv_dma_dec_start_xfer()
395 s->sg_dma->dst = cpu_to_le32(s->sg_processing[s->sg_processed].dst); in ivtv_dma_dec_start_xfer()
396 s->sg_dma->size = cpu_to_le32(s->sg_processing[s->sg_processed].size | 0x80000000); in ivtv_dma_dec_start_xfer()
Divtv-driver.h370 struct ivtv_sg_element *sg_dma; member
/drivers/staging/media/solo6x10/
Dv4l2.c251 dma_addr_t sg_dma; in solo_fillbuf() local
278 sg_dma = sg_dma_address(sg); in solo_fillbuf()
292 sg_dma = sg_dma_address(sg); in solo_fillbuf()
307 sg_dma = sg_dma_address(sg); in solo_fillbuf()
313 if (disp_push_desc(fh, sg_dma, this_addr, in solo_fillbuf()
319 sg_dma += this_write; in solo_fillbuf()
331 if (disp_push_desc(fh, sg_dma, fdma_addr, line_len, in solo_fillbuf()
337 sg_dma += lines * line_len; in solo_fillbuf()
/drivers/media/video/
Dpxa_camera.c178 dma_addr_t sg_dma; member
287 buf->dmas[i].sg_dma); in free_buffer()
347 pxa_dma->sg_cpu, pxa_dma->sg_dma); in pxa_init_dma_channel()
354 &pxa_dma->sg_dma, GFP_KERNEL); in pxa_init_dma_channel()
362 *sg_first, sglen, *sg_first_ofs, pxa_dma->sg_dma); in pxa_init_dma_channel()
382 pxa_dma->sg_dma + (i + 1) * sizeof(struct pxa_dma_desc); in pxa_init_dma_channel()
385 pxa_dma->sg_dma + i * sizeof(struct pxa_dma_desc), in pxa_init_dma_channel()
538 buf->dmas[1].sg_cpu, buf->dmas[1].sg_dma); in pxa_videobuf_prepare()
541 buf->dmas[0].sg_cpu, buf->dmas[0].sg_dma); in pxa_videobuf_prepare()
566 i, active->dmas[i].sg_dma); in pxa_dma_start_channels()
[all …]
/drivers/mmc/host/
Dbfin_sdh.c69 dma_addr_t sg_dma; member
179 set_dma_curr_desc_addr(host->dma_ch, (unsigned long *)host->sg_dma); in sdh_setup_data()
500 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &host->sg_dma, GFP_KERNEL); in sdh_probe()
540 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sdh_probe()
563 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sdh_remove()
Dpxamci.c69 dma_addr_t sg_dma; member
227 host->sg_cpu[i].ddadr = host->sg_dma + (i + 1) * in pxamci_setup_data()
242 DDADR(host->dma) = host->sg_dma; in pxamci_setup_data()
654 host->sg_cpu = dma_alloc_coherent(&pdev->dev, PAGE_SIZE, &host->sg_dma, GFP_KERNEL); in pxamci_probe()
771 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in pxamci_probe()
823 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in pxamci_remove()
Ddw_mmc.c417 p->des3 = host->sg_dma + (sizeof(struct idmac_desc) * (i + 1)); in dw_mci_idmac_init()
420 p->des3 = host->sg_dma; in dw_mci_idmac_init()
428 mci_writel(host, DBADDR, host->sg_dma); in dw_mci_idmac_init()
538 (unsigned long)host->sg_cpu, (unsigned long)host->sg_dma, in dw_mci_submit_data_dma()
1868 &host->sg_dma, GFP_KERNEL); in dw_mci_init_dma()
2094 host->sg_cpu, host->sg_dma); in dw_mci_probe()
2123 dma_free_coherent(&host->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in dw_mci_remove()
/drivers/scsi/
Daha1740.c340 dma_addr_t sg_dma; in aha1740_queuecommand_lck() local
405 &sg_dma, GFP_ATOMIC); in aha1740_queuecommand_lck()
411 sgptr->sg_dma_addr = sg_dma; in aha1740_queuecommand_lck()
429 host->ecb[ecbno].dataptr = sg_dma; in aha1740_queuecommand_lck()
Dips.c4396 dma_addr_t command_dma, sg_dma; in ips_allocatescbs() local
4409 ha->max_cmds, &sg_dma); in ips_allocatescbs()
4427 sg_dma + IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * i; in ips_allocatescbs()
4432 sg_dma + IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * i; in ips_allocatescbs()