• Home
  • Raw
  • Download

Lines Matching refs:dma_pool

102 struct dma_pool {  struct
156 struct dma_pool *pool;
305 static int ttm_set_pages_caching(struct dma_pool *pool, in ttm_set_pages_caching()
325 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) in __ttm_dma_free_page()
333 static struct dma_page *__ttm_dma_alloc_page(struct dma_pool *pool) in __ttm_dma_alloc_page()
368 static void ttm_pool_update_free_locked(struct dma_pool *pool, in ttm_pool_update_free_locked()
377 static void ttm_dma_pages_put(struct dma_pool *pool, struct list_head *d_pages, in ttm_dma_pages_put()
394 static void ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page) in ttm_dma_page_put()
414 static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free) in ttm_dma_page_pool_free()
510 struct dma_pool *pool; in ttm_dma_free_pool()
551 struct dma_pool *pool = *(struct dma_pool **)res; in ttm_dma_pool_release()
559 return *(struct dma_pool **)res == match_data; in ttm_dma_pool_match()
562 static struct dma_pool *ttm_dma_pool_init(struct device *dev, gfp_t flags, in ttm_dma_pool_init()
568 struct dma_pool *pool = NULL, **ptr; in ttm_dma_pool_init()
582 pool = kmalloc_node(sizeof(struct dma_pool), GFP_KERNEL, in ttm_dma_pool_init()
638 static struct dma_pool *ttm_dma_find_pool(struct device *dev, in ttm_dma_find_pool()
641 struct dma_pool *pool, *tmp, *found = NULL; in ttm_dma_find_pool()
671 static void ttm_dma_handle_caching_state_failure(struct dma_pool *pool, in ttm_dma_handle_caching_state_failure()
704 static int ttm_dma_pool_alloc_new_pages(struct dma_pool *pool, in ttm_dma_pool_alloc_new_pages()
788 static int ttm_dma_page_pool_fill_locked(struct dma_pool *pool, in ttm_dma_page_pool_fill_locked()
835 static int ttm_dma_pool_get_pages(struct dma_pool *pool, in ttm_dma_pool_get_pages()
867 struct dma_pool *pool; in ttm_dma_populate()
938 struct dma_pool *pool; in ttm_dma_unpopulate()
1106 struct dma_pool *pool = NULL; in ttm_dma_page_alloc_debugfs()