Home
last modified time | relevance | path

Searched refs:dma_alloc_attrs (Results 1 – 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
Ddma-mapping.h125 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle,
198 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs() function
396 return dma_alloc_attrs(dev, size, dma_handle, gfp, in dma_alloc_coherent()
542 return dma_alloc_attrs(dev, size, dma_addr, gfp, attrs); in dma_alloc_wc()
/kernel/linux/linux-5.10/drivers/media/platform/sti/delta/
Ddelta-mem.c18 addr = dma_alloc_attrs(delta->dev, size, &dma_addr, in hw_alloc()
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
Dhva-mem.c25 base = dma_alloc_attrs(dev, size, &paddr, GFP_KERNEL, in hva_mem_alloc()
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_jpeg.c337 dma_alloc_attrs(ctx->dev->dev, in hantro_jpeg_enc_init()
Dhantro_postproc.c133 priv->cpu = dma_alloc_attrs(vpu->dev, buf_size, &priv->dma, in hantro_postproc_alloc()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_gpummu.c96 gpummu->table = dma_alloc_attrs(dev, TABLE_SIZE + 32, &gpummu->pt_base, in msm_gpummu_new()
Dmsm_drv.c381 p = dma_alloc_attrs(dev->dev, size, in msm_init_vram()
/kernel/linux/linux-5.10/kernel/dma/
Dmapping.c92 vaddr = dma_alloc_attrs(dev, size, dma_handle, gfp, attrs); in dmam_alloc_attrs()
421 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_attrs() function
445 EXPORT_SYMBOL(dma_alloc_attrs);
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
Dmtk_drm_gem.c57 mtk_gem->cookie = dma_alloc_attrs(priv->dma_dev, obj->size, in mtk_drm_gem_create()
/kernel/linux/linux-5.10/drivers/media/platform/sti/bdisp/
Dbdisp-hw.c457 base = dma_alloc_attrs(dev, node_size * MAX_NB_NODE, &paddr, in bdisp_hw_alloc_nodes()
513 base = dma_alloc_attrs(dev, size, &paddr, GFP_KERNEL, in bdisp_hw_alloc_filters()
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_gem.c51 exynos_gem->cookie = dma_alloc_attrs(to_dma_dev(dev), exynos_gem->size, in exynos_drm_alloc_buf()
Dexynos_drm_g2d.c278 g2d->cmdlist_pool_virt = dma_alloc_attrs(to_dma_dev(g2d->drm_dev), in g2d_init_cmdlist()
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c165 rk_obj->kvaddr = dma_alloc_attrs(drm->dev, obj->size, in rockchip_gem_alloc_dma()
/kernel/linux/linux-5.10/Documentation/core-api/
Ddma-attributes.rst74 allocated by dma_alloc_attrs() function from individual pages if it can
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
Dvideobuf2-dma-contig.c150 buf->cookie = dma_alloc_attrs(dev, size, &buf->dma_addr, in vb2_dc_alloc()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dgk20a.c397 node->base.vaddr = dma_alloc_attrs(dev, npages << PAGE_SHIFT, in gk20a_instobj_ctor_dma()
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu/
Dqcom_iommu.c650 cpu_addr = dma_alloc_attrs(dev, psize, &paddr, GFP_KERNEL, attrs); in qcom_iommu_sec_ptbl_init()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dhelpers.c162 buf->va = dma_alloc_attrs(dev, buf->size, &buf->da, GFP_KERNEL, in venus_helper_alloc_dpb_bufs()
209 buf->va = dma_alloc_attrs(dev, buf->size, &buf->da, GFP_KERNEL, in intbufs_set_buffer()
Dhfi_venus.c333 desc->kva = dma_alloc_attrs(dev, desc->size, &desc->da, GFP_KERNEL, in venus_alloc()
/kernel/linux/linux-5.10/drivers/media/platform/rockchip/rga/
Drga.c882 rga->cmdbuf_virt = dma_alloc_attrs(rga->dev, RGA_CMDBUF_SIZE, in rga_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c311 vaddr = dma_alloc_attrs(pool->dev, pool->size, &d_page->dma, in __ttm_dma_alloc_page()
/kernel/linux/linux-5.10/drivers/staging/media/rkisp1/
Drkisp1-capture.c600 dummy_buf->vaddr = dma_alloc_attrs(cap->rkisp1->dev, in rkisp1_dummy_buf_create()
/kernel/linux/linux-5.10/drivers/remoteproc/
Dqcom_q6v5_mss.c819 ptr = dma_alloc_attrs(qproc->dev, size, &phys, GFP_KERNEL, dma_attrs); in q6v5_mpss_init_image()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/
Domapfb-main.c1382 token = dma_alloc_attrs(fbdev->dev, size, &dma_handle, in omapfb_alloc_fbmem()
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpci-tegra.c1735 msi->virt = dma_alloc_attrs(dev, PAGE_SIZE, &msi->phys, GFP_KERNEL, in tegra_pcie_msi_setup()

12