Home
last modified time | relevance | path

Searched refs:cma (Results 1 – 9 of 9) sorted by relevance

/drivers/staging/android/ion/heaps/
Dion_cma_heap.c20 struct cma *cma; member
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()
92 cma_release(cma_heap->cma, pages, nr_pages); in ion_cma_free()
103 static int __ion_add_cma_heap(struct cma *cma, void *data) in __ion_add_cma_heap() argument
115 cma_heap->heap.name = cma_get_name(cma); in __ion_add_cma_heap()
121 cma_heap->cma = cma; in __ion_add_cma_heap()
134 for (nr = 0; nr < MAX_CMA_AREAS && cma_heaps[nr].cma; nr++) in ion_cma_heap_init()
145 for (nr = 0; nr < MAX_CMA_AREAS && cma_heaps[nr].cma; nr++) in ion_cma_heap_exit()
/drivers/dma-buf/heaps/
Dcma_heap.c28 struct cma *cma; member
256 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in cma_heap_dma_buf_release()
300 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, GFP_KERNEL); in cma_heap_allocate()
357 cma_release(cma_heap->cma, cma_pages, pagecount); in cma_heap_allocate()
368 static int __add_cma_heap(struct cma *cma, void *data) in __add_cma_heap() argument
376 cma_heap->cma = cma; in __add_cma_heap()
378 exp_info.name = cma_get_name(cma); in __add_cma_heap()
395 struct cma *default_cma = dev_get_cma_area(NULL); in add_default_cma_heap()
/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dpci.h24 bool cma; member
/drivers/infiniband/core/
DMakefile25 rdma_cm-y := cma.o cma_trace.o
/drivers/gpu/drm/nouveau/
Dnouveau_ttm.c313 drm->agp.cma = pci->agp.cma; in nouveau_ttm_init()
Dnouveau_drv.h156 bool cma; member
Dnouveau_bo.c1177 reg->bus.is_iomem = !drm->agp.cma; in nouveau_ttm_io_mem_reserve()
/drivers/gpu/drm/nouveau/nvkm/subdev/pci/
Dagp.c135 pci->agp.cma = info.cant_use_aperture; in nvkm_agp_ctor()
/drivers/s390/char/
Dvmcp.c42 static struct cma *vmcp_cma;