Lines Matching refs:ring
219 if ( GET_RING_HEAD( &dev_priv->ring ) == dev_priv->ring.tail ) { in r128_do_cce_idle()
245 dev_priv->cce_mode | dev_priv->ring.size_l2qw ); in r128_do_cce_start()
260 SET_RING_HEAD( &dev_priv->ring, 0 ); in r128_do_cce_reset()
261 dev_priv->ring.tail = 0; in r128_do_cce_reset()
341 SET_RING_HEAD( &dev_priv->ring, 0 ); in r128_cce_init_ring_buffer()
576 dev_priv->ring.head = ((__volatile__ u32 *) in r128_do_init_cce()
579 dev_priv->ring.start = (u32 *)dev_priv->cce_ring->handle; in r128_do_init_cce()
580 dev_priv->ring.end = ((u32 *)dev_priv->cce_ring->handle in r128_do_init_cce()
582 dev_priv->ring.size = init->ring_size; in r128_do_init_cce()
583 dev_priv->ring.size_l2qw = DRM(order)( init->ring_size / 8 ); in r128_do_init_cce()
585 dev_priv->ring.tail_mask = in r128_do_init_cce()
586 (dev_priv->ring.size / sizeof(u32)) - 1; in r128_do_init_cce()
588 dev_priv->ring.high_mark = 128; in r128_do_init_cce()
963 drm_r128_ring_buffer_t *ring = &dev_priv->ring; in r128_wait_ring() local
967 r128_update_ring_snapshot( ring ); in r128_wait_ring()
968 if ( ring->space >= n ) in r128_wait_ring()