Lines Matching refs:ttm
59 * @be: Pointer to the ttm backend.
95 * @ttm: Base ttm_tt struct.
104 struct ttm_tt ttm;
123 * @ttm: The struct ttm_tt.
124 * @bo: The buffer object we create the ttm for.
132 int ttm_tt_init(struct ttm_tt *ttm, struct ttm_buffer_object *bo,
142 * @ttm: the ttm_tt structure.
146 void ttm_tt_fini(struct ttm_tt *ttm);
152 * @ttm: The 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.
172 int ttm_tt_swapin(struct ttm_tt *ttm);
177 * @ttm A struct ttm_tt the backing pages of which will change caching policy.
181 * the pages backing @ttm. If changing from cached to uncached or
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);
191 * ttm_tt_populate - allocate pages for a ttm
193 * @ttm: Pointer to the ttm_tt structure
195 * Calls the driver method to allocate pages for a ttm
197 int ttm_tt_populate(struct ttm_bo_device *bdev, struct ttm_tt *ttm, struct ttm_operation_ctx *ctx);
200 * ttm_tt_unpopulate - free pages from a ttm
202 * @ttm: Pointer to the ttm_tt structure
204 * Calls the driver method to free all pages from a ttm
206 void ttm_tt_unpopulate(struct ttm_bo_device *bdev, struct ttm_tt *ttm);
214 * @bo: Buffer object we allocate the ttm for.
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);