Home
last modified time | relevance | path

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

12

/Linux-v5.4/kernel/dma/
Dmapping.c91 vaddr = dma_alloc_attrs(dev, size, dma_handle, gfp, attrs); in dmam_alloc_attrs()
295 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_attrs() function
319 EXPORT_SYMBOL(dma_alloc_attrs);
/Linux-v5.4/drivers/media/platform/sti/delta/
Ddelta-mem.c18 addr = dma_alloc_attrs(delta->dev, size, &dma_addr, in hw_alloc()
/Linux-v5.4/drivers/media/platform/sti/hva/
Dhva-mem.c25 base = dma_alloc_attrs(dev, size, &paddr, GFP_KERNEL, in hva_mem_alloc()
/Linux-v5.4/drivers/staging/media/hantro/
Dhantro_jpeg.c301 dma_alloc_attrs(ctx->dev->dev, in hantro_jpeg_enc_init()
/Linux-v5.4/drivers/gpu/drm/msm/
Dmsm_gpummu.c105 gpummu->table = dma_alloc_attrs(dev, TABLE_SIZE + 32, &gpummu->pt_base, in msm_gpummu_new()
Dmsm_drv.c367 p = dma_alloc_attrs(dev->dev, size, in msm_init_vram()
/Linux-v5.4/include/linux/
Ddma-mapping.h445 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle,
519 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs() function
644 return dma_alloc_attrs(dev, size, dma_handle, gfp, in dma_alloc_coherent()
785 return dma_alloc_attrs(dev, size, dma_addr, gfp, attrs); in dma_alloc_wc()
/Linux-v5.4/drivers/gpu/drm/mediatek/
Dmtk_drm_gem.c57 mtk_gem->cookie = dma_alloc_attrs(priv->dma_dev, obj->size, in mtk_drm_gem_create()
/Linux-v5.4/drivers/scsi/
Dsgiwd93.c237 hdata->cpu = dma_alloc_attrs(&pdev->dev, HPC_DMA_SIZE, &hdata->dma, in sgiwd93_probe()
/Linux-v5.4/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()
/Linux-v5.4/sound/mips/
Dhal2.c452 codec->buffer = dma_alloc_attrs(dev, H2_BUF_SIZE, &buffer_dma, in hal2_alloc_dmabuf()
456 desc = dma_alloc_attrs(dev, count * sizeof(struct hal2_desc), in hal2_alloc_dmabuf()
/Linux-v5.4/drivers/gpu/drm/exynos/
Dexynos_drm_gem.c65 exynos_gem->cookie = dma_alloc_attrs(to_dma_dev(dev), exynos_gem->size, in exynos_drm_alloc_buf()
/Linux-v5.4/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c164 rk_obj->kvaddr = dma_alloc_attrs(drm->dev, obj->size, in rockchip_gem_alloc_dma()
/Linux-v5.4/Documentation/
DDMA-API.txt525 dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle,
549 Free memory allocated by the dma_alloc_attrs(). All common
552 dma_alloc_attrs().
576 Do a partial sync of memory that was allocated by dma_alloc_attrs() with
DDMA-attributes.txt100 allocated by dma_alloc_attrs() function from individual pages if it can
/Linux-v5.4/drivers/media/platform/qcom/venus/
Dhelpers.c164 buf->va = dma_alloc_attrs(dev, buf->size, &buf->da, GFP_KERNEL, in venus_helper_alloc_dpb_bufs()
211 buf->va = dma_alloc_attrs(dev, buf->size, &buf->da, GFP_KERNEL, in intbufs_set_buffer()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dgk20a.c397 node->base.vaddr = dma_alloc_attrs(dev, npages << PAGE_SHIFT, in gk20a_instobj_ctor_dma()
/Linux-v5.4/drivers/media/common/videobuf2/
Dvideobuf2-dma-contig.c154 buf->cookie = dma_alloc_attrs(dev, size, &buf->dma_addr, in vb2_dc_alloc()
/Linux-v5.4/drivers/iommu/
Dqcom_iommu.c673 cpu_addr = dma_alloc_attrs(dev, psize, &paddr, GFP_KERNEL, attrs); in qcom_iommu_sec_ptbl_init()
/Linux-v5.4/drivers/pci/controller/
Dvmd.c314 return dma_alloc_attrs(to_vmd_dev(dev), size, addr, flag, attrs); in vmd_alloc()
/Linux-v5.4/drivers/net/ethernet/seeq/
Dsgiseeq.c743 sr = dma_alloc_attrs(&pdev->dev, sizeof(*sp->srings), &sp->srings_dma, in sgiseeq_probe()
/Linux-v5.4/drivers/media/platform/rockchip/rga/
Drga.c880 rga->cmdbuf_virt = dma_alloc_attrs(rga->dev, RGA_CMDBUF_SIZE, in rga_probe()
/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_page_alloc_dma.c312 vaddr = dma_alloc_attrs(pool->dev, pool->size, &d_page->dma, in __ttm_dma_alloc_page()
/Linux-v5.4/drivers/net/ethernet/amd/
Dau1000_eth.c1152 aup->vaddr = (u32)dma_alloc_attrs(&pdev->dev, MAX_BUF_SIZE * in au1000_probe()
/Linux-v5.4/drivers/net/ethernet/i825xx/
Dlib82596.c1066 dma = dma_alloc_attrs(dev->dev.parent, sizeof(struct i596_dma), in i82596_probe()

12