• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/sys/dev/drm2/ttm/

Lines Matching defs:dma_pool

105 struct dma_pool {
125 * @page_list: The link to the 'page_list' in 'struct dma_pool'.
154 * @pool: The 'struct dma_pool' associated with the 'dev'
159 struct dma_pool *pool;
166 * @pools: List of 'struct device' and 'struct dma_pool' tuples.
308 static int ttm_set_pages_caching(struct dma_pool *pool,
328 static void __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page)
336 static struct dma_page *__ttm_dma_alloc_page(struct dma_pool *pool)
371 static void ttm_pool_update_free_locked(struct dma_pool *pool,
380 static void ttm_dma_pages_put(struct dma_pool *pool, struct list_head *d_pages,
397 static void ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page)
417 static unsigned ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free)
513 struct dma_pool *pool;
554 struct dma_pool *pool = *(struct dma_pool **)res;
562 return *(struct dma_pool **)res == match_data;
565 static struct dma_pool *ttm_dma_pool_init(struct device *dev, gfp_t flags,
571 struct dma_pool *pool = NULL, **ptr;
585 pool = kmalloc_node(sizeof(struct dma_pool), GFP_KERNEL,
623 /* You can get the dma_pool from either the global: */
641 static struct dma_pool *ttm_dma_find_pool(struct device *dev,
644 struct dma_pool *pool, *tmp, *found = NULL;
674 static void ttm_dma_handle_caching_state_failure(struct dma_pool *pool,
707 static int ttm_dma_pool_alloc_new_pages(struct dma_pool *pool,
791 static int ttm_dma_page_pool_fill_locked(struct dma_pool *pool,
838 static int ttm_dma_pool_get_pages(struct dma_pool *pool,
870 struct dma_pool *pool;
941 struct dma_pool *pool;
1077 &glob->kobj, "dma_pool");
1109 struct dma_pool *pool = NULL;