Lines Matching defs:dma_heap
23 #define DEVNAME "dma_heap"
28 * struct dma_heap - represents a dmabuf heap in the system
37 struct dma_heap {
52 static int dma_heap_buffer_alloc(struct dma_heap *heap, size_t len,
69 struct dma_heap *heap;
73 pr_err("dma_heap: minor %d unknown.\n", iminor(inode));
87 struct dma_heap *heap = file->private_data;
190 void *dma_heap_get_drvdata(struct dma_heap *heap)
202 const char *dma_heap_get_name(struct dma_heap *heap)
207 struct dma_heap *dma_heap_add(const struct dma_heap_export_info *exp_info)
209 struct dma_heap *heap, *h, *err_ret;
215 pr_err("dma_heap: Cannot add heap without a name\n");
220 pr_err("dma_heap: Cannot add heap with invalid ops struct\n");
236 pr_err("dma_heap: Unable to get minor number for heap\n");
247 pr_err("dma_heap: Unable to add char device\n");
258 pr_err("dma_heap: Unable to create device\n");
268 pr_err("dma_heap: Already registered heap named %s\n",
294 return kasprintf(GFP_KERNEL, "dma_heap/%s", dev_name(dev));