Lines Matching defs:ttm_tt
32 struct ttm_tt;
54 * struct ttm_tt
68 struct ttm_tt {
77 static inline bool ttm_tt_is_populated(struct ttm_tt *tt)
82 static inline void ttm_tt_set_unpopulated(struct ttm_tt *tt)
87 static inline void ttm_tt_set_populated(struct ttm_tt *tt)
95 * @ttm: Base ttm_tt struct.
104 struct ttm_tt ttm;
123 * @ttm: The struct ttm_tt.
127 * Create a struct ttm_tt to back data with system memory pages.
132 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
142 * @ttm: the ttm_tt structure.
144 * Free memory of ttm_tt structure
146 void ttm_tt_fini(struct ttm_tt *ttm);
152 * @ttm: The struct ttm_tt.
154 * Unbind, unpopulate and destroy common struct ttm_tt.
156 void ttm_tt_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm);
163 void ttm_tt_destroy_common(struct ttm_bo_device *bdev, struct ttm_tt *ttm);
168 * @ttm: The struct ttm_tt.
170 * Swap in a previously swap out ttm_tt.
172 int ttm_tt_swapin(struct ttm_tt *ttm);
177 * @ttm A struct ttm_tt the backing pages of which will change caching policy.
187 int ttm_tt_set_placement_caching(struct ttm_tt *ttm, uint32_t placement);
188 int ttm_tt_swapout(struct ttm_bo_device *bdev, struct ttm_tt *ttm, struct file *persistent_swap_storage);
193 * @ttm: Pointer to the ttm_tt structure
197 int ttm_tt_populate(struct ttm_bo_device *bdev, struct ttm_tt *ttm, struct ttm_operation_ctx *ctx);
202 * @ttm: Pointer to the ttm_tt structure
206 void ttm_tt_unpopulate(struct ttm_bo_device *bdev, struct ttm_tt *ttm);
221 * bind and unbind memory backing a ttm_tt.
223 struct ttm_tt *ttm_agp_tt_create(struct ttm_buffer_object *bo,
226 int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem);
227 void ttm_agp_unbind(struct ttm_tt *ttm);
228 void ttm_agp_destroy(struct ttm_tt *ttm);
229 bool ttm_agp_is_bound(struct ttm_tt *ttm);