Searched refs:coherent_pool (Results 1 – 2 of 2) sorted by relevance
47 static struct gen_pool *coherent_pool; variable64 if (coherent_pool == NULL) { in hexagon_dma_alloc_coherent()65 coherent_pool = gen_pool_create(PAGE_SHIFT, -1); in hexagon_dma_alloc_coherent()67 if (coherent_pool == NULL) in hexagon_dma_alloc_coherent()70 gen_pool_add(coherent_pool, in hexagon_dma_alloc_coherent()75 ret = (void *) gen_pool_alloc(coherent_pool, size); in hexagon_dma_alloc_coherent()89 gen_pool_free(coherent_pool, (unsigned long) vaddr, size); in hexagon_free_coherent()
682 coherent_pool=nn[KMG] [ARM,KNL]