/kernel/linux/linux-5.10/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.c | 210 s->sg_dma = kzalloc(sizeof(struct ivtv_sg_element), in ivtv_stream_alloc() 212 if (s->sg_dma == NULL) { in ivtv_stream_alloc() 213 IVTV_ERR("Could not allocate sg_dma for %s stream\n", s->name); in ivtv_stream_alloc() 221 s->sg_handle = pci_map_single(itv->pdev, s->sg_dma, in ivtv_stream_alloc() 270 if (s->sg_dma != NULL) { in ivtv_stream_free() 278 kfree(s->sg_dma); in ivtv_stream_free() 281 s->sg_dma = NULL; in ivtv_stream_free()
|
H A D | ivtv-irq.c | 418 s->sg_dma->src = cpu_to_le32(s->sg_processing[s->sg_processed].src); in ivtv_dma_enc_start_xfer() 419 s->sg_dma->dst = cpu_to_le32(s->sg_processing[s->sg_processed].dst); in ivtv_dma_enc_start_xfer() 420 s->sg_dma->size = cpu_to_le32(s->sg_processing[s->sg_processed].size | 0x80000000); in ivtv_dma_enc_start_xfer() 434 s->sg_dma->src = cpu_to_le32(s->sg_processing[s->sg_processed].src); in ivtv_dma_dec_start_xfer() 435 s->sg_dma->dst = cpu_to_le32(s->sg_processing[s->sg_processed].dst); in ivtv_dma_dec_start_xfer() 436 s->sg_dma->size = cpu_to_le32(s->sg_processing[s->sg_processed].size | 0x80000000); in ivtv_dma_dec_start_xfer()
|
H A D | ivtv-driver.h | 371 struct ivtv_sg_element *sg_dma; member
|
/kernel/linux/linux-6.6/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.c | 210 s->sg_dma = kzalloc(sizeof(struct ivtv_sg_element), in ivtv_stream_alloc() 212 if (s->sg_dma == NULL) { in ivtv_stream_alloc() 213 IVTV_ERR("Could not allocate sg_dma for %s stream\n", s->name); in ivtv_stream_alloc() 221 s->sg_handle = dma_map_single(&itv->pdev->dev, s->sg_dma, in ivtv_stream_alloc() 271 if (s->sg_dma != NULL) { in ivtv_stream_free() 280 kfree(s->sg_dma); in ivtv_stream_free() 283 s->sg_dma = NULL; in ivtv_stream_free()
|
H A D | ivtv-irq.c | 418 s->sg_dma->src = cpu_to_le32(s->sg_processing[s->sg_processed].src); in ivtv_dma_enc_start_xfer() 419 s->sg_dma->dst = cpu_to_le32(s->sg_processing[s->sg_processed].dst); in ivtv_dma_enc_start_xfer() 420 s->sg_dma->size = cpu_to_le32(s->sg_processing[s->sg_processed].size | 0x80000000); in ivtv_dma_enc_start_xfer() 434 s->sg_dma->src = cpu_to_le32(s->sg_processing[s->sg_processed].src); in ivtv_dma_dec_start_xfer() 435 s->sg_dma->dst = cpu_to_le32(s->sg_processing[s->sg_processed].dst); in ivtv_dma_dec_start_xfer() 436 s->sg_dma->size = cpu_to_le32(s->sg_processing[s->sg_processed].size | 0x80000000); in ivtv_dma_dec_start_xfer()
|
H A D | ivtv-driver.h | 369 struct ivtv_sg_element *sg_dma; member
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | aha1740.c | 322 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()
|
H A D | ips.c | 4305 dma_addr_t command_dma, sg_dma; in ips_allocatescbs() local 4317 &sg_dma, GFP_KERNEL); in ips_allocatescbs() 4335 sg_dma + IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * i; in ips_allocatescbs() 4340 sg_dma + IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * i; in ips_allocatescbs()
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | aha1740.c | 330 dma_addr_t sg_dma; in aha1740_queuecommand_lck() local 395 &sg_dma, GFP_ATOMIC); in aha1740_queuecommand_lck() 401 sgptr->sg_dma_addr = sg_dma; in aha1740_queuecommand_lck() 419 host->ecb[ecbno].dataptr = sg_dma; in aha1740_queuecommand_lck()
|
H A D | ips.c | 4308 dma_addr_t command_dma, sg_dma; in ips_allocatescbs() local 4320 &sg_dma, GFP_KERNEL); in ips_allocatescbs() 4338 sg_dma + IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * i; in ips_allocatescbs() 4343 sg_dma + IPS_SGLIST_SIZE(ha) * IPS_MAX_SG * i; in ips_allocatescbs()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | mmci_stm32_sdmmc.c | 44 dma_addr_t sg_dma; member 132 &idma->sg_dma, GFP_KERNEL); in sdmmc_idma_setup() 177 writel_relaxed(idma->sg_dma, host->base + MMCI_STM32_IDMABAR); in sdmmc_idma_start()
|
H A D | sunxi-mmc.c | 289 dma_addr_t sg_dma; member 346 mmc_writel(host, REG_DLBA, host->sg_dma); in sunxi_mmc_init_host() 361 dma_addr_t next_desc = host->sg_dma; in sunxi_mmc_init_idma_des() 1356 &host->sg_dma, GFP_KERNEL); in sunxi_mmc_probe() 1450 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_probe() 1467 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_remove()
|
H A D | dw_mmc.c | 509 p->des6 = (host->sg_dma + in dw_mci_idmac_init() 513 p->des7 = (u64)(host->sg_dma + in dw_mci_idmac_init() 524 p->des6 = host->sg_dma & 0xffffffff; in dw_mci_idmac_init() 525 p->des7 = (u64)host->sg_dma >> 32; in dw_mci_idmac_init() 538 p->des3 = cpu_to_le32(host->sg_dma + in dw_mci_idmac_init() 545 p->des3 = cpu_to_le32(host->sg_dma); in dw_mci_idmac_init() 558 mci_writel(host, DBADDRL, host->sg_dma & 0xffffffff); in dw_mci_idmac_init() 559 mci_writel(host, DBADDRU, (u64)host->sg_dma >> 32); in dw_mci_idmac_init() 568 mci_writel(host, DBADDR, host->sg_dma); in dw_mci_idmac_init() 1099 "sd sg_cpu: %#lx sg_dma in dw_mci_submit_data_dma() [all...] |
H A D | dw_mmc.h | 76 * @sg_dma: Bus address of DMA buffer. 178 dma_addr_t sg_dma; member
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | sunxi-mmc.c | 291 dma_addr_t sg_dma; member 348 mmc_writel(host, REG_DLBA, host->sg_dma >> host->cfg->idma_des_shift); in sunxi_mmc_init_host() 363 dma_addr_t next_desc = host->sg_dma; in sunxi_mmc_init_idma_des() 1389 &host->sg_dma, GFP_KERNEL); in sunxi_mmc_probe() 1483 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_probe() 1500 dma_free_coherent(&pdev->dev, PAGE_SIZE, host->sg_cpu, host->sg_dma); in sunxi_mmc_remove()
|
H A D | mmci_stm32_sdmmc.c | 57 dma_addr_t sg_dma; member 201 &idma->sg_dma, GFP_KERNEL); in sdmmc_idma_setup() 258 writel_relaxed(idma->sg_dma, host->base + MMCI_STM32_IDMABAR); in sdmmc_idma_start()
|
H A D | dw_mmc.c | 514 p->des6 = (host->sg_dma + in dw_mci_idmac_init() 518 p->des7 = (u64)(host->sg_dma + in dw_mci_idmac_init() 529 p->des6 = host->sg_dma & 0xffffffff; in dw_mci_idmac_init() 530 p->des7 = (u64)host->sg_dma >> 32; in dw_mci_idmac_init() 543 p->des3 = cpu_to_le32(host->sg_dma + in dw_mci_idmac_init() 550 p->des3 = cpu_to_le32(host->sg_dma); in dw_mci_idmac_init() 563 mci_writel(host, DBADDRL, host->sg_dma & 0xffffffff); in dw_mci_idmac_init() 564 mci_writel(host, DBADDRU, (u64)host->sg_dma >> 32); in dw_mci_idmac_init() 573 mci_writel(host, DBADDR, host->sg_dma); in dw_mci_idmac_init() 1104 "sd sg_cpu: %#lx sg_dma in dw_mci_submit_data_dma() [all...] |
H A D | dw_mmc.h | 78 * @sg_dma: Bus address of DMA buffer. 182 dma_addr_t sg_dma; member
|