Lines Matching refs:fctx
38 struct nv10_fence_chan *fctx = chan->fence; in nv17_fence_sync() local
53 OUT_RING (prev, fctx->sema.handle); in nv17_fence_sync()
62 OUT_RING (chan, fctx->sema.handle); in nv17_fence_sync()
77 struct nv10_fence_chan *fctx; in nv17_fence_context_new() local
83 fctx = chan->fence = kzalloc(sizeof(*fctx), GFP_KERNEL); in nv17_fence_context_new()
84 if (!fctx) in nv17_fence_context_new()
87 nouveau_fence_context_new(chan, &fctx->base); in nv17_fence_context_new()
88 fctx->base.emit = nv10_fence_emit; in nv17_fence_context_new()
89 fctx->base.read = nv10_fence_read; in nv17_fence_context_new()
90 fctx->base.sync = nv17_fence_sync; in nv17_fence_context_new()
99 &fctx->sema); in nv17_fence_context_new()