/drivers/media/video/ivtv/ |
D | ivtv-queue.c | 222 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()
|
D | ivtv-irq.c | 378 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()
|
D | ivtv-driver.h | 370 struct ivtv_sg_element *sg_dma; member
|
/drivers/staging/media/solo6x10/ |
D | v4l2.c | 251 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/ |
D | pxa_camera.c | 178 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/ |
D | bfin_sdh.c | 69 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()
|
D | pxamci.c | 69 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()
|
D | dw_mmc.c | 417 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/ |
D | aha1740.c | 340 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()
|
D | ips.c | 4396 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()
|