Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/drivers/crypto/inside-secure/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/driver-api/driver-model/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ice/
H A Dice_controlq.c82 cq->sq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_sq_ring()
113 cq->rq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_rq_ring()
164 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_rq_bufs()
233 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_sq_bufs()
/OK3568_Linux_fs/kernel/drivers/crypto/caam/
H A 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()
/OK3568_Linux_fs/kernel/drivers/misc/mei/
H A Ddma-ring.c33 dscr->vaddr = dmam_alloc_coherent(dev->dev, dscr->size, &dscr->daddr, in mei_dmam_dscr_alloc()
/OK3568_Linux_fs/kernel/drivers/net/can/peak_canfd/
H A Dpeak_pciefd_main.c612 priv->rx_dma_vaddr = dmam_alloc_coherent(&pciefd->pci_dev->dev, in pciefd_can_probe()
624 priv->tx_dma_vaddr = dmam_alloc_coherent(&pciefd->pci_dev->dev, in pciefd_can_probe()
/OK3568_Linux_fs/kernel/drivers/dma/
H A Dhisi_dma.c357 chan->sq = dmam_alloc_coherent(dev, sq_size, &chan->sq_dma, in hisi_dma_alloc_qps_mem()
362 chan->cq = dmam_alloc_coherent(dev, cq_size, &chan->cq_dma, in hisi_dma_alloc_qps_mem()
/OK3568_Linux_fs/kernel/drivers/crypto/
H A Dsahara.c1411 dev->hw_desc[0] = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
1423 dev->key_base = dmam_alloc_coherent(&pdev->dev, 2 * AES_KEYSIZE_128, in sahara_probe()
1433 dev->context_base = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
1442 dev->hw_link[0] = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
/OK3568_Linux_fs/kernel/drivers/dma/qcom/
H A 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()
/OK3568_Linux_fs/kernel/drivers/i2c/busses/
H A Di2c-ismt.c780 priv->hw = dmam_alloc_coherent(&priv->pci_dev->dev, in ismt_dev_init()
791 priv->log = dmam_alloc_coherent(&priv->pci_dev->dev, in ismt_dev_init()
/OK3568_Linux_fs/kernel/drivers/ata/
H A 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()
H A Dacard-ahci.c313 mem = dmam_alloc_coherent(dev, dma_sz, &mem_dma, GFP_KERNEL); in acard_ahci_port_start()
/OK3568_Linux_fs/kernel/drivers/staging/goldfish/
H A Dgoldfish_audio.c307 data->buffer_virt = dmam_alloc_coherent(&pdev->dev, in goldfish_audio_probe()
/OK3568_Linux_fs/kernel/drivers/scsi/isci/
H A 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()
/OK3568_Linux_fs/kernel/sound/soc/intel/catpt/
H A Ddevice.c267 cdev->dxbuf_vaddr = dmam_alloc_coherent(dev, catpt_dram_size(cdev), in catpt_acpi_probe()
/OK3568_Linux_fs/kernel/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c2350 hisi_hba->cmd_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2358 hisi_hba->complete_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2366 hisi_hba->itct = dmam_alloc_coherent(dev, s, &hisi_hba->itct_dma, in hisi_sas_alloc()
2393 buf = dmam_alloc_coherent(dev, s, &buf_dma, in hisi_sas_alloc()
2412 hisi_hba->iost = dmam_alloc_coherent(dev, s, &hisi_hba->iost_dma, in hisi_sas_alloc()
2418 hisi_hba->breakpoint = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2431 hisi_hba->initial_fis = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2438 hisi_hba->sata_breakpoint = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
/OK3568_Linux_fs/kernel/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c929 l1_desc->l2ptr = dmam_alloc_coherent(smmu->dev, size, in arm_smmu_alloc_cd_leaf_table()
1084 cdcfg->cdtab = dmam_alloc_coherent(smmu->dev, l1size, &cdcfg->cdtab_dma, in arm_smmu_alloc_cd_tables()
1339 desc->l2ptr = dmam_alloc_coherent(smmu->dev, size, &desc->l2ptr_dma, in arm_smmu_init_l2_strtab()
2600 q->base = dmam_alloc_coherent(smmu->dev, qsz, &q->base_dma, in arm_smmu_init_one_queue()
2731 strtab = dmam_alloc_coherent(smmu->dev, l1size, &cfg->strtab_dma, in arm_smmu_init_strtab_2lvl()
2758 strtab = dmam_alloc_coherent(smmu->dev, size, &cfg->strtab_dma, in arm_smmu_init_strtab_linear()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/ingenic/
H A Dingenic-drm-drv.c808 priv->dma_hwdesc_f1 = dmam_alloc_coherent(dev, sizeof(*priv->dma_hwdesc_f1), in ingenic_drm_bind()
818 priv->dma_hwdesc_f0 = dmam_alloc_coherent(dev, in ingenic_drm_bind()
/OK3568_Linux_fs/kernel/drivers/staging/vc04_services/interface/vchiq_arm/
H A Dvchiq_2835_arm.c107 slot_mem = dmam_alloc_coherent(dev, slot_mem_size + frag_mem_size, in vchiq_platform_init()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/
H A Dwm8505fb.c329 fb_mem_virt = dmam_alloc_coherent(&pdev->dev, fb_mem_len, &fb_mem_phys, in wm8505fb_probe()
H A Dau1100fb.c461 fbdev->fb_mem = dmam_alloc_coherent(&dev->dev, in au1100fb_drv_probe()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dcqhci-core.c210 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
217 cq_host->trans_desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
H A Dmmci_stm32_sdmmc.c131 idma->sg_cpu = dmam_alloc_coherent(dev, SDMMC_LLI_BUF_LEN, in sdmmc_idma_setup()
/OK3568_Linux_fs/kernel/drivers/mtd/spi-nor/controllers/
H A Dhisi-sfc.c455 host->buffer = dmam_alloc_coherent(dev, HIFMC_DMA_MAX_LEN, in hisi_spi_nor_probe()
/OK3568_Linux_fs/kernel/drivers/firmware/
H A Dturris-mox-rwtm.c482 rwtm->buf = dmam_alloc_coherent(dev, PAGE_SIZE, &rwtm->buf_phys, in turris_mox_rwtm_probe()

123