Home
last modified time | relevance | path

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

12

/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()
/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(...);
260 dmam_alloc_coherent()
/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()
115 cq->rq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_rq_ring()
166 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_rq_bufs()
235 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_sq_bufs()
H A Dice_txrx.c428 tstamp_ring->desc = dmam_alloc_coherent(dev, size, &tstamp_ring->dma, in ice_setup_tstamp_ring()
493 tx_ring->desc = dmam_alloc_coherent(dev, size, &tx_ring->dma, in ice_setup_tx_ring()
624 rx_ring->desc = dmam_alloc_coherent(dev, size, &rx_ring->dma, in ice_setup_rx_ring()
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dinit.c969 ptr = dmam_alloc_coherent(dev->mt76.dma_dev, in mt7996_wed_rro_init()
983 ptr = dmam_alloc_coherent(dev->mt76.dma_dev, in mt7996_wed_rro_init()
1018 ptr = dmam_alloc_coherent(dev->mt76.dma_dev, in mt7996_wed_rro_init()
1033 ptr = dmam_alloc_coherent(dev->mt76.dma_dev, in mt7996_wed_rro_init()
1042 ptr = dmam_alloc_coherent(dev->mt76.dma_dev, in mt7996_wed_rro_init()
1052 ptr = dmam_alloc_coherent(dev->mt76.dma_dev, in mt7996_wed_rro_init()
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c2259 hisi_hba->cmd_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2267 hisi_hba->complete_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2275 hisi_hba->itct = dmam_alloc_coherent(dev, s, &hisi_hba->itct_dma, in hisi_sas_alloc()
2304 buf = dmam_alloc_coherent(dev, s, &buf_dma, in hisi_sas_alloc()
2323 hisi_hba->iost = dmam_alloc_coherent(dev, s, &hisi_hba->iost_dma, in hisi_sas_alloc()
2329 hisi_hba->breakpoint = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2341 hisi_hba->initial_fis = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2348 hisi_hba->sata_breakpoint = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
/linux/drivers/platform/x86/amd/pmc/
H A Dmp2_stb.c105 mp2->vslbase = dmam_alloc_coherent(dev, len, &mp2->dma_addr, GFP_KERNEL); in amd_mp2_stb_region()
/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()
/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()
H A Dlitex_mmc.c495 host->buffer = dmam_alloc_coherent(dev, host->buf_size, in litex_mmc_probe()
/linux/drivers/i2c/busses/
H A Di2c-ismt.c810 priv->hw = dmam_alloc_coherent(&priv->pci_dev->dev, in ismt_dev_init()
821 priv->log = dmam_alloc_coherent(&priv->pci_dev->dev, in ismt_dev_init()
/linux/drivers/dma/qcom/
H A Dhidma_ll.c743 lldev->tre_ring = dmam_alloc_coherent(dev, sz, &lldev->tre_dma, in hidma_ll_init()
762 lldev->evre_ring = dmam_alloc_coherent(dev, sz, &lldev->evre_dma, in hidma_ll_init()
/linux/sound/soc/intel/catpt/
H A Ddevice.c260 cdev->dxbuf_vaddr = dmam_alloc_coherent(dev, resource_size(&cdev->dram), in catpt_acpi_probe()
/linux/drivers/firmware/
H A Dturris-mox-rwtm.c435 rwtm->buf = dmam_alloc_coherent(dev, RWTM_DMA_BUFFER_SIZE, in turris_mox_rwtm_probe()
/linux/drivers/net/dsa/lantiq/
H A Dlantiq_gswip.c150 fw_addr = dmam_alloc_coherent(dev, size, &dma_addr, GFP_KERNEL); in gswip_gphy_fw_load()
/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()
/linux/drivers/video/fbdev/
H A Dwm8505fb.c328 fb_mem_virt = dmam_alloc_coherent(&pdev->dev, fb_mem_len, &fb_mem_phys, in wm8505fb_probe()
/linux/sound/soc/sprd/
H A Dsprd-pcm-dma.c86 data->virt = dmam_alloc_coherent(dev, size, &data->phys, in sprd_pcm_open()
/linux/drivers/nvme/host/
H A Dapple.c1356 q->cqes = dmam_alloc_coherent(anv->dev, in apple_nvme_queue_alloc()
1367 q->sqes = dmam_alloc_coherent(anv->dev, iosq_size, in apple_nvme_queue_alloc()
1377 q->tcbs = dmam_alloc_coherent(anv->dev, in apple_nvme_queue_alloc()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed_wo.c265 q->desc = dmam_alloc_coherent(wo->hw->dev, n_desc * sizeof(*q->desc), in mtk_wed_wo_queue_alloc()
H A Dmtk_ppe.c903 foe = dmam_alloc_coherent(ppe->dev, in mtk_ppe_init()
918 mib = dmam_alloc_coherent(ppe->dev, MTK_PPE_ENTRIES * sizeof(*mib), in mtk_ppe_init()
/linux/drivers/net/ethernet/
H A Dkorina.c1339 lp->td_ring = dmam_alloc_coherent(&pdev->dev, TD_RING_SIZE, in korina_probe()
1344 lp->rd_ring = dmam_alloc_coherent(&pdev->dev, RD_RING_SIZE, in korina_probe()
/linux/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_main.c1238 ring->desc_addr = dmam_alloc_coherent(dev, size, &ring->dma, in xgene_enet_create_desc_ring()
1247 irq_mbox_addr = dmam_alloc_coherent(dev, INTR_MBOX_SIZE, in xgene_enet_create_desc_ring()
1412 exp_bufs = dmam_alloc_coherent(dev, size, &dma_exp_bufs, in xgene_enet_create_desc_rings()
/linux/drivers/net/wireless/ath/ath9k/
H A Dmci.c443 buf->bf_addr = dmam_alloc_coherent(sc->dev, in ath_mci_setup()
/linux/drivers/mtd/nand/raw/
H A Dhisi504_nand.c699 host->buffer = dmam_alloc_coherent(host->dev, in hisi_nfc_attach_chip()

12