Lines Matching refs:cma_pages
42 struct page *cma_pages; member
78 sg_set_page(table->sgl, buffer->cma_pages, PAGE_ALIGN(size), 0); in rk_cma_heap_attach()
400 cma_release(cma_heap->cma, buffer->cma_pages, buffer->pagecount); in rk_cma_heap_dma_buf_release()
434 struct page *cma_pages; in rk_cma_heap_allocate() local
450 cma_pages = cma_alloc(cma_heap->cma, pagecount, align, GFP_KERNEL); in rk_cma_heap_allocate()
451 if (!cma_pages) in rk_cma_heap_allocate()
455 if (PageHighMem(cma_pages)) { in rk_cma_heap_allocate()
457 struct page *page = cma_pages; in rk_cma_heap_allocate()
474 memset(page_address(cma_pages), 0, size); in rk_cma_heap_allocate()
485 buffer->pages[pg] = &cma_pages[pg]; in rk_cma_heap_allocate()
487 buffer->cma_pages = cma_pages; in rk_cma_heap_allocate()
503 buffer->phys = page_to_phys(cma_pages); in rk_cma_heap_allocate()
521 cma_release(cma_heap->cma, cma_pages, pagecount); in rk_cma_heap_allocate()