Lines Matching refs:ttm_buffer_object
138 * struct ttm_buffer_object
194 struct ttm_buffer_object {
203 void (*destroy) (struct ttm_buffer_object *);
301 struct ttm_buffer_object *bo;
305 * ttm_bo_reference - reference a struct ttm_buffer_object
312 static inline struct ttm_buffer_object *
313 ttm_bo_reference(struct ttm_buffer_object *bo)
333 extern int ttm_bo_wait(struct ttm_buffer_object *bo, bool lazy,
352 extern int ttm_bo_validate(struct ttm_buffer_object *bo,
364 extern void ttm_bo_unref(struct ttm_buffer_object **bo);
398 ttm_bo_synccpu_write_grab(struct ttm_buffer_object *bo, bool no_wait);
406 extern void ttm_bo_synccpu_write_release(struct ttm_buffer_object *bo);
412 * @bo: Pointer to a ttm_buffer_object to be initialized.
429 * This function initializes a pre-allocated struct ttm_buffer_object.
432 * enables driver-specific objects derived from a ttm_buffer_object.
441 struct ttm_buffer_object *bo,
450 void (*destroy) (struct ttm_buffer_object *));
455 * @bo: Pointer to a ttm_buffer_object to be initialized.
471 * This function allocates a ttm_buffer_object, and then calls ttm_bo_init
487 struct ttm_buffer_object **p_bo);
500 extern int ttm_bo_check_placement(struct ttm_buffer_object *bo,
607 extern int ttm_bo_kmap(struct ttm_buffer_object *bo, unsigned long start_page,
633 struct ttm_buffer_object *bo);