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,
81 struct dma_heap *heap;
85 pr_err("dma_heap: minor %d unknown.\n", iminor(inode));
99 struct dma_heap *heap = file->private_data;
202 void *dma_heap_get_drvdata(struct dma_heap *heap)
214 const char *dma_heap_get_name(struct dma_heap *heap)
219 struct dma_heap *dma_heap_add(const struct dma_heap_export_info *exp_info)
221 struct dma_heap *heap, *h, *err_ret;
227 pr_err("dma_heap: Cannot add heap without a name\n");
232 pr_err("dma_heap: Cannot add heap with invalid ops struct\n");
248 pr_err("dma_heap: Unable to get minor number for heap\n");
259 pr_err("dma_heap: Unable to add char device\n");
270 pr_err("dma_heap: Unable to create device\n");
280 pr_err("dma_heap: Already registered heap named %s\n",
306 return kasprintf(GFP_KERNEL, "dma_heap/%s", dev_name(dev));