Lines Matching defs:bdev
54 return container_of(bd, struct vbox_private, ttm.bdev);
140 vbox_bo_init_mem_type(struct ttm_bo_device *bdev, uint32_t type,
182 static int vbox_ttm_io_mem_reserve(struct ttm_bo_device *bdev,
185 struct ttm_mem_type_manager *man = &bdev->man[mem->mem_type];
186 struct vbox_private *vbox = vbox_bdev(bdev);
212 static void vbox_ttm_io_mem_free(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem)
239 struct ttm_tt *vbox_ttm_tt_create(struct ttm_bo_device *bdev,
249 if (ttm_tt_init(tt, bdev, size, page_flags, dummy_read_page))
284 struct ttm_bo_device *bdev = &vbox->ttm.bdev;
290 ret = ttm_bo_device_init(&vbox->ttm.bdev,
304 ret = ttm_bo_init_mm(bdev, TTM_PL_VRAM,
327 ttm_bo_device_release(&vbox->ttm.bdev);
399 vboxbo->bo.bdev = &vbox->ttm.bdev;
401 vboxbo->bo.bdev->dev_mapping = dev->dev_mapping;
406 acc_size = ttm_bo_dma_acc_size(&vbox->ttm.bdev, size,
409 ret = ttm_bo_init(&vbox->ttm.bdev, &vboxbo->bo, size,
512 return ttm_bo_mmap(filp, vma, &vbox->ttm.bdev);