Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-mem.c18 addr = dma_alloc_attrs(delta->dev, size, &dma_addr, in hw_alloc()
/openbmc/linux/drivers/media/platform/st/sti/hva/
H A Dhva-mem.c25 base = dma_alloc_attrs(dev, size, &paddr, GFP_KERNEL, in hva_mem_alloc()
/openbmc/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_h264.c156 dma_alloc_attrs(dev->dev, in cedrus_write_frame_list()
568 dma_alloc_attrs(dev->dev, ctx->codec.h264.pic_info_buf_size, in cedrus_h264_start()
582 dma_alloc_attrs(dev->dev, CEDRUS_NEIGHBOR_INFO_BUF_SIZE, in cedrus_h264_start()
599 dma_alloc_attrs(dev->dev, in cedrus_h264_start()
615 dma_alloc_attrs(dev->dev, in cedrus_h264_start()
H A Dcedrus_h265.c477 dma_alloc_attrs(dev->dev, in cedrus_h265_setup()
840 dma_alloc_attrs(dev->dev, CEDRUS_H265_NEIGHBOR_INFO_BUF_SIZE, in cedrus_h265_start()
/openbmc/linux/include/linux/
H A Ddma-mapping.h128 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle,
217 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs() function
426 return dma_alloc_attrs(dev, size, dma_handle, gfp, in dma_alloc_coherent()
574 return dma_alloc_attrs(dev, size, dma_addr, gfp, attrs); in dma_alloc_wc()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gpummu.c101 gpummu->table = dma_alloc_attrs(dev, TABLE_SIZE + 32, &gpummu->pt_base, in msm_gpummu_new()
H A Dmsm_drv.c376 p = dma_alloc_attrs(dev->dev, size, in msm_init_vram()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dcommon.h63 qmem->base = dma_alloc_attrs(dev, qmem->alloc_sz, &qmem->iova, in qmem_alloc()
/openbmc/linux/kernel/dma/
H A Dmapping.c99 vaddr = dma_alloc_attrs(dev, size, dma_handle, gfp, attrs); in dmam_alloc_attrs()
497 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_attrs() function
529 EXPORT_SYMBOL(dma_alloc_attrs);
/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_drm_gem.c79 mtk_gem->cookie = dma_alloc_attrs(priv->dma_dev, obj->size, in mtk_drm_gem_create()
/openbmc/linux/drivers/media/platform/st/sti/bdisp/
H A 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()
/openbmc/linux/drivers/media/platform/verisilicon/
H A Dhantro_postproc.c232 priv->cpu = dma_alloc_attrs(vpu->dev, buf_size, &priv->dma, in hantro_postproc_alloc()
/openbmc/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_gem.c56 exynos_gem->cookie = dma_alloc_attrs(to_dma_dev(dev), exynos_gem->size, in exynos_drm_alloc_buf()
H A Dexynos_drm_g2d.c280 g2d->cmdlist_pool_virt = dma_alloc_attrs(to_dma_dev(g2d->drm_dev), in g2d_init_cmdlist()
/openbmc/linux/drivers/media/platform/nvidia/tegra-vde/
H A Dvde.c77 bo->dma_cookie = dma_alloc_attrs(dev, bo->size, &bo->dma_handle, in tegra_vde_alloc_bo()
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.c167 rk_obj->kvaddr = dma_alloc_attrs(drm->dev, obj->size, in rockchip_gem_alloc_dma()
/openbmc/linux/Documentation/core-api/
H A Ddma-attributes.rst74 allocated by dma_alloc_attrs() function from individual pages if it can
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
H A Dgk20a.c397 node->base.vaddr = dma_alloc_attrs(dev, npages << PAGE_SHIFT, in gk20a_instobj_ctor_dma()
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dsubmit.c206 bo->gather_data = dma_alloc_attrs(dev, copy_len, &bo->gather_data_dma, in submit_copy_gather_data()
/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_pool.c109 vaddr = dma_alloc_attrs(pool->dev, (1ULL << order) * PAGE_SIZE, in ttm_pool_alloc_page()
/openbmc/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-contig.c195 buf->cookie = dma_alloc_attrs(buf->dev, in vb2_dc_alloc_coherent()
/openbmc/linux/drivers/iommu/arm/arm-smmu/
H A Dqcom_iommu.c609 cpu_addr = dma_alloc_attrs(dev, psize, &paddr, GFP_KERNEL, attrs); in qcom_iommu_sec_ptbl_init()
/openbmc/linux/drivers/media/platform/rockchip/rga/
H A Drga.c867 rga->cmdbuf_virt = dma_alloc_attrs(rga->dev, RGA_CMDBUF_SIZE, in rga_probe()
/openbmc/linux/drivers/media/platform/qcom/venus/
H A Dhelpers.c205 buf->va = dma_alloc_attrs(dev, buf->size, &buf->da, GFP_KERNEL, in venus_helper_alloc_dpb_bufs()
261 buf->va = dma_alloc_attrs(dev, buf->size, &buf->da, GFP_KERNEL, in intbufs_set_buffer()
H A Dhfi_venus.c342 desc->kva = dma_alloc_attrs(dev, desc->size, &desc->da, GFP_KERNEL, in venus_alloc()

12