/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_ring.c | 23 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 D | devres.rst | 60 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/drivers/net/ethernet/intel/ice/ |
H A D | ice_controlq.c | 95 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()
|
/linux/drivers/misc/mei/ |
H A D | dma-ring.c | 33 dscr->vaddr = dmam_alloc_coherent(dev->dev, dscr->size, &dscr->daddr, in mei_dmam_dscr_alloc()
|
/linux/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_main.c | 2259 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/net/can/peak_canfd/ |
H A D | peak_pciefd_main.c | 611 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/ufs/core/ |
H A D | ufs-mcq.c | 243 hwq->sqe_base_addr = dmam_alloc_coherent(hba->dev, utrdl_size, in ufshcd_mcq_memory_alloc() 252 hwq->cqe_base_addr = dmam_alloc_coherent(hba->dev, cqe_size, in ufshcd_mcq_memory_alloc()
|
/linux/drivers/platform/x86/amd/pmc/ |
H A D | mp2_stb.c | 105 mp2->vslbase = dmam_alloc_coherent(dev, len, &mp2->dma_addr, GFP_KERNEL); in amd_mp2_stb_region()
|
/linux/drivers/bluetooth/ |
H A D | hci_bcm4377.c | 1554 ring->ring = dmam_alloc_coherent(&bcm4377->pdev->dev, in bcm4377_alloc_transfer_ring() 1569 ring->payloads = dmam_alloc_coherent( in bcm4377_alloc_transfer_ring() 1594 ring->ring = dmam_alloc_coherent(&bcm4377->pdev->dev, in bcm4377_alloc_completion_ring() 1607 bcm4377->ctx = dmam_alloc_coherent(dev, sizeof(*bcm4377->ctx), in bcm4377_init_context() 1614 dmam_alloc_coherent(dev, sizeof(*bcm4377->ring_state), in bcm4377_init_context() 1629 if (!dmam_alloc_coherent(&bcm4377->pdev->dev, 0x20, in bcm4377_init_context()
|
/linux/drivers/dma/qcom/ |
H A D | hidma_ll.c | 747 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/drivers/mmc/host/ |
H A D | mmci_stm32_sdmmc.c | 116 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 D | cqhci-core.c | 220 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl() 227 cq_host->trans_desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
|
/linux/drivers/i2c/busses/ |
H A D | i2c-ismt.c | 810 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/ata/ |
H A D | sata_inic162x.c | 708 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()
|
/linux/drivers/scsi/isci/ |
H A D | host.c | 2255 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/drivers/dma/ |
H A D | hisi_dma.c | 593 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/firmware/ |
H A D | turris-mox-rwtm.c | 435 rwtm->buf = dmam_alloc_coherent(dev, RWTM_DMA_BUFFER_SIZE, in turris_mox_rwtm_probe()
|
/linux/drivers/nvme/host/ |
H A D | apple.c | 1311 q->cqes = dmam_alloc_coherent(anv->dev, in apple_nvme_queue_alloc() 1317 q->sqes = dmam_alloc_coherent(anv->dev, in apple_nvme_queue_alloc() 1327 q->tcbs = dmam_alloc_coherent(anv->dev, in apple_nvme_queue_alloc()
|
/linux/drivers/pci/controller/dwc/ |
H A D | pcie-designware-host.c | 371 msi_vaddr = dmam_alloc_coherent(dev, sizeof(u64), &pp->msi_data, in dw_pcie_msi_host_init() 377 msi_vaddr = dmam_alloc_coherent(dev, sizeof(u64), &pp->msi_data, in dw_pcie_msi_host_init()
|
/linux/drivers/video/fbdev/ |
H A D | wm8505fb.c | 328 fb_mem_virt = dmam_alloc_coherent(&pdev->dev, fb_mem_len, &fb_mem_phys, in wm8505fb_probe()
|
/linux/sound/soc/sprd/ |
H A D | sprd-pcm-dma.c | 86 data->virt = dmam_alloc_coherent(dev, size, &data->phys, in sprd_pcm_open()
|
/linux/drivers/hid/amd-sfh-hid/ |
H A D | amd_sfh_client.c | 241 in_data->sensor_virt_addr[i] = dmam_alloc_coherent(dev, sizeof(int) * 8, in amd_sfh_hid_client_init()
|
/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_wed_wo.c | 265 q->desc = dmam_alloc_coherent(wo->hw->dev, n_desc * sizeof(*q->desc), in mtk_wed_wo_queue_alloc()
|
H A D | mtk_ppe.c | 903 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/mtd/spi-nor/controllers/ |
H A D | hisi-sfc.c | 452 host->buffer = dmam_alloc_coherent(dev, HIFMC_DMA_MAX_LEN, in hisi_spi_nor_probe()
|