Lines Matching refs:cur_flags
975 uint32_t cur_flags = ttm_bo_type_flags(mem_type); in ttm_bo_mt_compatible() local
977 if ((cur_flags & proposed_placement & TTM_PL_MASK_MEM) == 0) in ttm_bo_mt_compatible()
983 cur_flags |= (proposed_placement & man->available_caching); in ttm_bo_mt_compatible()
985 *masked_placement = cur_flags; in ttm_bo_mt_compatible()
1006 uint32_t cur_flags = 0; in ttm_bo_mem_space() local
1023 &cur_flags); in ttm_bo_mem_space()
1028 cur_flags = ttm_bo_select_caching(man, bo->mem.placement, in ttm_bo_mem_space()
1029 cur_flags); in ttm_bo_mem_space()
1034 ttm_flag_masked(&cur_flags, placement->placement[i], in ttm_bo_mem_space()
1052 mem->placement = cur_flags; in ttm_bo_mem_space()
1070 &cur_flags)) in ttm_bo_mem_space()
1073 cur_flags = ttm_bo_select_caching(man, bo->mem.placement, in ttm_bo_mem_space()
1074 cur_flags); in ttm_bo_mem_space()
1079 ttm_flag_masked(&cur_flags, placement->busy_placement[i], in ttm_bo_mem_space()
1085 mem->placement = cur_flags; in ttm_bo_mem_space()
1093 mem->placement = cur_flags; in ttm_bo_mem_space()