Lines Matching defs:ttm_dev
446 static void update_global_total_pages(struct ttm_device *ttm_dev,
450 struct xe_device *xe = ttm_to_xe_device(ttm_dev);
538 static int xe_ttm_tt_populate(struct ttm_device *ttm_dev, struct ttm_tt *tt,
553 err = ttm_tt_restore(ttm_dev, tt, ctx);
556 err = ttm_pool_alloc(&ttm_dev->pool, tt, ctx);
562 xe_ttm_tt_account_add(ttm_to_xe_device(ttm_dev), tt);
563 update_global_total_pages(ttm_dev, tt->num_pages);
568 static void xe_ttm_tt_unpopulate(struct ttm_device *ttm_dev, struct ttm_tt *tt)
570 struct xe_device *xe = ttm_to_xe_device(ttm_dev);
578 ttm_pool_free(&ttm_dev->pool, tt);
580 update_global_total_pages(ttm_dev, -(long)tt->num_pages);
583 static void xe_ttm_tt_destroy(struct ttm_device *ttm_dev, struct ttm_tt *tt)