Lines Matching defs:c
190 u32 bo_flags, u32 *c)
193 xe_assert(xe, *c < ARRAY_SIZE(bo->placements));
195 bo->placements[*c] = (struct ttm_place) {
200 *c += 1;
244 struct ttm_place *places, u32 bo_flags, u32 mem_type, u32 *c)
253 xe_assert(xe, *c < ARRAY_SIZE(bo->placements));
270 places[*c] = place;
271 *c += 1;
275 u32 bo_flags, enum ttm_bo_type type, u32 *c)
282 add_vram(xe, bo, bo->placements, bo_flags, pl, c);
287 u32 bo_flags, u32 *c)
290 xe_assert(xe, *c < ARRAY_SIZE(bo->placements));
292 bo->placements[*c] = (struct ttm_place) {
297 *c += 1;
304 u32 c = 0;
306 try_add_vram(xe, bo, bo_flags, type, &c);
307 try_add_system(xe, bo, bo_flags, &c);
308 try_add_stolen(xe, bo, bo_flags, &c);
310 if (!c)
314 .num_placement = c,
3459 u32 c = 0;
3461 add_vram(xe, bo, &requested, bo->flags, mem_type, &c);
3665 #include "tests/xe_bo.c"