Lines Matching refs:place
168 struct ttm_place place = { .mem_type = mem_type };
184 place.flags |= TTM_PL_FLAG_CONTIGUOUS;
188 place.fpfn = 0;
189 place.lpfn = io_size >> PAGE_SHIFT;
191 place.flags |= TTM_PL_FLAG_TOPDOWN;
194 places[*c] = place;
868 struct ttm_place place = {
872 .placement = &place,
1390 struct ttm_place *place = bo->placements;
1395 place->flags = TTM_PL_FLAG_CONTIGUOUS;
1396 place->fpfn = start >> PAGE_SHIFT;
1397 place->lpfn = end >> PAGE_SHIFT;
1401 place->mem_type = XE_PL_VRAM0;
1404 place->mem_type = XE_PL_VRAM1;
1407 place->mem_type = XE_PL_STOLEN;
1417 .placement = place,
1752 struct ttm_place *place = &(bo->placements[0]);
1754 if (mem_type_is_vram(place->mem_type)) {
1755 xe_assert(xe, place->flags & TTM_PL_FLAG_CONTIGUOUS);
1757 place->fpfn = (xe_bo_addr(bo, 0, PAGE_SIZE) -
1759 place->lpfn = place->fpfn + (bo->size >> PAGE_SHIFT);
1819 struct ttm_place *place = &(bo->placements[0]);
1821 if (mem_type_is_vram(place->mem_type)) {
2169 static void xe_place_from_ttm_type(u32 mem_type, struct ttm_place *place)
2171 memset(place, 0, sizeof(*place));
2172 place->mem_type = mem_type;