Lines Matching refs:ring
57 drm_r128_ring_buffer_t ring; member
427 #define RING_LOCALS int write; unsigned int tail_mask; volatile u32 *ring;
434 if ( dev_priv->ring.space < n * sizeof(u32) ) { \
437 dev_priv->ring.space -= n * sizeof(u32); \
438 ring = dev_priv->ring.start; \
439 write = dev_priv->ring.tail; \
440 tail_mask = dev_priv->ring.tail_mask; \
446 write, dev_priv->ring.tail ); \
449 memcpy( dev_priv->ring.end, \
450 dev_priv->ring.start, \
454 dev_priv->ring.tail = write; \
463 ring[write++] = x; \