Lines Matching refs:new_mem
55 struct ttm_resource *new_mem) in ttm_bo_move_ttm() argument
75 ret = ttm_tt_set_placement_caching(ttm, new_mem->placement); in ttm_bo_move_ttm()
79 if (new_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm()
85 ret = ttm_bo_tt_bind(bo, new_mem); in ttm_bo_move_ttm()
90 ttm_bo_assign_mem(bo, new_mem); in ttm_bo_move_ttm()
219 struct ttm_resource *new_mem) in ttm_bo_move_memcpy() argument
222 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_memcpy()
241 ret = ttm_resource_ioremap(bdev, new_mem, &new_iomap); in ttm_bo_move_memcpy()
257 memset_io(new_iomap, 0, new_mem->num_pages*PAGE_SIZE); in ttm_bo_move_memcpy()
273 if ((old_mem->mem_type == new_mem->mem_type) && in ttm_bo_move_memcpy()
274 (new_mem->start < old_mem->start + old_mem->size)) { in ttm_bo_move_memcpy()
276 add = new_mem->num_pages - 1; in ttm_bo_move_memcpy()
279 for (i = 0; i < new_mem->num_pages; ++i) { in ttm_bo_move_memcpy()
287 pgprot_t prot = ttm_io_prot(new_mem->placement, in ttm_bo_move_memcpy()
301 ttm_bo_assign_mem(bo, new_mem); in ttm_bo_move_memcpy()
610 struct ttm_resource *new_mem) in ttm_bo_move_accel_cleanup() argument
614 struct ttm_resource_manager *man = ttm_manager_type(bdev, new_mem->mem_type); in ttm_bo_move_accel_cleanup()
628 ttm_bo_assign_mem(bo, new_mem); in ttm_bo_move_accel_cleanup()