Lines Matching refs:ttm
4 #include <drm/ttm/ttm_tt.h>
15 struct ttm_tt ttm;
20 nouveau_sgdma_destroy(struct ttm_device *bdev, struct ttm_tt *ttm)
22 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
24 if (ttm) {
25 ttm_tt_fini(&nvbe->ttm);
31 nouveau_sgdma_bind(struct ttm_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_device *bdev, struct ttm_tt *ttm)
60 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
86 if (ttm_sg_tt_init(&nvbe->ttm, bo, page_flags, caching)) {
90 return &nvbe->ttm;