| /linux/rust/helpers/ |
| H A D | dma.c | 9 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 D | delta-mem.c | 18 addr = dma_alloc_attrs(delta->dev, size, &dma_addr, in hw_alloc()
|
| /linux/drivers/media/platform/st/sti/hva/ |
| H A D | hva-mem.c | 25 base = dma_alloc_attrs(dev, size, &paddr, GFP_KERNEL, in hva_mem_alloc()
|
| /linux/include/linux/ |
| H A D | dma-mapping.h | 189 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 D | dma.rs | 683 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 D | a2xx_gpummu.c | 102 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 D | mtk_vcodec_util.c | 66 mem->va = dma_alloc_attrs(&plat_dev->dev, mem->size, &mem->dma_addr, in mtk_vcodec_mem_alloc()
|
| /linux/kernel/dma/ |
| H A D | mapping.c | 103 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 D | bdisp-hw.c | 457 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 D | dma-attributes.rst | 74 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 D | tegra-se-main.c | 128 cmdbuf->addr = dma_alloc_attrs(dev, size, &cmdbuf->iova, in tegra_se_host1x_bo_alloc()
|
| /linux/drivers/staging/media/sunxi/cedrus/ |
| H A D | cedrus_h265.c | 477 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 D | gk20a.c | 397 node->base.vaddr = dma_alloc_attrs(dev, npages << PAGE_SHIFT, in gk20a_instobj_ctor_dma()
|
| /linux/drivers/media/common/videobuf2/ |
| H A D | videobuf2-dma-contig.c | 195 buf->cookie = dma_alloc_attrs(buf->dev, in vb2_dc_alloc_coherent()
|
| /linux/drivers/media/platform/qcom/venus/ |
| H A D | hfi_venus.c | 352 desc->kva = dma_alloc_attrs(dev, desc->size, &desc->da, GFP_KERNEL, in venus_alloc()
|
| /linux/drivers/dma/ |
| H A D | pl330.c | 1923 pl330->mcode_cpu = dma_alloc_attrs(pl330->ddma.dev, in dmac_alloc_resources()
|
| /linux/drivers/nvme/host/ |
| H A D | pci.c | 2655 bufs[i] = dma_alloc_attrs(dev->dev, len, &dma_addr, GFP_KERNEL, in nvme_alloc_host_mem_multi()
|