Lines Matching defs:nvbe
25 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
28 ttm_dma_tt_fini(&nvbe->ttm);
29 kfree(nvbe);
36 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
40 ret = nouveau_mem_host(reg, &nvbe->ttm);
50 nvbe->mem = mem;
57 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
58 nouveau_mem_fini(nvbe->mem);
71 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm;
75 ret = nouveau_mem_host(reg, &nvbe->ttm);
79 nvbe->mem = mem;
93 struct nouveau_sgdma_be *nvbe;
95 nvbe = kzalloc(sizeof(*nvbe), GFP_KERNEL);
96 if (!nvbe)
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))
108 * to free nvbe here.
111 return &nvbe->ttm.ttm;