drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
118
struct ttm_resource **res)
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
171
struct ttm_resource *res)
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
271
struct ttm_resource *res,
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
302
struct ttm_resource *res,
drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
98
bool amdgpu_gtt_mgr_has_gart_addr(struct ttm_resource *res)
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
1269
struct ttm_resource *new_mem)
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
1271
struct ttm_resource *old_mem = bo->resource;
drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
299
struct ttm_resource *new_mem);
drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c
62
struct ttm_resource **res)
drivers/gpu/drm/amd/amdgpu/amdgpu_preempt_mgr.c
82
struct ttm_resource *res)
drivers/gpu/drm/amd/amdgpu/amdgpu_res_cursor.h
54
static inline void amdgpu_res_first(struct ttm_resource *res,
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
1124
struct ttm_resource *res,
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
1430
uint64_t amdgpu_ttm_tt_pde_flags(struct ttm_tt *ttm, struct ttm_resource *mem)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
1464
struct ttm_resource *mem)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
1943
struct ttm_resource *tmp;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
199
struct ttm_resource *mem,
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
389
struct ttm_resource *new_mem,
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
390
struct ttm_resource *old_mem)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
458
struct ttm_resource *res)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
489
struct ttm_resource *mem)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
509
struct ttm_resource *new_mem,
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
514
struct ttm_resource *old_mem = bo->resource;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
641
struct ttm_resource *mem)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
70
struct ttm_resource *bo_mem);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
923
struct ttm_resource *bo_mem)
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
996
struct ttm_resource *tmp;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
118
struct ttm_resource *mem;
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
146
bool amdgpu_gtt_mgr_has_gart_addr(struct ttm_resource *mem);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
159
struct ttm_resource *mem,
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
175
struct ttm_resource *res);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
254
uint64_t amdgpu_ttm_tt_pde_flags(struct ttm_tt *ttm, struct ttm_resource *mem);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
256
struct ttm_resource *mem);
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h
262
struct ttm_resource *res,
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
1112
struct ttm_resource *res, dma_addr_t *pages_addr,
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
1269
struct ttm_resource *mem;
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
2304
void amdgpu_vm_bo_move(struct amdgpu_bo *bo, struct ttm_resource *new_mem,
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
346
struct ttm_resource *res, int sign)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
386
struct ttm_resource *res, int sign)
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
538
struct ttm_resource *res, dma_addr_t *pages_addr,
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
546
struct ttm_resource *new_res, int sign);
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
548
void amdgpu_vm_bo_move(struct amdgpu_bo *bo, struct ttm_resource *new_mem,
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
281
struct ttm_resource *res = bo->tbo.resource;
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
445
struct ttm_resource **res)
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
636
struct ttm_resource *res)
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
677
struct ttm_resource *res,
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
814
struct ttm_resource *res,
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
847
struct ttm_resource *res,
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.h
53
struct ttm_resource base;
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.h
76
to_amdgpu_vram_mgr_resource(struct ttm_resource *res)
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.h
81
static inline void amdgpu_vram_mgr_set_cleared(struct ttm_resource *res)
drivers/gpu/drm/amd/amdkfd/kfd_svm.h
119
struct ttm_resource *ttm_res;
drivers/gpu/drm/drm_gem_vram_helper.c
503
struct ttm_resource *new_mem)
drivers/gpu/drm/drm_gem_vram_helper.c
766
struct ttm_resource *new_mem,
drivers/gpu/drm/drm_gem_vram_helper.c
788
struct ttm_resource *mem)
drivers/gpu/drm/i915/gem/i915_gem_object_types.h
656
struct ttm_resource *res;
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
570
struct ttm_resource *res)
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
650
bool i915_ttm_resource_mappable(struct ttm_resource *res)
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
660
static int i915_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource *mem)
drivers/gpu/drm/i915/gem/i915_gem_ttm.h
105
bool i915_ttm_resource_mappable(struct ttm_resource *res);
drivers/gpu/drm/i915/gem/i915_gem_ttm.h
75
struct ttm_resource *res);
drivers/gpu/drm/i915/gem/i915_gem_ttm.h
88
static inline bool i915_ttm_gtt_binds_lmem(struct ttm_resource *mem)
drivers/gpu/drm/i915/gem/i915_gem_ttm.h
99
static inline bool i915_ttm_cpu_maps_iomem(struct ttm_resource *mem)
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
189
struct ttm_resource *dst_mem,
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
313
struct ttm_resource *dst_mem,
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
455
struct ttm_resource *dst_mem)
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
470
struct ttm_resource *dst_mem, struct ttm_tt *dst_ttm,
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
52
i915_ttm_cache_level(struct drm_i915_private *i915, struct ttm_resource *res,
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
572
struct ttm_resource *dst_mem,
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h
15
struct ttm_resource;
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.h
35
struct ttm_resource *dst_mem,
drivers/gpu/drm/i915/i915_scatterlist.c
163
struct i915_refct_sgt *i915_rsgt_from_buddy_resource(struct ttm_resource *res,
drivers/gpu/drm/i915/i915_scatterlist.h
18
struct ttm_resource;
drivers/gpu/drm/i915/i915_scatterlist.h
236
struct i915_refct_sgt *i915_rsgt_from_buddy_resource(struct ttm_resource *res,
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
139
struct ttm_resource *res)
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
154
struct ttm_resource *res,
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
192
struct ttm_resource *res,
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
38
struct ttm_resource **res)
drivers/gpu/drm/i915/i915_ttm_buddy_manager.h
32
struct ttm_resource base;
drivers/gpu/drm/i915/i915_ttm_buddy_manager.h
47
to_ttm_buddy_resource(struct ttm_resource *res)
drivers/gpu/drm/i915/intel_memory_region.h
20
struct ttm_resource;
drivers/gpu/drm/i915/intel_region_ttm.c
164
struct ttm_resource *res,
drivers/gpu/drm/i915/intel_region_ttm.c
197
struct ttm_resource *
drivers/gpu/drm/i915/intel_region_ttm.c
206
struct ttm_resource *res;
drivers/gpu/drm/i915/intel_region_ttm.c
256
struct ttm_resource *res)
drivers/gpu/drm/i915/intel_region_ttm.h
14
struct ttm_resource;
drivers/gpu/drm/i915/intel_region_ttm.h
27
struct ttm_resource *res,
drivers/gpu/drm/i915/intel_region_ttm.h
31
struct ttm_resource *res);
drivers/gpu/drm/i915/intel_region_ttm.h
38
struct ttm_resource *
drivers/gpu/drm/loongson/lsdc_drv.c
347
struct ttm_resource *resource = tbo->resource;
drivers/gpu/drm/loongson/lsdc_gem.c
260
struct ttm_resource *resource = tbo->resource;
drivers/gpu/drm/loongson/lsdc_ttm.c
143
struct ttm_resource *resource = tbo->resource;
drivers/gpu/drm/loongson/lsdc_ttm.c
162
struct ttm_resource *new_mem,
drivers/gpu/drm/loongson/lsdc_ttm.c
166
struct ttm_resource *old_mem = tbo->resource;
drivers/gpu/drm/loongson/lsdc_ttm.c
221
struct ttm_resource *mem)
drivers/gpu/drm/loongson/lsdc_ttm.c
257
struct ttm_resource *resource = tbo->resource;
drivers/gpu/drm/nouveau/nouveau_bo.c
1000
struct ttm_resource *, struct ttm_resource *);
drivers/gpu/drm/nouveau/nouveau_bo.c
1067
struct ttm_resource *new_reg)
drivers/gpu/drm/nouveau/nouveau_bo.c
1103
nouveau_bo_vm_bind(struct ttm_buffer_object *bo, struct ttm_resource *new_reg,
drivers/gpu/drm/nouveau/nouveau_bo.c
1146
struct ttm_resource *new_reg,
drivers/gpu/drm/nouveau/nouveau_bo.c
1152
struct ttm_resource *old_reg = bo->resource;
drivers/gpu/drm/nouveau/nouveau_bo.c
1234
struct ttm_resource *reg)
drivers/gpu/drm/nouveau/nouveau_bo.c
1254
nouveau_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource *reg)
drivers/gpu/drm/nouveau/nouveau_bo.c
1364
nouveau_ttm_io_mem_free(struct ttm_device *bdev, struct ttm_resource *reg)
drivers/gpu/drm/nouveau/nouveau_bo.c
48
struct ttm_resource *reg);
drivers/gpu/drm/nouveau/nouveau_bo.c
857
struct ttm_resource *reg)
drivers/gpu/drm/nouveau/nouveau_bo.c
905
struct ttm_resource *reg)
drivers/gpu/drm/nouveau/nouveau_bo.c
938
struct ttm_resource *new_reg)
drivers/gpu/drm/nouveau/nouveau_bo.h
112
struct ttm_resource *, struct ttm_resource *);
drivers/gpu/drm/nouveau/nouveau_bo.h
116
struct ttm_resource *, struct ttm_resource *);
drivers/gpu/drm/nouveau/nouveau_bo.h
119
struct ttm_resource *, struct ttm_resource *);
drivers/gpu/drm/nouveau/nouveau_bo.h
122
struct ttm_resource *, struct ttm_resource *);
drivers/gpu/drm/nouveau/nouveau_bo.h
126
struct ttm_resource *, struct ttm_resource *);
drivers/gpu/drm/nouveau/nouveau_bo.h
129
struct ttm_resource *, struct ttm_resource *);
drivers/gpu/drm/nouveau/nouveau_bo.h
133
struct ttm_resource *, struct ttm_resource *);
drivers/gpu/drm/nouveau/nouveau_bo0039.c
39
struct nouveau_channel *chan, struct ttm_resource *reg)
drivers/gpu/drm/nouveau/nouveau_bo0039.c
48
struct ttm_resource *old_reg, struct ttm_resource *new_reg)
drivers/gpu/drm/nouveau/nouveau_bo5039.c
40
struct ttm_resource *old_reg, struct ttm_resource *new_reg)
drivers/gpu/drm/nouveau/nouveau_bo74c1.c
37
struct ttm_resource *old_reg, struct ttm_resource *new_reg)
drivers/gpu/drm/nouveau/nouveau_bo85b5.c
41
struct ttm_resource *old_reg, struct ttm_resource *new_reg)
drivers/gpu/drm/nouveau/nouveau_bo9039.c
39
struct ttm_resource *old_reg, struct ttm_resource *new_reg)
drivers/gpu/drm/nouveau/nouveau_bo90b5.c
34
struct ttm_resource *old_reg, struct ttm_resource *new_reg)
drivers/gpu/drm/nouveau/nouveau_boa0b5.c
39
struct ttm_resource *old_reg, struct ttm_resource *new_reg)
drivers/gpu/drm/nouveau/nouveau_drv.h
240
struct ttm_resource *, struct ttm_resource *);
drivers/gpu/drm/nouveau/nouveau_mem.c
125
nouveau_mem_vram(struct ttm_resource *reg, bool contig, u8 page)
drivers/gpu/drm/nouveau/nouveau_mem.c
164
nouveau_mem_del(struct ttm_resource_manager *man, struct ttm_resource *reg)
drivers/gpu/drm/nouveau/nouveau_mem.c
175
struct ttm_resource **res)
drivers/gpu/drm/nouveau/nouveau_mem.c
191
nouveau_mem_intersects(struct ttm_resource *res,
drivers/gpu/drm/nouveau/nouveau_mem.c
206
nouveau_mem_compatible(struct ttm_resource *res,
drivers/gpu/drm/nouveau/nouveau_mem.c
89
nouveau_mem_host(struct ttm_resource *reg, struct ttm_tt *tt)
drivers/gpu/drm/nouveau/nouveau_mem.h
10
struct ttm_resource base;
drivers/gpu/drm/nouveau/nouveau_mem.h
19
nouveau_mem(struct ttm_resource *reg)
drivers/gpu/drm/nouveau/nouveau_mem.h
25
struct ttm_resource **);
drivers/gpu/drm/nouveau/nouveau_mem.h
27
struct ttm_resource *);
drivers/gpu/drm/nouveau/nouveau_mem.h
28
bool nouveau_mem_intersects(struct ttm_resource *res,
drivers/gpu/drm/nouveau/nouveau_mem.h
31
bool nouveau_mem_compatible(struct ttm_resource *res,
drivers/gpu/drm/nouveau/nouveau_mem.h
34
int nouveau_mem_vram(struct ttm_resource *, bool contig, u8 page);
drivers/gpu/drm/nouveau/nouveau_mem.h
35
int nouveau_mem_host(struct ttm_resource *, struct ttm_tt *);
drivers/gpu/drm/nouveau/nouveau_sgdma.c
31
nouveau_sgdma_bind(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg)
drivers/gpu/drm/nouveau/nouveau_ttm.c
102
struct ttm_resource **res)
drivers/gpu/drm/nouveau/nouveau_ttm.c
128
struct ttm_resource **res)
drivers/gpu/drm/nouveau/nouveau_ttm.c
40
struct ttm_resource *reg)
drivers/gpu/drm/nouveau/nouveau_ttm.c
47
struct ttm_resource *res,
drivers/gpu/drm/nouveau/nouveau_ttm.c
56
struct ttm_resource *res,
drivers/gpu/drm/nouveau/nouveau_ttm.c
67
struct ttm_resource **res)
drivers/gpu/drm/nouveau/nouveau_ttm.h
24
int nouveau_sgdma_bind(struct ttm_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg);
drivers/gpu/drm/nouveau/nv17_fence.c
80
struct ttm_resource *reg = priv->bo->bo.resource;
drivers/gpu/drm/nouveau/nv50_fence.c
40
struct ttm_resource *reg = priv->bo->bo.resource;
drivers/gpu/drm/qxl/qxl_drv.h
327
struct ttm_resource *mem);
drivers/gpu/drm/qxl/qxl_ttm.c
123
struct ttm_resource *new_mem)
drivers/gpu/drm/qxl/qxl_ttm.c
139
struct ttm_resource *new_mem,
drivers/gpu/drm/qxl/qxl_ttm.c
142
struct ttm_resource *old_mem = bo->resource;
drivers/gpu/drm/qxl/qxl_ttm.c
73
struct ttm_resource *mem)
drivers/gpu/drm/radeon/radeon.h
2856
struct ttm_resource *mem);
drivers/gpu/drm/radeon/radeon_ttm.c
135
struct ttm_resource *new_mem,
drivers/gpu/drm/radeon/radeon_ttm.c
136
struct ttm_resource *old_mem)
drivers/gpu/drm/radeon/radeon_ttm.c
190
struct ttm_resource *new_mem,
drivers/gpu/drm/radeon/radeon_ttm.c
193
struct ttm_resource *old_mem = bo->resource;
drivers/gpu/drm/radeon/radeon_ttm.c
256
static int radeon_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource *mem)
drivers/gpu/drm/radeon/radeon_ttm.c
422
struct ttm_resource *bo_mem)
drivers/gpu/drm/radeon/radeon_ttm.c
57
struct ttm_resource *bo_mem);
drivers/gpu/drm/radeon/radeon_ttm.c
601
struct ttm_resource *bo_mem)
drivers/gpu/drm/radeon/radeon_vm.c
910
struct ttm_resource *mem)
drivers/gpu/drm/ttm/tests/ttm_bo_test.c
242
struct ttm_resource *res1, *res2;
drivers/gpu/drm/ttm/tests/ttm_bo_test.c
285
struct ttm_resource *res1, *res2;
drivers/gpu/drm/ttm/tests/ttm_bo_test.c
327
struct ttm_resource *res1, *res2;
drivers/gpu/drm/ttm/tests/ttm_bo_test.c
386
struct ttm_resource *res;
drivers/gpu/drm/ttm/tests/ttm_bo_test.c
501
struct ttm_resource *res;
drivers/gpu/drm/ttm/tests/ttm_bo_test.c
552
struct ttm_resource *res;
drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c
65
struct ttm_resource *new_mem,
drivers/gpu/drm/ttm/tests/ttm_kunit_helpers.c
68
struct ttm_resource *old_mem = bo->resource;
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
155
struct ttm_resource **res)
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
163
struct ttm_resource **res)
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
169
struct ttm_resource *res)
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
174
struct ttm_resource *res,
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
22
to_mock_mgr_resource(struct ttm_resource *res)
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
30
struct ttm_resource **res)
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
78
struct ttm_resource *res)
drivers/gpu/drm/ttm/tests/ttm_mock_manager.h
19
struct ttm_resource base;
drivers/gpu/drm/ttm/tests/ttm_resource_test.c
105
KUNIT_ARRAY_PARAM(ttm_resource, ttm_resource_cases, ttm_resource_case_desc);
drivers/gpu/drm/ttm/tests/ttm_resource_test.c
111
struct ttm_resource *res;
drivers/gpu/drm/ttm/tests/ttm_resource_test.c
154
struct ttm_resource *res;
drivers/gpu/drm/ttm/tests/ttm_resource_test.c
184
struct ttm_resource *res;
drivers/gpu/drm/ttm/tests/ttm_resource_test.c
230
struct ttm_resource *res;
drivers/gpu/drm/ttm/tests/ttm_resource_test.c
271
struct ttm_resource *res;
drivers/gpu/drm/ttm/tests/ttm_resource_test.c
296
struct ttm_resource *res;
drivers/gpu/drm/ttm/ttm_agp_backend.c
51
int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem)
drivers/gpu/drm/ttm/ttm_bo.c
1150
struct ttm_resource *evict_mem;
drivers/gpu/drm/ttm/ttm_bo.c
122
struct ttm_resource *mem, bool evict,
drivers/gpu/drm/ttm/ttm_bo.c
339
struct ttm_resource *hop_mem;
drivers/gpu/drm/ttm/ttm_bo.c
361
struct ttm_resource *evict_mem;
drivers/gpu/drm/ttm/ttm_bo.c
423
struct ttm_resource *res = bo->resource;
drivers/gpu/drm/ttm/ttm_bo.c
450
struct ttm_resource *res;
drivers/gpu/drm/ttm/ttm_bo.c
502
struct ttm_resource **res;
drivers/gpu/drm/ttm/ttm_bo.c
562
struct ttm_resource **res,
drivers/gpu/drm/ttm/ttm_bo.c
714
struct ttm_resource **res)
drivers/gpu/drm/ttm/ttm_bo.c
787
struct ttm_resource **res,
drivers/gpu/drm/ttm/ttm_bo.c
822
struct ttm_resource *res;
drivers/gpu/drm/ttm/ttm_bo_util.c
148
struct ttm_resource *dst_mem)
drivers/gpu/drm/ttm/ttm_bo_util.c
154
struct ttm_resource *src_mem = bo->resource;
drivers/gpu/drm/ttm/ttm_bo_util.c
295
pgprot_t ttm_io_prot(struct ttm_buffer_object *bo, struct ttm_resource *res,
drivers/gpu/drm/ttm/ttm_bo_util.c
319
struct ttm_resource *mem = bo->resource;
drivers/gpu/drm/ttm/ttm_bo_util.c
345
struct ttm_resource *mem = bo->resource;
drivers/gpu/drm/ttm/ttm_bo_util.c
428
struct ttm_resource *res = bo->resource;
drivers/gpu/drm/ttm/ttm_bo_util.c
50
struct ttm_resource *mem)
drivers/gpu/drm/ttm/ttm_bo_util.c
500
struct ttm_resource *mem = bo->resource;
drivers/gpu/drm/ttm/ttm_bo_util.c
566
struct ttm_resource *mem = bo->resource;
drivers/gpu/drm/ttm/ttm_bo_util.c
63
struct ttm_resource *mem)
drivers/gpu/drm/ttm/ttm_bo_util.c
704
struct ttm_resource *new_mem)
drivers/gpu/drm/ttm/ttm_bo_util.c
738
struct ttm_resource *new_mem)
drivers/gpu/drm/ttm/ttm_bo_util.c
978
struct ttm_resource *res = NULL;
drivers/gpu/drm/ttm/ttm_device.c
281
struct ttm_resource *res;
drivers/gpu/drm/ttm/ttm_range_manager.c
105
struct ttm_resource *res)
drivers/gpu/drm/ttm/ttm_range_manager.c
119
struct ttm_resource *res,
drivers/gpu/drm/ttm/ttm_range_manager.c
135
struct ttm_resource *res,
drivers/gpu/drm/ttm/ttm_range_manager.c
63
struct ttm_resource **res)
drivers/gpu/drm/ttm/ttm_resource.c
184
ttm_lru_bulk_move_pos(struct ttm_lru_bulk_move *bulk, struct ttm_resource *res)
drivers/gpu/drm/ttm/ttm_resource.c
190
static struct ttm_resource *ttm_lru_prev_res(struct ttm_resource *cur)
drivers/gpu/drm/ttm/ttm_resource.c
202
static struct ttm_resource *ttm_lru_next_res(struct ttm_resource *cur)
drivers/gpu/drm/ttm/ttm_resource.c
215
struct ttm_resource *res)
drivers/gpu/drm/ttm/ttm_resource.c
227
struct ttm_resource *res)
drivers/gpu/drm/ttm/ttm_resource.c
242
struct ttm_resource *res)
drivers/gpu/drm/ttm/ttm_resource.c
259
static bool ttm_resource_is_swapped(struct ttm_resource *res, struct ttm_buffer_object *bo)
drivers/gpu/drm/ttm/ttm_resource.c
274
static bool ttm_resource_unevictable(struct ttm_resource *res, struct ttm_buffer_object *bo)
drivers/gpu/drm/ttm/ttm_resource.c
280
void ttm_resource_add_bulk_move(struct ttm_resource *res,
drivers/gpu/drm/ttm/ttm_resource.c
288
void ttm_resource_del_bulk_move(struct ttm_resource *res,
drivers/gpu/drm/ttm/ttm_resource.c
300
void ttm_resource_del_bulk_move_unevictable(struct ttm_resource *res,
drivers/gpu/drm/ttm/ttm_resource.c
309
void ttm_resource_move_to_lru_tail(struct ttm_resource *res)
drivers/gpu/drm/ttm/ttm_resource.c
342
struct ttm_resource *res)
drivers/gpu/drm/ttm/ttm_resource.c
378
struct ttm_resource *res)
drivers/gpu/drm/ttm/ttm_resource.c
391
struct ttm_resource **res_ptr,
drivers/gpu/drm/ttm/ttm_resource.c
424
void ttm_resource_free(struct ttm_buffer_object *bo, struct ttm_resource **res)
drivers/gpu/drm/ttm/ttm_resource.c
459
struct ttm_resource *res,
drivers/gpu/drm/ttm/ttm_resource.c
481
bool ttm_resource_compatible(struct ttm_resource *res,
drivers/gpu/drm/ttm/ttm_resource.c
517
void ttm_resource_set_bo(struct ttm_resource *res,
drivers/gpu/drm/ttm/ttm_resource.c
640
struct ttm_resource *next = ttm_lru_item_to_res(next_lru);
drivers/gpu/drm/ttm/ttm_resource.c
668
struct ttm_resource *
drivers/gpu/drm/ttm/ttm_resource.c
689
struct ttm_resource *
drivers/gpu/drm/ttm/ttm_resource.c
724
struct ttm_resource *ttm_lru_first_res_or_null(struct list_head *head)
drivers/gpu/drm/ttm/ttm_resource.c
849
struct ttm_resource *mem)
drivers/gpu/drm/ttm/ttm_resource.c
911
struct ttm_resource *mem)
drivers/gpu/drm/ttm/ttm_sys_manager.c
13
struct ttm_resource **res)
drivers/gpu/drm/ttm/ttm_sys_manager.c
24
struct ttm_resource *res)
drivers/gpu/drm/vmwgfx/vmwgfx_bo.c
716
struct ttm_resource *mem)
drivers/gpu/drm/vmwgfx/vmwgfx_bo.h
141
struct ttm_resource *mem);
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
811
struct ttm_resource *old_mem,
drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
812
struct ttm_resource *new_mem);
drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c
128
struct ttm_resource *res)
drivers/gpu/drm/vmwgfx/vmwgfx_gmrid_manager.c
55
struct ttm_resource **res)
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
839
struct ttm_resource *old_mem,
drivers/gpu/drm/vmwgfx/vmwgfx_resource.c
840
struct ttm_resource *new_mem)
drivers/gpu/drm/vmwgfx/vmwgfx_system_manager.c
38
struct ttm_resource **res)
drivers/gpu/drm/vmwgfx/vmwgfx_system_manager.c
49
struct ttm_resource *res)
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
274
struct ttm_tt *ttm, struct ttm_resource *bo_mem)
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
438
static int vmw_ttm_io_mem_reserve(struct ttm_device *bdev, struct ttm_resource *mem)
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
472
struct ttm_resource *old_mem,
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
473
struct ttm_resource *new_mem)
drivers/gpu/drm/vmwgfx/vmwgfx_ttm_buffer.c
499
struct ttm_resource *new_mem,
drivers/gpu/drm/xe/tests/xe_migrate.c
379
struct ttm_resource *src = src_bo->ttm.resource, *dst = dst_bo->ttm.resource;
drivers/gpu/drm/xe/xe_bo.c
100
static bool resource_is_vram(struct ttm_resource *res)
drivers/gpu/drm/xe/xe_bo.c
1200
struct ttm_resource *new_resource;
drivers/gpu/drm/xe/xe_bo.c
2940
uint64_t vram_region_gpu_offset(struct ttm_resource *res)
drivers/gpu/drm/xe/xe_bo.c
589
static bool xe_ttm_resource_visible(struct xe_device *xe, struct ttm_resource *mem)
drivers/gpu/drm/xe/xe_bo.c
621
struct ttm_resource *mem)
drivers/gpu/drm/xe/xe_bo.c
734
struct ttm_resource *new_res)
drivers/gpu/drm/xe/xe_bo.c
798
struct ttm_resource *old_mem = ttm_bo->resource;
drivers/gpu/drm/xe/xe_bo.c
95
static bool resource_is_stolen_vram(struct xe_device *xe, struct ttm_resource *res)
drivers/gpu/drm/xe/xe_bo.c
952
struct ttm_resource *new_mem,
drivers/gpu/drm/xe/xe_bo.c
957
struct ttm_resource *old_mem = ttm_bo->resource;
drivers/gpu/drm/xe/xe_bo.h
428
uint64_t vram_region_gpu_offset(struct ttm_resource *res);
drivers/gpu/drm/xe/xe_migrate.c
1101
struct ttm_resource *src,
drivers/gpu/drm/xe/xe_migrate.c
1102
struct ttm_resource *dst,
drivers/gpu/drm/xe/xe_migrate.c
1121
struct ttm_resource *res)
drivers/gpu/drm/xe/xe_migrate.c
1182
struct ttm_resource *new_mem,
drivers/gpu/drm/xe/xe_migrate.c
1188
struct ttm_resource *src = new_mem;
drivers/gpu/drm/xe/xe_migrate.c
1395
struct ttm_resource *vram = vram_bo->ttm.resource;
drivers/gpu/drm/xe/xe_migrate.c
1396
struct ttm_resource *sysmem = sysmem_bo->ttm.resource;
drivers/gpu/drm/xe/xe_migrate.c
1604
struct ttm_resource *dst,
drivers/gpu/drm/xe/xe_migrate.c
1616
struct ttm_resource *src = dst;
drivers/gpu/drm/xe/xe_migrate.c
589
struct ttm_resource *res,
drivers/gpu/drm/xe/xe_migrate.c
630
u32 size, struct ttm_resource *res)
drivers/gpu/drm/xe/xe_migrate.c
888
struct ttm_resource *src,
drivers/gpu/drm/xe/xe_migrate.c
889
struct ttm_resource *dst,
drivers/gpu/drm/xe/xe_migrate.h
131
struct ttm_resource *src,
drivers/gpu/drm/xe/xe_migrate.h
132
struct ttm_resource *dst,
drivers/gpu/drm/xe/xe_migrate.h
137
struct ttm_resource *res);
drivers/gpu/drm/xe/xe_migrate.h
14
struct ttm_resource;
drivers/gpu/drm/xe/xe_migrate.h
141
struct ttm_resource *new_mem,
drivers/gpu/drm/xe/xe_migrate.h
163
struct ttm_resource *dst,
drivers/gpu/drm/xe/xe_res_cursor.h
72
static struct gpu_buddy *xe_res_get_buddy(struct ttm_resource *res)
drivers/gpu/drm/xe/xe_res_cursor.h
90
static inline void xe_res_first(struct ttm_resource *res,
drivers/gpu/drm/xe/xe_sriov_vf_ccs.c
418
int xe_sriov_vf_ccs_attach_bo(struct xe_bo *bo, struct ttm_resource *new_mem)
drivers/gpu/drm/xe/xe_sriov_vf_ccs.h
14
struct ttm_resource;
drivers/gpu/drm/xe/xe_sriov_vf_ccs.h
19
int xe_sriov_vf_ccs_attach_bo(struct xe_bo *bo, struct ttm_resource *new_mem);
drivers/gpu/drm/xe/xe_svm.c
787
struct ttm_resource *res = bo->ttm.resource;
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
267
struct ttm_resource *mem)
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
289
struct ttm_resource *mem)
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c
314
int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem)
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h
11
struct ttm_resource;
drivers/gpu/drm/xe/xe_ttm_stolen_mgr.h
28
int xe_ttm_stolen_io_mem_reserve(struct xe_device *xe, struct ttm_resource *mem);
drivers/gpu/drm/xe/xe_ttm_sys_mgr.c
23
to_xe_ttm_sys_node(struct ttm_resource *res)
drivers/gpu/drm/xe/xe_ttm_sys_mgr.c
31
struct ttm_resource **res)
drivers/gpu/drm/xe/xe_ttm_sys_mgr.c
64
struct ttm_resource *res)
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
173
struct ttm_resource *res)
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
210
struct ttm_resource *res,
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
240
struct ttm_resource *res,
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
349
struct ttm_resource *res,
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
52
struct ttm_resource **res)
drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
21
struct ttm_resource *res,
drivers/gpu/drm/xe/xe_ttm_vram_mgr.h
35
to_xe_ttm_vram_mgr_resource(struct ttm_resource *res)
drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h
39
struct ttm_resource base;
drivers/gpu/drm/xe/xe_vram.c
261
struct xe_vram_region *xe_map_resource_to_region(struct ttm_resource *res)
drivers/gpu/drm/xe/xe_vram.h
13
struct ttm_resource;
drivers/gpu/drm/xe/xe_vram.h
15
struct xe_vram_region *xe_map_resource_to_region(struct ttm_resource *res);
include/drm/ttm/ttm_bo.h
120
struct ttm_resource *resource;
include/drm/ttm/ttm_bo.h
348
struct ttm_resource *new_mem)
include/drm/ttm/ttm_bo.h
362
struct ttm_resource *new_mem)
include/drm/ttm/ttm_bo.h
450
struct ttm_resource **mem,
include/drm/ttm/ttm_bo.h
458
struct ttm_resource *mem);
include/drm/ttm/ttm_bo.h
460
struct ttm_resource *mem);
include/drm/ttm/ttm_bo.h
466
struct ttm_resource *new_mem);
include/drm/ttm/ttm_bo.h
470
struct ttm_resource *new_mem);
include/drm/ttm/ttm_bo.h
472
struct ttm_resource *new_mem);
include/drm/ttm/ttm_bo.h
474
pgprot_t ttm_io_prot(struct ttm_buffer_object *bo, struct ttm_resource *res,
include/drm/ttm/ttm_bo.h
50
struct ttm_resource;
include/drm/ttm/ttm_device.h
152
struct ttm_resource *new_mem,
include/drm/ttm/ttm_device.h
172
struct ttm_resource *mem);
include/drm/ttm/ttm_device.h
174
struct ttm_resource *mem);
include/drm/ttm/ttm_range_manager.h
20
struct ttm_resource base;
include/drm/ttm/ttm_range_manager.h
32
to_ttm_range_mgr_node(struct ttm_resource *res)
include/drm/ttm/ttm_resource.h
125
struct ttm_resource **res);
include/drm/ttm/ttm_resource.h
137
struct ttm_resource *res);
include/drm/ttm/ttm_resource.h
151
struct ttm_resource *res,
include/drm/ttm/ttm_resource.h
167
struct ttm_resource *res,
include/drm/ttm/ttm_resource.h
285
static inline struct ttm_resource *
include/drm/ttm/ttm_resource.h
288
return container_of(item, struct ttm_resource, lru);
include/drm/ttm/ttm_resource.h
300
struct ttm_resource *first;
include/drm/ttm/ttm_resource.h
301
struct ttm_resource *last;
include/drm/ttm/ttm_resource.h
447
void ttm_resource_add_bulk_move(struct ttm_resource *res,
include/drm/ttm/ttm_resource.h
449
void ttm_resource_del_bulk_move(struct ttm_resource *res,
include/drm/ttm/ttm_resource.h
45
struct ttm_resource;
include/drm/ttm/ttm_resource.h
451
void ttm_resource_del_bulk_move_unevictable(struct ttm_resource *res,
include/drm/ttm/ttm_resource.h
453
void ttm_resource_move_to_lru_tail(struct ttm_resource *res);
include/drm/ttm/ttm_resource.h
457
struct ttm_resource *res);
include/drm/ttm/ttm_resource.h
459
struct ttm_resource *res);
include/drm/ttm/ttm_resource.h
463
struct ttm_resource **res,
include/drm/ttm/ttm_resource.h
465
void ttm_resource_free(struct ttm_buffer_object *bo, struct ttm_resource **res);
include/drm/ttm/ttm_resource.h
467
struct ttm_resource *res,
include/drm/ttm/ttm_resource.h
470
bool ttm_resource_compatible(struct ttm_resource *res,
include/drm/ttm/ttm_resource.h
473
void ttm_resource_set_bo(struct ttm_resource *res,
include/drm/ttm/ttm_resource.h
487
struct ttm_resource *
include/drm/ttm/ttm_resource.h
489
struct ttm_resource *
include/drm/ttm/ttm_resource.h
492
struct ttm_resource *
include/drm/ttm/ttm_resource.h
517
struct ttm_resource *mem);
include/drm/ttm/ttm_resource.h
521
struct ttm_resource *mem);
include/drm/ttm/ttm_tt.h
321
int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem);
include/drm/ttm/ttm_tt.h
38
struct ttm_resource;