Lines Matching refs:nvbe
18 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm; in nouveau_sgdma_destroy() local
21 ttm_dma_tt_fini(&nvbe->ttm); in nouveau_sgdma_destroy()
22 kfree(nvbe); in nouveau_sgdma_destroy()
29 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm; in nv04_sgdma_bind() local
37 node->pages = nvbe->ttm.dma_address; in nv04_sgdma_bind()
42 nvbe->node = node; in nv04_sgdma_bind()
49 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm; in nv04_sgdma_unbind() local
50 nvkm_vm_unmap(&nvbe->node->vma[0]); in nv04_sgdma_unbind()
63 struct nouveau_sgdma_be *nvbe = (struct nouveau_sgdma_be *)ttm; in nv50_sgdma_bind() local
72 node->pages = nvbe->ttm.dma_address; in nv50_sgdma_bind()
97 struct nouveau_sgdma_be *nvbe; in nouveau_sgdma_create_ttm() local
99 nvbe = kzalloc(sizeof(*nvbe), GFP_KERNEL); in nouveau_sgdma_create_ttm()
100 if (!nvbe) in nouveau_sgdma_create_ttm()
104 nvbe->ttm.ttm.func = &nv04_sgdma_backend; in nouveau_sgdma_create_ttm()
106 nvbe->ttm.ttm.func = &nv50_sgdma_backend; in nouveau_sgdma_create_ttm()
108 if (ttm_dma_tt_init(&nvbe->ttm, bdev, size, page_flags, dummy_read_page)) in nouveau_sgdma_create_ttm()
115 return &nvbe->ttm.ttm; in nouveau_sgdma_create_ttm()