Home
last modified time | relevance | path

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

123

/Linux-v5.15/drivers/crypto/inside-secure/
Dsafexcel_ring.c23 cdr->base = dmam_alloc_coherent(priv->dev, in safexcel_init_ring_descriptors()
34 cdr->shbase = dmam_alloc_coherent(priv->dev, in safexcel_init_ring_descriptors()
60 rdr->base = dmam_alloc_coherent(priv->dev, in safexcel_init_ring_descriptors()
/Linux-v5.15/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.15/drivers/misc/mei/
Ddma-ring.c33 dscr->vaddr = dmam_alloc_coherent(dev->dev, dscr->size, &dscr->daddr, in mei_dmam_dscr_alloc()
/Linux-v5.15/drivers/crypto/caam/
Djr.c447 jrp->inpring = dmam_alloc_coherent(dev, SIZEOF_JR_INPENTRY * in caam_jr_init()
453 jrp->outring = dmam_alloc_coherent(dev, SIZEOF_JR_OUTENTRY * in caam_jr_init()
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_controlq.c95 cq->sq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_sq_ring()
126 cq->rq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_rq_ring()
177 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_rq_bufs()
246 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_sq_bufs()
/Linux-v5.15/drivers/scsi/hisi_sas/
Dhisi_sas_main.c2395 hisi_hba->cmd_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2403 hisi_hba->complete_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2411 hisi_hba->itct = dmam_alloc_coherent(dev, s, &hisi_hba->itct_dma, in hisi_sas_alloc()
2438 buf = dmam_alloc_coherent(dev, s, &buf_dma, in hisi_sas_alloc()
2457 hisi_hba->iost = dmam_alloc_coherent(dev, s, &hisi_hba->iost_dma, in hisi_sas_alloc()
2463 hisi_hba->breakpoint = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2476 hisi_hba->initial_fis = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2483 hisi_hba->sata_breakpoint = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
/Linux-v5.15/drivers/dma/
Dhisi_dma.c349 chan->sq = dmam_alloc_coherent(dev, sq_size, &chan->sq_dma, in hisi_dma_alloc_qps_mem()
354 chan->cq = dmam_alloc_coherent(dev, cq_size, &chan->cq_dma, in hisi_dma_alloc_qps_mem()
/Linux-v5.15/drivers/net/can/peak_canfd/
Dpeak_pciefd_main.c611 priv->rx_dma_vaddr = dmam_alloc_coherent(&pciefd->pci_dev->dev, in pciefd_can_probe()
623 priv->tx_dma_vaddr = dmam_alloc_coherent(&pciefd->pci_dev->dev, in pciefd_can_probe()
/Linux-v5.15/drivers/ata/
Dsata_inic162x.c712 pp->pkt = dmam_alloc_coherent(dev, sizeof(struct inic_pkt), in inic_port_start()
717 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.c478 pp->pkt = dmam_alloc_coherent(dev, QS_PKT_BYTES, &pp->pkt_dma, in qs_port_start()
Dpdc_adma.c544 pp->pkt = dmam_alloc_coherent(dev, ADMA_PKT_BYTES, &pp->pkt_dma, in adma_port_start()
/Linux-v5.15/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.15/drivers/crypto/
Dsahara.c1406 dev->hw_desc[0] = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
1418 dev->key_base = dmam_alloc_coherent(&pdev->dev, 2 * AES_KEYSIZE_128, in sahara_probe()
1428 dev->context_base = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
1437 dev->hw_link[0] = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
/Linux-v5.15/sound/soc/intel/catpt/
Ddevice.c279 cdev->dxbuf_vaddr = dmam_alloc_coherent(dev, catpt_dram_size(cdev), in catpt_acpi_probe()
/Linux-v5.15/drivers/scsi/isci/
Dhost.c2255 ihost->completion_queue = dmam_alloc_coherent(dev, size, &ihost->cq_dma, in sci_controller_dma_alloc()
2261 ihost->remote_node_context_table = dmam_alloc_coherent(dev, size, &ihost->rnc_dma, in sci_controller_dma_alloc()
2268 ihost->task_context_table = dmam_alloc_coherent(dev, size, &ihost->tc_dma, in sci_controller_dma_alloc()
2274 ihost->ufi_buf = dmam_alloc_coherent(dev, size, &ihost->ufi_dma, GFP_KERNEL); in sci_controller_dma_alloc()
2282 ireq = dmam_alloc_coherent(dev, sizeof(*ireq), &dma, GFP_KERNEL); in sci_controller_dma_alloc()
/Linux-v5.15/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()
/Linux-v5.15/sound/soc/sprd/
Dsprd-pcm-dma.c86 data->virt = dmam_alloc_coherent(dev, size, &data->phys, in sprd_pcm_open()
/Linux-v5.15/drivers/iommu/arm/arm-smmu-v3/
Darm-smmu-v3.c987 l1_desc->l2ptr = dmam_alloc_coherent(smmu->dev, size, in arm_smmu_alloc_cd_leaf_table()
1144 cdcfg->cdtab = dmam_alloc_coherent(smmu->dev, l1size, &cdcfg->cdtab_dma, in arm_smmu_alloc_cd_tables()
1401 desc->l2ptr = dmam_alloc_coherent(smmu->dev, size, &desc->l2ptr_dma, in arm_smmu_init_l2_strtab()
2875 q->base = dmam_alloc_coherent(smmu->dev, qsz, &q->base_dma, in arm_smmu_init_one_queue()
3011 strtab = dmam_alloc_coherent(smmu->dev, l1size, &cfg->strtab_dma, in arm_smmu_init_strtab_2lvl()
3038 strtab = dmam_alloc_coherent(smmu->dev, size, &cfg->strtab_dma, in arm_smmu_init_strtab_linear()
/Linux-v5.15/drivers/net/ethernet/mediatek/
Dmtk_ppe.c381 foe = dmam_alloc_coherent(ppe->dev, MTK_PPE_ENTRIES * sizeof(*foe), in mtk_ppe_init()
/Linux-v5.15/drivers/mmc/host/
Dmmci_stm32_sdmmc.c131 idma->sg_cpu = dmam_alloc_coherent(dev, SDMMC_LLI_BUF_LEN, in sdmmc_idma_setup()
Dcqhci-core.c215 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
222 cq_host->trans_desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
/Linux-v5.15/drivers/mtd/spi-nor/controllers/
Dhisi-sfc.c455 host->buffer = dmam_alloc_coherent(dev, HIFMC_DMA_MAX_LEN, in hisi_spi_nor_probe()
/Linux-v5.15/drivers/firmware/
Dturris-mox-rwtm.c482 rwtm->buf = dmam_alloc_coherent(dev, PAGE_SIZE, &rwtm->buf_phys, in turris_mox_rwtm_probe()

123