Home
last modified time | relevance | path

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

/Linux-v4.19/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.h373 struct ivtv_sg_element *sg_dma; member
/Linux-v4.19/drivers/scsi/
Daha1740.c322 dma_addr_t sg_dma; in aha1740_queuecommand_lck() local
387 &sg_dma, GFP_ATOMIC); in aha1740_queuecommand_lck()
393 sgptr->sg_dma_addr = sg_dma; in aha1740_queuecommand_lck()
411 host->ecb[ecbno].dataptr = sg_dma; in aha1740_queuecommand_lck()
Dips.c4305 dma_addr_t command_dma, sg_dma; in ips_allocatescbs() local
4318 ha->max_cmds, &sg_dma); in ips_allocatescbs()
4336 sg_dma + IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * i; in ips_allocatescbs()
4341 sg_dma + IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * i; in ips_allocatescbs()
/Linux-v4.19/drivers/mmc/host/
Dsunxi-mmc.c290 dma_addr_t sg_dma; member
347 mmc_writel(host, REG_DLBA, host->sg_dma); in sunxi_mmc_init_host()
362 dma_addr_t next_desc = host->sg_dma; in sunxi_mmc_init_idma_des()
1347 &host->sg_dma, GFP_KERNEL); in sunxi_mmc_probe()
1417 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_probe()
1432 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_remove()
Ddw_mmc.c535 p->des6 = (host->sg_dma + in dw_mci_idmac_init()
539 p->des7 = (u64)(host->sg_dma + in dw_mci_idmac_init()
550 p->des6 = host->sg_dma & 0xffffffff; in dw_mci_idmac_init()
551 p->des7 = (u64)host->sg_dma >> 32; in dw_mci_idmac_init()
564 p->des3 = cpu_to_le32(host->sg_dma + in dw_mci_idmac_init()
571 p->des3 = cpu_to_le32(host->sg_dma); in dw_mci_idmac_init()
584 mci_writel(host, DBADDRL, host->sg_dma & 0xffffffff); in dw_mci_idmac_init()
585 mci_writel(host, DBADDRU, (u64)host->sg_dma >> 32); in dw_mci_idmac_init()
594 mci_writel(host, DBADDR, host->sg_dma); in dw_mci_idmac_init()
1124 (unsigned long)host->sg_dma, in dw_mci_submit_data_dma()
[all …]
Ddw_mmc.h182 dma_addr_t sg_dma; member