Lines Matching refs:devs
19 struct ttm_test_devices *devs; member
37 priv->devs = ttm_test_devices_basic(test); in ttm_pool_test_init()
47 ttm_test_devices_put(test, priv->devs); in ttm_pool_test_fini()
60 bo = ttm_bo_kunit_init(test, priv->devs, size); in ttm_tt_kunit_init()
78 struct ttm_test_devices *devs = priv->devs; in ttm_pool_pre_populated() local
90 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_pre_populated()
138 struct ttm_test_devices *devs = priv->devs; in ttm_pool_alloc_basic() local
154 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, params->use_dma_alloc, in ttm_pool_alloc_basic()
157 KUNIT_ASSERT_PTR_EQ(test, pool->dev, devs->dev); in ttm_pool_alloc_basic()
199 struct ttm_test_devices *devs = priv->devs; in ttm_pool_alloc_basic_dma_addr() local
213 bo = ttm_bo_kunit_init(test, devs, size); in ttm_pool_alloc_basic_dma_addr()
222 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_alloc_basic_dma_addr()
338 struct ttm_test_devices *devs = priv->devs; in ttm_pool_free_dma_alloc() local
352 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_free_dma_alloc()
369 struct ttm_test_devices *devs = priv->devs; in ttm_pool_free_no_dma_alloc() local
383 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, false, false); in ttm_pool_free_no_dma_alloc()