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, NULL); in ttm_tt_kunit_init()
78 struct ttm_test_devices *devs = priv->devs; in ttm_pool_pre_populated() local
89 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_pre_populated()
137 struct ttm_test_devices *devs = priv->devs; in ttm_pool_alloc_basic() local
153 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, params->use_dma_alloc, in ttm_pool_alloc_basic()
156 KUNIT_ASSERT_PTR_EQ(test, pool->dev, devs->dev); in ttm_pool_alloc_basic()
198 struct ttm_test_devices *devs = priv->devs; in ttm_pool_alloc_basic_dma_addr() local
212 bo = ttm_bo_kunit_init(test, devs, size, NULL); in ttm_pool_alloc_basic_dma_addr()
221 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_alloc_basic_dma_addr()
337 struct ttm_test_devices *devs = priv->devs; in ttm_pool_free_dma_alloc() local
351 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, true, false); in ttm_pool_free_dma_alloc()
368 struct ttm_test_devices *devs = priv->devs; in ttm_pool_free_no_dma_alloc() local
382 ttm_pool_init(pool, devs->dev, NUMA_NO_NODE, false, false); in ttm_pool_free_no_dma_alloc()