Home
last modified time | relevance | path

Searched refs:dma_heap (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/kernel/include/linux/
H A Ddma-heap.h16 struct dma_heap;
26 struct dma_buf *(*allocate)(struct dma_heap *heap,
30 long (*get_pool_size)(struct dma_heap *heap);
32 int (*get_phys)(struct dma_heap *heap, struct dma_heap_phys_data *phys);
57 void *dma_heap_get_drvdata(struct dma_heap *heap);
66 struct device *dma_heap_get_dev(struct dma_heap *heap);
75 const char *dma_heap_get_name(struct dma_heap *heap);
81 struct dma_heap *dma_heap_add(const struct dma_heap_export_info *exp_info);
87 void dma_heap_put(struct dma_heap *heap);
96 struct dma_heap *dma_heap_find(const char *name);
[all …]
/OK3568_Linux_fs/kernel/drivers/dma-buf/
H A Ddma-heap.c38 struct dma_heap { struct
55 struct dma_heap *dma_heap_find(const char *name) in dma_heap_find() argument
57 struct dma_heap *h; in dma_heap_find()
79 struct dma_buf *dma_heap_buffer_alloc(struct dma_heap *heap, size_t len, in dma_heap_buffer_alloc()
100 int dma_heap_bufferfd_alloc(struct dma_heap *heap, size_t len, in dma_heap_bufferfd_alloc()
124 struct dma_heap *heap; in dma_heap_open()
142 struct dma_heap *heap = file->private_data; in dma_heap_ioctl_allocate()
162 struct dma_heap *heap = file->private_data; in dma_heap_ioctl_get_phys()
256 void *dma_heap_get_drvdata(struct dma_heap *heap) in dma_heap_get_drvdata()
264 struct dma_heap *heap = container_of(ref, struct dma_heap, refcount); in dma_heap_release()
[all …]
H A DKconfig104 This options creates per heap chardevs in /dev/dma_heap/ which
/OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/
H A Drk_system_heap.c30 static struct dma_heap *sys_heap;
31 static struct dma_heap *sys_dma32_heap;
32 static struct dma_heap *sys_uncached_heap;
33 static struct dma_heap *sys_uncached_dma32_heap;
40 struct dma_heap *heap;
275 struct dma_heap *heap = buffer->heap; in system_heap_dma_buf_begin_cpu_access_partial()
305 struct dma_heap *heap = buffer->heap; in system_heap_dma_buf_end_cpu_access_partial()
491 static struct page *system_heap_alloc_largest_available(struct dma_heap *heap, in system_heap_alloc_largest_available()
512 static struct dma_buf *system_heap_do_allocate(struct dma_heap *heap, in system_heap_do_allocate()
650 static struct dma_buf *system_heap_allocate(struct dma_heap *heap, in system_heap_allocate()
[all …]
H A Dsystem_heap.c27 static struct dma_heap *sys_heap;
28 static struct dma_heap *sys_uncached_heap;
31 struct dma_heap *heap;
397 static struct dma_buf *system_heap_do_allocate(struct dma_heap *heap, in system_heap_do_allocate()
495 static struct dma_buf *system_heap_allocate(struct dma_heap *heap, in system_heap_allocate()
503 static long system_get_pool_size(struct dma_heap *heap) in system_get_pool_size()
523 static struct dma_buf *system_uncached_heap_allocate(struct dma_heap *heap, in system_uncached_heap_allocate()
532 static struct dma_buf *system_uncached_heap_not_initialized(struct dma_heap *heap, in system_uncached_heap_not_initialized()
H A Drk_cma_heap.c30 struct dma_heap *heap;
347 static struct dma_buf *cma_heap_do_allocate(struct dma_heap *heap, in cma_heap_do_allocate()
448 static struct dma_buf *cma_heap_allocate(struct dma_heap *heap, in cma_heap_allocate()
457 static int cma_heap_get_phys(struct dma_heap *heap, in cma_heap_get_phys()
496 static struct dma_buf *cma_uncached_heap_allocate(struct dma_heap *heap, in cma_uncached_heap_allocate()
504 static struct dma_buf *cma_uncached_heap_not_initialized(struct dma_heap *heap, in cma_uncached_heap_not_initialized()
H A Dsram_heap.c36 struct dma_heap *heap;
179 static struct dma_buf *sram_dma_heap_allocate(struct dma_heap *heap, in sram_dma_heap_allocate()
H A Dcma_heap.c27 struct dma_heap *heap;
273 static struct dma_buf *cma_heap_allocate(struct dma_heap *heap, in cma_heap_allocate()
/OK3568_Linux_fs/external/linux-rga/samples/
H A DREADME.md12 │   ├── **rga_allocator_dma32_demo.cpp**:使用dma_heap分配4G以内内存空间的内存(不保证物理连续)调用RGA。<br/>
13 │   ├── **rga_allocator_dma_cache_demo.cpp**:使用dma_heap分配cacheable的内存调用RGA。<br/>
14 │   ├── **rga_allocator_dma_demo.cpp**:使用dma_heap分配内存调用RGA。<br/>
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-kernel-dmaheap1 What: /sys/kernel/dma_heap/total_pools_kb