Home
last modified time | relevance | path

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

/linux/rust/helpers/
H A Ddma.c9 return dma_alloc_attrs(dev, size, dma_handle, flag, attrs); in rust_helper_dma_alloc_attrs()
/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-mem.c18 addr = dma_alloc_attrs(delta->dev, size, &dma_addr, in hw_alloc()
/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()
/linux/include/linux/
H A Ddma-mapping.h189 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle,
271 static inline void *dma_alloc_attrs(struct device *dev, size_t size, in dma_alloc_attrs() function
625 return dma_alloc_attrs(dev, size, dma_handle, gfp, in dma_alloc_coherent()
766 return dma_alloc_attrs(dev, size, dma_addr, gfp, attrs); in dma_alloc_wc()
/linux/rust/kernel/
H A Ddma.rs683 bindings::dma_alloc_attrs(
791 // `dma_alloc_attrs` cannot handle zero-length allocation, bail early. in init_with_attrs()
800 bindings::dma_alloc_attrs( in init_with_attrs()
993 /// - `cpu_handle` holds the opaque handle returned by `dma_alloc_attrs` with in write_to_slice()
996 /// - `size` is the allocation size in bytes as passed to `dma_alloc_attrs`. in write_to_slice()
1028 bindings::dma_alloc_attrs(
1039 // INVARIANT: `cpu_handle` is the opaque handle from a successful `dma_alloc_attrs` call
1079 // `cpu_handle` is the opaque handle from `dma_alloc_attrs` and is passed back unchanged. in alloc_with_attrs()
/linux/drivers/gpu/drm/msm/adreno/
H A Da2xx_gpummu.c102 gpummu->table = dma_alloc_attrs(dev, TABLE_SIZE + 32, &gpummu->pt_base, in a2xx_gpummu_new()
/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_util.c66 mem->va = dma_alloc_attrs(&plat_dev->dev, mem->size, &mem->dma_addr, in mtk_vcodec_mem_alloc()
/linux/kernel/dma/
H A Dmapping.c103 vaddr = dma_alloc_attrs(dev, size, dma_handle, gfp, attrs); in dmam_alloc_attrs()
633 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_attrs() function
684 EXPORT_SYMBOL(dma_alloc_attrs);
/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()
/linux/Documentation/core-api/
H A Ddma-attributes.rst74 allocated by dma_alloc_attrs() function from individual pages if it can
193 backing pages and must not be passed to dma_alloc_attrs(). For MMIO, use
/linux/drivers/crypto/tegra/
H A Dtegra-se-main.c128 cmdbuf->addr = dma_alloc_attrs(dev, size, &cmdbuf->iova, in tegra_se_host1x_bo_alloc()
/linux/drivers/staging/media/sunxi/cedrus/
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()
/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()
/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dma-contig.c195 buf->cookie = dma_alloc_attrs(buf->dev, in vb2_dc_alloc_coherent()
/linux/drivers/media/platform/qcom/venus/
H A Dhfi_venus.c352 desc->kva = dma_alloc_attrs(dev, desc->size, &desc->da, GFP_KERNEL, in venus_alloc()
/linux/drivers/dma/
H A Dpl330.c1923 pl330->mcode_cpu = dma_alloc_attrs(pl330->ddma.dev, in dmac_alloc_resources()
/linux/drivers/nvme/host/
H A Dpci.c2655 bufs[i] = dma_alloc_attrs(dev->dev, len, &dma_addr, GFP_KERNEL, in nvme_alloc_host_mem_multi()