Home
last modified time | relevance | path

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

/mm/
Ddmapool.c56 dma_addr_t dma; member
229 &page->dma, mem_flags); in pool_alloc_page()
251 dma_addr_t dma = page->dma; in pool_free_page() local
256 dma_free_coherent(pool->dev, pool->allocation, page->vaddr, dma); in pool_free_page()
350 *handle = offset + page->dma; in dma_pool_alloc()
388 static struct dma_page *pool_find_page(struct dma_pool *pool, dma_addr_t dma) in pool_find_page() argument
393 if (dma < page->dma) in pool_find_page()
395 if ((dma - page->dma) < pool->allocation) in pool_find_page()
410 void dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t dma) in dma_pool_free() argument
417 page = pool_find_page(pool, dma); in dma_pool_free()
[all …]