Lines Matching refs:ttm
13 struct ttm_dma_tt ttm;
18 nouveau_sgdma_destroy(struct ttm_bo_device *bdev, struct ttm_tt *ttm)
20 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
22 if (ttm) {
23 nouveau_sgdma_unbind(bdev, ttm);
24 ttm_tt_destroy_common(bdev, ttm);
25 ttm_dma_tt_fini(&nvbe->ttm);
31 nouveau_sgdma_bind(struct ttm_bo_device *bdev, struct ttm_tt *ttm, struct ttm_resource *reg)
33 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
41 ret = nouveau_mem_host(reg, &nvbe->ttm);
58 nouveau_sgdma_unbind(struct ttm_bo_device *bdev, struct ttm_tt *ttm)
60 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
76 if (ttm_dma_tt_init(&nvbe->ttm, bo, page_flags)) {
80 return &nvbe->ttm.ttm;