Lines Matching refs:get
101 uint32_t get = nvif_rd32(&chan->user, 0x88);
102 if (get != prev_get) {
103 prev_get = get;
113 chan->dma.ib_free = get - chan->dma.ib_put;
132 int get = READ_GET(chan, &prev_get, &cnt);
133 if (unlikely(get < 0)) {
134 if (get == -EINVAL)
137 return get;
140 if (get <= chan->dma.cur) {
147 get = READ_GET(chan, &prev_get, &cnt);
148 if (unlikely(get < 0)) {
149 if (get == -EINVAL)
151 return get;
153 } while (get == 0);
158 chan->dma.free = get - chan->dma.cur - 1;
168 int cnt = 0, get;
174 get = READ_GET(chan, &prev_get, &cnt);
175 if (unlikely(get == -EBUSY))
187 if (unlikely(get == -EINVAL) || get < NOUVEAU_DMA_SKIPS)
190 if (get <= chan->dma.cur) {
220 get = READ_GET(chan, &prev_get, &cnt);
221 if (unlikely(get == -EBUSY))
223 if (unlikely(get == -EINVAL))
225 } while (get <= NOUVEAU_DMA_SKIPS);
238 * push buffer if we require it. we can never get GET == PUT
241 chan->dma.free = get - chan->dma.cur - 1;