Lines Matching refs:get
104 uint32_t get = nvif_rd32(chan->userd, 0x88);
105 if (get != prev_get) {
106 prev_get = get;
116 chan->dma.ib_free = get - chan->dma.ib_put;
135 int get = READ_GET(chan, &prev_get, &cnt);
136 if (unlikely(get < 0)) {
137 if (get == -EINVAL)
140 return get;
143 if (get <= chan->dma.cur) {
150 get = READ_GET(chan, &prev_get, &cnt);
151 if (unlikely(get < 0)) {
152 if (get == -EINVAL)
154 return get;
156 } while (get == 0);
161 chan->dma.free = get - chan->dma.cur - 1;
171 int cnt = 0, get;
177 get = READ_GET(chan, &prev_get, &cnt);
178 if (unlikely(get == -EBUSY))
190 if (unlikely(get == -EINVAL) || get < NOUVEAU_DMA_SKIPS)
193 if (get <= chan->dma.cur) {
223 get = READ_GET(chan, &prev_get, &cnt);
224 if (unlikely(get == -EBUSY))
226 if (unlikely(get == -EINVAL))
228 } while (get <= NOUVEAU_DMA_SKIPS);
241 * push buffer if we require it. we can never get GET == PUT
244 chan->dma.free = get - chan->dma.cur - 1;