Lines Matching defs:priv
38 struct nv10_fence_priv *priv = chan->drm->fence;
40 struct ttm_resource *reg = &priv->bo->bo.mem;
71 struct nv10_fence_priv *priv;
74 priv = drm->fence = kzalloc(sizeof(*priv), GFP_KERNEL);
75 if (!priv)
78 priv->base.dtor = nv10_fence_destroy;
79 priv->base.resume = nv17_fence_resume;
80 priv->base.context_new = nv50_fence_context_new;
81 priv->base.context_del = nv10_fence_context_del;
82 spin_lock_init(&priv->lock);
86 0, 0x0000, NULL, NULL, &priv->bo);
88 ret = nouveau_bo_pin(priv->bo, NOUVEAU_GEM_DOMAIN_VRAM, false);
90 ret = nouveau_bo_map(priv->bo);
92 nouveau_bo_unpin(priv->bo);
95 nouveau_bo_ref(NULL, &priv->bo);
103 nouveau_bo_wr32(priv->bo, 0x000, 0x00000000);