Lines Matching refs:place

21 	struct ttm_place *place;  member
58 priv->place = ttm_place_kunit_init(test, mem_type, flags); in ttm_init_test_mocks()
113 struct ttm_place *place; in ttm_resource_init_basic() local
119 place = priv->place; in ttm_resource_init_basic()
127 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type); in ttm_resource_init_basic()
132 ttm_resource_init(bo, place, res); in ttm_resource_init_basic()
136 KUNIT_ASSERT_EQ(test, res->mem_type, place->mem_type); in ttm_resource_init_basic()
137 KUNIT_ASSERT_EQ(test, res->placement, place->flags); in ttm_resource_init_basic()
156 struct ttm_place *place; in ttm_resource_init_pinned() local
161 place = priv->place; in ttm_resource_init_pinned()
163 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type); in ttm_resource_init_pinned()
171 ttm_resource_init(bo, place, res); in ttm_resource_init_pinned()
186 struct ttm_place *place; in ttm_resource_fini_basic() local
191 place = priv->place; in ttm_resource_fini_basic()
193 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type); in ttm_resource_fini_basic()
198 ttm_resource_init(bo, place, res); in ttm_resource_fini_basic()
231 struct ttm_place *place; in ttm_resource_manager_usage_basic() local
237 place = priv->place; in ttm_resource_manager_usage_basic()
242 man = ttm_manager_type(priv->devs->ttm_dev, place->mem_type); in ttm_resource_manager_usage_basic()
244 ttm_resource_init(bo, place, res); in ttm_resource_manager_usage_basic()
269 struct ttm_place *place; in ttm_sys_man_alloc_basic() local
276 place = priv->place; in ttm_sys_man_alloc_basic()
279 ret = man->func->alloc(man, bo, place, &res); in ttm_sys_man_alloc_basic()
294 struct ttm_place *place; in ttm_sys_man_free_basic() local
300 place = priv->place; in ttm_sys_man_free_basic()
305 ttm_resource_alloc(bo, place, &res); in ttm_sys_man_free_basic()