Lines Matching refs:buf_priv
248 drm_mga_buf_priv_t *buf_priv; in mga_freelist_init() local
261 buf_priv = buf->dev_private; in mga_freelist_init()
277 buf_priv->list_entry = entry; in mga_freelist_init()
278 buf_priv->discard = 0; in mga_freelist_init()
279 buf_priv->dispatched = 0; in mga_freelist_init()
311 drm_mga_buf_priv_t *buf_priv;
316 buf_priv = buf->dev_private;
317 SET_AGE(&buf_priv->list_entry->age, MGA_BUFFER_FREE, 0);
358 drm_mga_buf_priv_t *buf_priv = buf->dev_private; in mga_freelist_put() local
362 (unsigned long)(buf_priv->list_entry->age.head - in mga_freelist_put()
364 buf_priv->list_entry->age.wrap); in mga_freelist_put()
366 entry = buf_priv->list_entry; in mga_freelist_put()
369 if (buf_priv->list_entry->age.head == MGA_BUFFER_USED) { in mga_freelist_put()