Searched refs:coherent_pool (Results 1 – 2 of 2) sorted by relevance
58 static struct gen_pool *coherent_pool; variable75 if (coherent_pool == NULL) { in hexagon_dma_alloc_coherent()76 coherent_pool = gen_pool_create(PAGE_SHIFT, -1); in hexagon_dma_alloc_coherent()78 if (coherent_pool == NULL) in hexagon_dma_alloc_coherent()81 gen_pool_add(coherent_pool, in hexagon_dma_alloc_coherent()86 ret = (void *) gen_pool_alloc(coherent_pool, size); in hexagon_dma_alloc_coherent()100 gen_pool_free(coherent_pool, (unsigned long) vaddr, size); in hexagon_free_coherent()
675 coherent_pool=nn[KMG] [ARM,KNL]