Lines Matching refs:chan
32 nvc0_fence_emit32(struct nouveau_channel *chan, u64 virtual, u32 sequence) in nvc0_fence_emit32() argument
34 int ret = RING_SPACE(chan, 6); in nvc0_fence_emit32()
36 BEGIN_NVC0(chan, 0, NV84_SUBCHAN_SEMAPHORE_ADDRESS_HIGH, 5); in nvc0_fence_emit32()
37 OUT_RING (chan, upper_32_bits(virtual)); in nvc0_fence_emit32()
38 OUT_RING (chan, lower_32_bits(virtual)); in nvc0_fence_emit32()
39 OUT_RING (chan, sequence); in nvc0_fence_emit32()
40 OUT_RING (chan, NV84_SUBCHAN_SEMAPHORE_TRIGGER_WRITE_LONG); in nvc0_fence_emit32()
41 OUT_RING (chan, 0x00000000); in nvc0_fence_emit32()
42 FIRE_RING (chan); in nvc0_fence_emit32()
48 nvc0_fence_sync32(struct nouveau_channel *chan, u64 virtual, u32 sequence) in nvc0_fence_sync32() argument
50 int ret = RING_SPACE(chan, 5); in nvc0_fence_sync32()
52 BEGIN_NVC0(chan, 0, NV84_SUBCHAN_SEMAPHORE_ADDRESS_HIGH, 4); in nvc0_fence_sync32()
53 OUT_RING (chan, upper_32_bits(virtual)); in nvc0_fence_sync32()
54 OUT_RING (chan, lower_32_bits(virtual)); in nvc0_fence_sync32()
55 OUT_RING (chan, sequence); in nvc0_fence_sync32()
56 OUT_RING (chan, NV84_SUBCHAN_SEMAPHORE_TRIGGER_ACQUIRE_GEQUAL | in nvc0_fence_sync32()
58 FIRE_RING (chan); in nvc0_fence_sync32()
64 nvc0_fence_context_new(struct nouveau_channel *chan) in nvc0_fence_context_new() argument
66 int ret = nv84_fence_context_new(chan); in nvc0_fence_context_new()
68 struct nv84_fence_chan *fctx = chan->fence; in nvc0_fence_context_new()