Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/crypto/aspeed/
H A Daspeed-hace.c188 dmam_alloc_coherent(&pdev->dev, in aspeed_hace_probe()
200 dmam_alloc_coherent(&pdev->dev, in aspeed_hace_probe()
212 dmam_alloc_coherent(&pdev->dev, in aspeed_hace_probe()
225 dmam_alloc_coherent(&pdev->dev, in aspeed_hace_probe()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/drivers/accel/ivpu/
H A Divpu_mmu.c283 cdtab->base = dmam_alloc_coherent(vdev->drm.dev, size, &cdtab->dma, GFP_KERNEL); in ivpu_mmu_cdtab_alloc()
298 strtab->base = dmam_alloc_coherent(vdev->drm.dev, size, &strtab->dma, GFP_KERNEL); in ivpu_mmu_strtab_alloc()
317 q->base = dmam_alloc_coherent(vdev->drm.dev, IVPU_MMU_CMDQ_SIZE, &q->dma, GFP_KERNEL); in ivpu_mmu_cmdq_alloc()
336 q->base = dmam_alloc_coherent(vdev->drm.dev, IVPU_MMU_EVTQ_SIZE, &q->dma, GFP_KERNEL); in ivpu_mmu_evtq_alloc()
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A 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()
/openbmc/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c2210 hisi_hba->cmd_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2218 hisi_hba->complete_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2226 hisi_hba->itct = dmam_alloc_coherent(dev, s, &hisi_hba->itct_dma, in hisi_sas_alloc()
2253 buf = dmam_alloc_coherent(dev, s, &buf_dma, in hisi_sas_alloc()
2272 hisi_hba->iost = dmam_alloc_coherent(dev, s, &hisi_hba->iost_dma, in hisi_sas_alloc()
2278 hisi_hba->breakpoint = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2290 hisi_hba->initial_fis = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2297 hisi_hba->sata_breakpoint = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
/openbmc/linux/drivers/misc/mei/
H A Ddma-ring.c33 dscr->vaddr = dmam_alloc_coherent(dev->dev, dscr->size, &dscr->daddr, in mei_dmam_dscr_alloc()
/openbmc/linux/drivers/bluetooth/
H A Dhci_bcm4377.c1536 ring->ring = dmam_alloc_coherent(&bcm4377->pdev->dev, in bcm4377_alloc_transfer_ring()
1551 ring->payloads = dmam_alloc_coherent( in bcm4377_alloc_transfer_ring()
1576 ring->ring = dmam_alloc_coherent(&bcm4377->pdev->dev, in bcm4377_alloc_completion_ring()
1589 bcm4377->ctx = dmam_alloc_coherent(dev, sizeof(*bcm4377->ctx), in bcm4377_init_context()
1596 dmam_alloc_coherent(dev, sizeof(*bcm4377->ring_state), in bcm4377_init_context()
1611 if (!dmam_alloc_coherent(&bcm4377->pdev->dev, 0x20, in bcm4377_init_context()
/openbmc/linux/drivers/crypto/
H A Dsahara.c1373 dev->hw_desc[0] = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
1385 dev->key_base = dmam_alloc_coherent(&pdev->dev, 2 * AES_KEYSIZE_128, in sahara_probe()
1395 dev->context_base = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
1404 dev->hw_link[0] = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
/openbmc/linux/drivers/ufs/core/
H A Dufs-mcq.c209 hwq->sqe_base_addr = dmam_alloc_coherent(hba->dev, utrdl_size, in ufshcd_mcq_memory_alloc()
218 hwq->cqe_base_addr = dmam_alloc_coherent(hba->dev, cqe_size, in ufshcd_mcq_memory_alloc()
/openbmc/linux/drivers/crypto/caam/
H A Djr.c539 jrp->inpring = dmam_alloc_coherent(dev, SIZEOF_JR_INPENTRY * in caam_jr_init()
545 jrp->outring = dmam_alloc_coherent(dev, SIZEOF_JR_OUTENTRY * in caam_jr_init()
/openbmc/linux/drivers/net/can/peak_canfd/
H A 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()
/openbmc/linux/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()
/openbmc/linux/drivers/mmc/host/
H A Dmmci_stm32_sdmmc.c116 idma->bounce_buf = dmam_alloc_coherent(dev, in sdmmc_idma_validate_data()
200 idma->sg_cpu = dmam_alloc_coherent(dev, SDMMC_LLI_BUF_LEN, in sdmmc_idma_setup()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-ismt.c801 priv->hw = dmam_alloc_coherent(&priv->pci_dev->dev, in ismt_dev_init()
812 priv->log = dmam_alloc_coherent(&priv->pci_dev->dev, in ismt_dev_init()
/openbmc/linux/drivers/ata/
H A Dsata_inic162x.c708 pp->pkt = dmam_alloc_coherent(dev, sizeof(struct inic_pkt), in inic_port_start()
713 pp->cpb_tbl = dmam_alloc_coherent(dev, IDMA_CPB_TBL_SIZE, in inic_port_start()
H A Dacard-ahci.c309 mem = dmam_alloc_coherent(dev, dma_sz, &mem_dma, GFP_KERNEL); in acard_ahci_port_start()
/openbmc/linux/drivers/scsi/isci/
H A 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()
/openbmc/linux/sound/soc/intel/catpt/
H A Ddevice.c275 cdev->dxbuf_vaddr = dmam_alloc_coherent(dev, catpt_dram_size(cdev), in catpt_acpi_probe()
/openbmc/linux/drivers/dma/
H A Dhisi_dma.c593 chan->sq = dmam_alloc_coherent(dev, sq_size, &chan->sq_dma, in hisi_dma_alloc_qps_mem()
598 chan->cq = dmam_alloc_coherent(dev, cq_size, &chan->cq_dma, in hisi_dma_alloc_qps_mem()
/openbmc/linux/drivers/nvme/host/
H A Dapple.c1299 q->cqes = dmam_alloc_coherent(anv->dev, in apple_nvme_queue_alloc()
1305 q->sqes = dmam_alloc_coherent(anv->dev, in apple_nvme_queue_alloc()
1315 q->tcbs = dmam_alloc_coherent(anv->dev, in apple_nvme_queue_alloc()
/openbmc/linux/drivers/hid/amd-sfh-hid/
H A Damd_sfh_client.c239 in_data->sensor_virt_addr[i] = dmam_alloc_coherent(dev, sizeof(int) * 8, in amd_sfh_hid_client_init()
/openbmc/linux/drivers/video/fbdev/
H A Dwm8505fb.c326 fb_mem_virt = dmam_alloc_coherent(&pdev->dev, fb_mem_len, &fb_mem_phys, in wm8505fb_probe()
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-designware.c964 ll->vaddr.mem = dmam_alloc_coherent(pci->dev, ll->sz, in dw_pcie_edma_ll_alloc()
975 ll->vaddr.mem = dmam_alloc_coherent(pci->dev, ll->sz, in dw_pcie_edma_ll_alloc()
/openbmc/linux/sound/soc/sprd/
H A Dsprd-pcm-dma.c86 data->virt = dmam_alloc_coherent(dev, size, &data->phys, in sprd_pcm_open()

1234