Lines Matching refs:ttm_bo_device
70 static void ttm_mem_type_debug(struct ttm_bo_device *bdev, int mem_type) in ttm_mem_type_debug()
140 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_release_list()
166 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_add_to_lru()
236 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_add_ttm()
281 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_handle_move_mem()
428 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_cleanup_refs_or_queue()
554 static int ttm_bo_delayed_delete(struct ttm_bo_device *bdev, bool remove_all) in ttm_bo_delayed_delete()
612 struct ttm_bo_device *bdev = in ttm_bo_delayed_workqueue()
613 container_of(work, struct ttm_bo_device, wq.work); in ttm_bo_delayed_workqueue()
625 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_release()
645 int ttm_bo_lock_delayed_workqueue(struct ttm_bo_device *bdev) in ttm_bo_lock_delayed_workqueue()
651 void ttm_bo_unlock_delayed_workqueue(struct ttm_bo_device *bdev, int resched) in ttm_bo_unlock_delayed_workqueue()
662 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_evict()
710 static int ttm_mem_evict_first(struct ttm_bo_device *bdev, in ttm_mem_evict_first()
789 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_mem_force_space()
868 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_mem_space()
1075 int ttm_bo_init(struct ttm_bo_device *bdev, in ttm_bo_init()
1179 size_t ttm_bo_acc_size(struct ttm_bo_device *bdev, in ttm_bo_acc_size()
1193 size_t ttm_bo_dma_acc_size(struct ttm_bo_device *bdev, in ttm_bo_dma_acc_size()
1208 int ttm_bo_create(struct ttm_bo_device *bdev, in ttm_bo_create()
1236 static int ttm_bo_force_list_clean(struct ttm_bo_device *bdev, in ttm_bo_force_list_clean()
1264 int ttm_bo_clean_mm(struct ttm_bo_device *bdev, unsigned mem_type) in ttm_bo_clean_mm()
1295 int ttm_bo_evict_mm(struct ttm_bo_device *bdev, unsigned mem_type) in ttm_bo_evict_mm()
1313 int ttm_bo_init_mm(struct ttm_bo_device *bdev, unsigned type, in ttm_bo_init_mm()
1410 int ttm_bo_device_release(struct ttm_bo_device *bdev) in ttm_bo_device_release()
1453 int ttm_bo_device_init(struct ttm_bo_device *bdev, in ttm_bo_device_init()
1496 bool ttm_mem_reg_is_pci(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem) in ttm_mem_reg_is_pci()
1515 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_unmap_virtual_locked()
1523 struct ttm_bo_device *bdev = bo->bdev; in ttm_bo_unmap_virtual()
1693 void ttm_bo_swapout_all(struct ttm_bo_device *bdev) in ttm_bo_swapout_all()