Home | History | Annotate | Download | only in nouveau

Lines Matching defs:ttm

18 	struct ttm_dma_tt ttm;
23 nouveau_sgdma_destroy(struct ttm_tt *ttm)
25 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
27 if (ttm) {
28 ttm_dma_tt_fini(&nvbe->ttm);
34 nv04_sgdma_bind(struct ttm_tt *ttm, struct ttm_mem_reg *reg)
36 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
40 ret = nouveau_mem_host(reg, &nvbe->ttm);
55 nv04_sgdma_unbind(struct ttm_tt *ttm)
57 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
69 nv50_sgdma_bind(struct ttm_tt *ttm, struct ttm_mem_reg *reg)
71 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
75 ret = nouveau_mem_host(reg, &nvbe->ttm);
100 nvbe->ttm.ttm.func = &nv04_sgdma_backend;
102 nvbe->ttm.ttm.func = &nv50_sgdma_backend;
104 if (ttm_dma_tt_init(&nvbe->ttm, bo, page_flags))
111 return &nvbe->ttm.ttm;