Home
last modified time | relevance | path

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

123

/Linux-v4.19/drivers/crypto/inside-secure/
Dsafexcel_ring.c18 cdr->base = dmam_alloc_coherent(priv->dev, in safexcel_init_ring_descriptors()
28 rdr->base = dmam_alloc_coherent(priv->dev, in safexcel_init_ring_descriptors()
/Linux-v4.19/Documentation/driver-model/
Ddevres.txt58 dmam_alloc_coherent(). It is identical to dma_alloc_coherent() except
76 dmam_alloc_coherent(dev, size, dma_handle, gfp)
97 If a driver uses dmam_alloc_coherent(), the area is guaranteed to be
111 d->ring = dmam_alloc_coherent(...);
244 dmam_alloc_coherent()
/Linux-v4.19/kernel/dma/
Dmapping.c60 void *dmam_alloc_coherent(struct device *dev, size_t size, in dmam_alloc_coherent() function
84 EXPORT_SYMBOL(dmam_alloc_coherent);
/Linux-v4.19/drivers/net/ethernet/intel/ice/
Dice_controlq.c63 cq->sq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_sq_ring()
94 cq->rq.desc_buf.va = dmam_alloc_coherent(ice_hw_to_dev(hw), size, in ice_alloc_ctrlq_rq_ring()
162 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_rq_bufs()
229 bi->va = dmam_alloc_coherent(ice_hw_to_dev(hw), in ice_alloc_sq_bufs()
Dice_txrx.c244 tx_ring->desc = dmam_alloc_coherent(dev, tx_ring->size, &tx_ring->dma, in ice_setup_tx_ring()
348 rx_ring->desc = dmam_alloc_coherent(dev, rx_ring->size, &rx_ring->dma, in ice_setup_rx_ring()
/Linux-v4.19/drivers/soc/lantiq/
Dgphy.c88 fw_addr = dmam_alloc_coherent(dev, size, &dma_addr, GFP_KERNEL); in xway_gphy_load()
/Linux-v4.19/drivers/scsi/hisi_sas/
Dhisi_sas_main.c2031 hisi_hba->cmd_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2039 hisi_hba->complete_hdr[i] = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2047 hisi_hba->itct = dmam_alloc_coherent(dev, s, &hisi_hba->itct_dma, in hisi_sas_alloc()
2070 buf = dmam_alloc_coherent(dev, s, &buf_dma, GFP_KERNEL); in hisi_sas_alloc()
2089 hisi_hba->iost = dmam_alloc_coherent(dev, s, &hisi_hba->iost_dma, in hisi_sas_alloc()
2095 hisi_hba->breakpoint = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2108 hisi_hba->initial_fis = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
2115 hisi_hba->sata_breakpoint = dmam_alloc_coherent(dev, s, in hisi_sas_alloc()
/Linux-v4.19/drivers/net/can/peak_canfd/
Dpeak_pciefd_main.c623 priv->rx_dma_vaddr = dmam_alloc_coherent(&pciefd->pci_dev->dev, in pciefd_can_probe()
635 priv->tx_dma_vaddr = dmam_alloc_coherent(&pciefd->pci_dev->dev, in pciefd_can_probe()
/Linux-v4.19/drivers/staging/goldfish/
Dgoldfish_audio.c318 data->buffer_virt = dmam_alloc_coherent(&pdev->dev, in goldfish_audio_probe()
/Linux-v4.19/drivers/dma/qcom/
Dhidma_ll.c755 lldev->tre_ring = dmam_alloc_coherent(dev, sz, &lldev->tre_dma, in hidma_ll_init()
775 lldev->evre_ring = dmam_alloc_coherent(dev, sz, &lldev->evre_dma, in hidma_ll_init()
/Linux-v4.19/drivers/crypto/
Dsahara.c1439 dev->hw_desc[0] = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
1451 dev->key_base = dmam_alloc_coherent(&pdev->dev, 2 * AES_KEYSIZE_128, in sahara_probe()
1461 dev->context_base = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
1470 dev->hw_link[0] = dmam_alloc_coherent(&pdev->dev, in sahara_probe()
/Linux-v4.19/drivers/ata/
Dsata_inic162x.c704 pp->pkt = dmam_alloc_coherent(dev, sizeof(struct inic_pkt), in inic_port_start()
709 pp->cpb_tbl = dmam_alloc_coherent(dev, IDMA_CPB_TBL_SIZE, in inic_port_start()
Dacard-ahci.c360 mem = dmam_alloc_coherent(dev, dma_sz, &mem_dma, GFP_KERNEL); in acard_ahci_port_start()
Dsata_qstor.c492 pp->pkt = dmam_alloc_coherent(dev, QS_PKT_BYTES, &pp->pkt_dma, in qs_port_start()
Dpdc_adma.c559 pp->pkt = dmam_alloc_coherent(dev, ADMA_PKT_BYTES, &pp->pkt_dma, in adma_port_start()
/Linux-v4.19/drivers/scsi/isci/
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()
/Linux-v4.19/include/linux/
Ddma-mapping.h772 extern void *dmam_alloc_coherent(struct device *dev, size_t size,
777 static inline void *dmam_alloc_coherent(struct device *dev, size_t size, in dmam_alloc_coherent() function
/Linux-v4.19/drivers/iommu/
Darm-smmu-v3.c1205 desc->l2ptr = dmam_alloc_coherent(smmu->dev, size, &desc->l2ptr_dma, in arm_smmu_init_l2_strtab()
1537 cfg->cdptr = dmam_alloc_coherent(smmu->dev, CTXDESC_CD_DWORDS << 3, in arm_smmu_domain_finalise_s1()
2025 q->base = dmam_alloc_coherent(smmu->dev, qsz, &q->base_dma, GFP_KERNEL); in arm_smmu_init_one_queue()
2109 strtab = dmam_alloc_coherent(smmu->dev, l1size, &cfg->strtab_dma, in arm_smmu_init_strtab_2lvl()
2136 strtab = dmam_alloc_coherent(smmu->dev, size, &cfg->strtab_dma, in arm_smmu_init_strtab_linear()
/Linux-v4.19/drivers/video/fbdev/
Dwm8505fb.c331 fb_mem_virt = dmam_alloc_coherent(&pdev->dev, fb_mem_len, &fb_mem_phys, in wm8505fb_probe()
Dau1100fb.c463 fbdev->fb_mem = dmam_alloc_coherent(&dev->dev, in au1100fb_drv_probe()
/Linux-v4.19/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_2835_arm.c136 slot_mem = dmam_alloc_coherent(dev, slot_mem_size + frag_mem_size, in vchiq_platform_init()
/Linux-v4.19/drivers/mmc/host/
Dcqhci.c216 cq_host->desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
220 cq_host->trans_desc_base = dmam_alloc_coherent(mmc_dev(cq_host->mmc), in cqhci_host_alloc_tdl()
/Linux-v4.19/drivers/mtd/spi-nor/
Dhisi-sfc.c461 host->buffer = dmam_alloc_coherent(dev, HIFMC_DMA_MAX_LEN, in hisi_spi_nor_probe()
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Ddma.c33 q->desc = dmam_alloc_coherent(dev->dev, size, &q->desc_dma, GFP_KERNEL); in mt76_dma_alloc_queue()
/Linux-v4.19/drivers/block/mtip32xx/
Dmtip32xx.c1454 buf = dmam_alloc_coherent(&dd->pdev->dev, ATA_SECT_SIZE, &dma_addr, in mtip_send_trim()
1697 buf = dmam_alloc_coherent(&port->dd->pdev->dev, in exec_drive_command()
2902 dmam_alloc_coherent(&dd->pdev->dev, BLOCK_DMA_ALLOC_SZ, in mtip_dma_alloc()
2910 dmam_alloc_coherent(&dd->pdev->dev, AHCI_CMD_TBL_SZ, in mtip_dma_alloc()
3692 cmd->command = dmam_alloc_coherent(&dd->pdev->dev, CMD_DMA_ALLOC_SZ, in mtip_init_cmd()

123