Lines Matching refs:tmp_buf
214 drm_mga_prim_buf_t *tmp_buf = \
216 if( test_bit(MGA_BUF_NEEDS_OVERFLOW, &tmp_buf->buffer_status)) { \
219 tmp_buf = dev_priv->prim_bufs[dev_priv->current_prim_idx]; \
220 } else if( tmp_buf->max_dwords - tmp_buf->num_dwords < length || \
221 tmp_buf->sec_used > MGA_DMA_BUF_NR/2) { \
222 set_bit(MGA_BUF_FORCE_FIRE, &tmp_buf->buffer_status); \
225 tmp_buf = dev_priv->prim_bufs[dev_priv->current_prim_idx]; \
229 dma_ptr = tmp_buf->current_dma_ptr; \
230 num_dwords = tmp_buf->num_dwords; \
231 phys_head = tmp_buf->phys_head; \
236 drm_mga_prim_buf_t *tmp_buf = \
240 dma_ptr = tmp_buf->current_dma_ptr; \
241 num_dwords = tmp_buf->num_dwords; \
242 phys_head = tmp_buf->phys_head; \
266 drm_mga_prim_buf_t *tmp_buf = \
273 tmp_buf->num_dwords = num_dwords; \
274 tmp_buf->current_dma_ptr = dma_ptr; \
278 drm_mga_prim_buf_t *tmp_buf = \
280 tmp_buf->sec_used++; \
284 drm_mga_prim_buf_t *tmp_buf = \
286 buf_priv->my_freelist->age = tmp_buf->prim_age; \