Searched refs:cur_read_ptr (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_cp.c648 u32 cur_read_ptr; radeon_do_cp_reset() local
651 cur_read_ptr = RADEON_READ(RADEON_CP_RB_RPTR); radeon_do_cp_reset()
652 RADEON_WRITE(RADEON_CP_RB_WPTR, cur_read_ptr); radeon_do_cp_reset()
653 SET_RING_HEAD(dev_priv, cur_read_ptr); radeon_do_cp_reset()
654 dev_priv->ring.tail = cur_read_ptr; radeon_do_cp_reset()
753 u32 ring_start, cur_read_ptr; radeon_cp_init_ring_buffer() local
789 cur_read_ptr = RADEON_READ(RADEON_CP_RB_RPTR); radeon_cp_init_ring_buffer()
790 RADEON_WRITE(RADEON_CP_RB_WPTR, cur_read_ptr); radeon_cp_init_ring_buffer()
791 SET_RING_HEAD(dev_priv, cur_read_ptr); radeon_cp_init_ring_buffer()
792 dev_priv->ring.tail = cur_read_ptr; radeon_cp_init_ring_buffer()
H A Dr600_cp.c2358 u32 cur_read_ptr; r600_do_cp_reset() local
2361 cur_read_ptr = RADEON_READ(R600_CP_RB_RPTR); r600_do_cp_reset()
2362 RADEON_WRITE(R600_CP_RB_WPTR, cur_read_ptr); r600_do_cp_reset()
2363 SET_RING_HEAD(dev_priv, cur_read_ptr); r600_do_cp_reset()
2364 dev_priv->ring.tail = cur_read_ptr; r600_do_cp_reset()

Completed in 131 milliseconds