Home
last modified time | relevance | path

Searched refs:cma_heap (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/dma-buf/heaps/
H A Dcma_heap.c26 struct cma_heap { struct
32 struct cma_heap *heap; argument
246 struct cma_heap *cma_heap = buffer->heap; in cma_heap_dma_buf_release() local
256 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release()
278 struct cma_heap *cma_heap = dma_heap_get_drvdata(heap); in cma_heap_allocate() local
300 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, GFP_KERNEL); in cma_heap_allocate()
337 buffer->heap = cma_heap; in cma_heap_allocate()
357 cma_release(cma_heap->cma, cma_pages, pagecount); in cma_heap_allocate()
370 struct cma_heap *cma_heap; in __add_cma_heap() local
373 cma_heap = kzalloc(sizeof(*cma_heap), GFP_KERNEL); in __add_cma_heap()
[all …]
H A Drk_cma_heap.c29 struct cma_heap { struct
35 struct cma_heap *heap; argument
316 struct cma_heap *cma_heap = buffer->heap; in cma_heap_dma_buf_release() local
326 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release()
352 struct cma_heap *cma_heap = dma_heap_get_drvdata(heap); in cma_heap_do_allocate() local
377 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, GFP_KERNEL); in cma_heap_do_allocate()
414 buffer->heap = cma_heap; in cma_heap_do_allocate()
441 cma_release(cma_heap->cma, cma_pages, pagecount); in cma_heap_do_allocate()
460 struct cma_heap *cma_heap = dma_heap_get_drvdata(heap); in cma_heap_get_phys() local
477 if (buffer->heap != cma_heap) in cma_heap_get_phys()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/android/ion/heaps/
H A Dion_cma_heap.c30 struct ion_cma_heap *cma_heap = to_cma_heap(heap); in ion_cma_allocate() local
41 pages = cma_alloc(cma_heap->cma, nr_pages, align, false); in ion_cma_allocate()
81 cma_release(cma_heap->cma, pages, nr_pages); in ion_cma_allocate()
87 struct ion_cma_heap *cma_heap = to_cma_heap(buffer->heap); in ion_cma_free() local
92 cma_release(cma_heap->cma, pages, nr_pages); in ion_cma_free()
106 struct ion_cma_heap *cma_heap; in __ion_add_cma_heap() local
112 cma_heap = &cma_heaps[*cma_nr]; in __ion_add_cma_heap()
113 cma_heap->heap.ops = &ion_cma_ops; in __ion_add_cma_heap()
114 cma_heap->heap.type = ION_HEAP_TYPE_DMA; in __ion_add_cma_heap()
115 cma_heap->heap.name = cma_get_name(cma); in __ion_add_cma_heap()
[all …]
/OK3568_Linux_fs/kernel/drivers/dma-buf/rk_heaps/
H A Drk-cma-heap.c281 struct rk_cma_heap *cma_heap = buffer->heap; in rk_cma_heap_remove_dmabuf_list() local
282 struct rk_dma_heap *heap = cma_heap->heap; in rk_cma_heap_remove_dmabuf_list()
304 struct rk_cma_heap *cma_heap = buffer->heap; in rk_cma_heap_add_dmabuf_list() local
305 struct rk_dma_heap *heap = cma_heap->heap; in rk_cma_heap_add_dmabuf_list()
387 struct rk_cma_heap *cma_heap = buffer->heap; in rk_cma_heap_dma_buf_release() local
388 struct rk_dma_heap *heap = cma_heap->heap; in rk_cma_heap_dma_buf_release()
400 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in rk_cma_heap_dma_buf_release()
428 struct rk_cma_heap *cma_heap = rk_dma_heap_get_drvdata(heap); in rk_cma_heap_allocate() local
450 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, GFP_KERNEL); in rk_cma_heap_allocate()
488 buffer->heap = cma_heap; in rk_cma_heap_allocate()
[all …]
/OK3568_Linux_fs/kernel/android/
H A Dabi_gki_aarch64_hikey960460 # required by cma_heap.ko
H A Dabi_gki_aarch64_imx1240 # required by cma_heap.ko