Lines Matching full:cma
3 * DMABUF CMA heap exporter
12 #include <linux/cma.h>
28 struct cma *cma; member
258 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release()
302 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, false); in cma_heap_allocate()
306 /* Clear the cma pages */ in cma_heap_allocate()
358 cma_release(cma_heap->cma, cma_pages, pagecount); in cma_heap_allocate()
369 static int __add_cma_heap(struct cma *cma, void *data) in __add_cma_heap() argument
377 cma_heap->cma = cma; in __add_cma_heap()
379 exp_info.name = cma_get_name(cma); in __add_cma_heap()
396 struct cma *default_cma = dev_get_cma_area(NULL); in add_default_cma_heap()
405 MODULE_DESCRIPTION("DMA-BUF CMA Heap");