Lines Matching defs:ttm_tt

36 struct ttm_tt;
42 * struct ttm_tt - This is a structure holding the pages, caching- and aperture
46 struct ttm_tt {
73 * implementing a ttm_tt backend which still allocates driver owned
111 * @tt: Cached struct ttm_tt.
116 struct ttm_tt *tt;
120 static inline bool ttm_tt_is_populated(struct ttm_tt *tt)
139 * @ttm: The struct ttm_tt.
145 * Create a struct ttm_tt to back data with system memory pages.
150 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
153 int ttm_sg_tt_init(struct ttm_tt *ttm_dma, struct ttm_buffer_object *bo,
159 * @ttm: the ttm_tt structure.
161 * Free memory of ttm_tt structure
163 void ttm_tt_fini(struct ttm_tt *ttm);
169 * @ttm: The struct ttm_tt.
171 * Unbind, unpopulate and destroy common struct ttm_tt.
173 void ttm_tt_destroy(struct ttm_device *bdev, struct ttm_tt *ttm);
178 * @ttm: The struct ttm_tt.
180 * Swap in a previously swap out ttm_tt.
182 int ttm_tt_swapin(struct ttm_tt *ttm);
183 int ttm_tt_swapout(struct ttm_device *bdev, struct ttm_tt *ttm,
190 * @ttm: Pointer to the ttm_tt structure
195 int ttm_tt_populate(struct ttm_device *bdev, struct ttm_tt *ttm,
202 * @ttm: Pointer to the ttm_tt structure
206 void ttm_tt_unpopulate(struct ttm_device *bdev, struct ttm_tt *ttm);
211 * @ttm: Pointer to the ttm_tt structure
216 static inline void ttm_tt_mark_for_clear(struct ttm_tt *ttm)
224 struct ttm_tt *tt);
239 * bind and unbind memory backing a ttm_tt.
241 struct ttm_tt *ttm_agp_tt_create(struct ttm_buffer_object *bo,
244 int ttm_agp_bind(struct ttm_tt *ttm, struct ttm_resource *bo_mem);
245 void ttm_agp_unbind(struct ttm_tt *ttm);
246 void ttm_agp_destroy(struct ttm_tt *ttm);
247 bool ttm_agp_is_bound(struct ttm_tt *ttm);