Home
last modified time | relevance | path

Searched refs:dmam_alloc_coherent (Results 1 – 25 of 62) sorted by relevance

123

/Linux-v5.4/Documentation/driver-api/driver-model/
Ddevres.rst60 dmam_alloc_coherent(). It is identical to dma_alloc_coherent() except
78 dmam_alloc_coherent(dev, size, dma_handle, gfp)
99 If a driver uses dmam_alloc_coherent(), the area is guaranteed to be
113 d->ring = dmam_alloc_coherent(...);
259 dmam_alloc_coherent()
/Linux-v5.4/drivers/crypto/inside-secure/
Dsafexcel_ring.c18 cdr->base = dmam_alloc_coherent(priv->dev, in safexcel_init_ring_descriptors()
28 rdr->base = dmam_alloc_coherent(priv->dev, in safexcel_init_ring_descriptors()
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_controlq.c80 cq->sq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_sq_ring()
111 cq->rq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_rq_ring()
162 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_rq_bufs()
229 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_sq_bufs()
/Linux-v5.4/drivers/crypto/caam/
Djr.c436 jrp->inpring = dmam_alloc_coherent(dev, SIZEOF_JR_INPENTRY * in caam_jr_init()
442 jrp->outring = dmam_alloc_coherent(dev, SIZEOF_JR_OUTENTRY * in caam_jr_init()
/Linux-v5.4/drivers/misc/mei/
Ddma-ring.c33 dscr->vaddr = dmam_alloc_coherent(dev->dev, dscr->size, &dscr->daddr, in mei_dmam_dscr_alloc()
/Linux-v5.4/drivers/net/can/peak_canfd/
Dpeak_pciefd_main.c615 priv->rx_dma_vaddr = dmam_alloc_coherent(&pciefd->pci_dev->dev, in pciefd_can_probe()
627 priv->tx_dma_vaddr = dmam_alloc_coherent(&pciefd->pci_dev->dev, in pciefd_can_probe()
/Linux-v5.4/drivers/mmc/host/
Dmmci_stm32_sdmmc.c104 idma->sg_cpu = dmam_alloc_coherent(mmc_dev(host->mmc), in sdmmc_idma_setup()
Dcqhci.c208 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
215 cq_host->trans_desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
/Linux-v5.4/drivers/staging/goldfish/
Dgoldfish_audio.c307 data->buffer_virt = dmam_alloc_coherent(&pdev->dev, in goldfish_audio_probe()
/Linux-v5.4/drivers/ata/
Dsata_inic162x.c710 pp->pkt = dmam_alloc_coherent(dev, sizeof(struct inic_pkt), in inic_port_start()
715 pp->cpb_tbl = dmam_alloc_coherent(dev, IDMA_CPB_TBL_SIZE, in inic_port_start()
Dacard-ahci.c313 mem = dmam_alloc_coherent(dev, dma_sz, &mem_dma, GFP_KERNEL); in acard_ahci_port_start()
Dsata_qstor.c476 pp->pkt = dmam_alloc_coherent(dev, QS_PKT_BYTES, &pp->pkt_dma, in qs_port_start()
Dpdc_adma.c543 pp->pkt = dmam_alloc_coherent(dev, ADMA_PKT_BYTES, &pp->pkt_dma, in adma_port_start()
/Linux-v5.4/drivers/dma/qcom/
Dhidma_ll.c747 lldev->tre_ring = dmam_alloc_coherent(dev, sz, &lldev->tre_dma, in hidma_ll_init()
766 lldev->evre_ring = dmam_alloc_coherent(dev, sz, &lldev->evre_dma, in hidma_ll_init()
/Linux-v5.4/drivers/crypto/
Dsahara.c1430 dev->hw_desc[0] = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
1442 dev->key_base = dmam_alloc_coherent(&pdev->dev, 2 * AES_KEYSIZE_128, in sahara_probe()
1452 dev->context_base = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
1461 dev->hw_link[0] = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
/Linux-v5.4/drivers/scsi/isci/
Dhost.c2257 ihost->completion_queue = dmam_alloc_coherent(dev, size, &ihost->cq_dma, in sci_controller_dma_alloc()
2263 ihost->remote_node_context_table = dmam_alloc_coherent(dev, size, &ihost->rnc_dma, in sci_controller_dma_alloc()
2270 ihost->task_context_table = dmam_alloc_coherent(dev, size, &ihost->tc_dma, in sci_controller_dma_alloc()
2276 ihost->ufi_buf = dmam_alloc_coherent(dev, size, &ihost->ufi_dma, GFP_KERNEL); in sci_controller_dma_alloc()
2284 ireq = dmam_alloc_coherent(dev, sizeof(*ireq), &dma, GFP_KERNEL); in sci_controller_dma_alloc()
/Linux-v5.4/drivers/firmware/
Dturris-mox-rwtm.c293 rwtm->buf = dmam_alloc_coherent(dev, PAGE_SIZE, &rwtm->buf_phys, in turris_mox_rwtm_probe()
/Linux-v5.4/drivers/scsi/hisi_sas/
Dhisi_sas_main.c2334 hisi_hba->cmd_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2342 hisi_hba->complete_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2350 hisi_hba->itct = dmam_alloc_coherent(dev, s, &hisi_hba->itct_dma, in hisi_sas_alloc()
2377 buf = dmam_alloc_coherent(dev, s, &buf_dma, in hisi_sas_alloc()
2396 hisi_hba->iost = dmam_alloc_coherent(dev, s, &hisi_hba->iost_dma, in hisi_sas_alloc()
2402 hisi_hba->breakpoint = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2415 hisi_hba->initial_fis = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2422 hisi_hba->sata_breakpoint = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
/Linux-v5.4/drivers/video/fbdev/
Dwm8505fb.c329 fb_mem_virt = dmam_alloc_coherent(&pdev->dev, fb_mem_len, &fb_mem_phys, in wm8505fb_probe()
Dau1100fb.c461 fbdev->fb_mem = dmam_alloc_coherent(&dev->dev, in au1100fb_drv_probe()
Dda8xx-fb.c1426 par->vram_virt = dmam_alloc_coherent(par->dev, in fb_probe()
1447 par->v_palette_base = dmam_alloc_coherent(par->dev, PALETTE_SIZE, in fb_probe()
/Linux-v5.4/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_2835_arm.c107 slot_mem = dmam_alloc_coherent(dev, slot_mem_size + frag_mem_size, in vchiq_platform_init()
/Linux-v5.4/drivers/mtd/spi-nor/
Dhisi-sfc.c450 host->buffer = dmam_alloc_coherent(dev, HIFMC_DMA_MAX_LEN, in hisi_spi_nor_probe()
/Linux-v5.4/drivers/iommu/
Darm-smmu-v3.c1677 desc->l2ptr = dmam_alloc_coherent(smmu->dev, size, &desc->l2ptr_dma, in arm_smmu_init_l2_strtab()
2163 cfg->cdptr = dmam_alloc_coherent(smmu->dev, CTXDESC_CD_DWORDS << 3, in arm_smmu_domain_finalise_s1()
2754 q->base = dmam_alloc_coherent(smmu->dev, qsz, &q->base_dma, in arm_smmu_init_one_queue()
2885 strtab = dmam_alloc_coherent(smmu->dev, l1size, &cfg->strtab_dma, in arm_smmu_init_strtab_2lvl()
2912 strtab = dmam_alloc_coherent(smmu->dev, size, &cfg->strtab_dma, in arm_smmu_init_strtab_linear()
/Linux-v5.4/sound/soc/sprd/
Dsprd-pcm-dma.c88 data->virt = dmam_alloc_coherent(dev, size, &data->phys, in sprd_pcm_open()

123