Searched refs:buf_mask (Results 1 – 9 of 9) sorted by relevance
246 ring->buf_mask = (ring->ring_size / 4) - 1; in amdgpu_ring_init()248 0xffffffffffffffff : ring->buf_mask; in amdgpu_ring_init()379 early[0] = amdgpu_ring_get_rptr(ring) & ring->buf_mask; in amdgpu_debugfs_ring_read()380 early[1] = amdgpu_ring_get_wptr(ring) & ring->buf_mask; in amdgpu_debugfs_ring_read()381 early[2] = ring->wptr & ring->buf_mask; in amdgpu_debugfs_ring_read()
223 uint32_t buf_mask; member307 while (i <= ring->buf_mask) in amdgpu_ring_clear_ring()316 ring->ring[ring->wptr++ & ring->buf_mask] = v; in amdgpu_ring_write()330 occupied = ring->wptr & ring->buf_mask; in amdgpu_ring_write_multiple()332 chunk1 = ring->buf_mask + 1 - occupied; in amdgpu_ring_write_multiple()
210 ret = ring->wptr & ring->buf_mask;/* this is the offset we need patch later */ in sdma_v5_2_ring_init_cond_exec()221 BUG_ON(offset > ring->buf_mask); in sdma_v5_2_ring_patch_cond_exec()224 cur = (ring->wptr - 1) & ring->buf_mask; in sdma_v5_2_ring_patch_cond_exec()228 ring->ring[offset] = (ring->buf_mask + 1) - offset + cur; in sdma_v5_2_ring_patch_cond_exec()
323 ret = ring->wptr & ring->buf_mask;/* this is the offset we need patch later */ in sdma_v5_0_ring_init_cond_exec()334 BUG_ON(offset > ring->buf_mask); in sdma_v5_0_ring_patch_cond_exec()337 cur = (ring->wptr - 1) & ring->buf_mask; in sdma_v5_0_ring_patch_cond_exec()341 ring->ring[offset] = (ring->buf_mask + 1) - offset + cur; in sdma_v5_0_ring_patch_cond_exec()
6375 ret = ring->wptr & ring->buf_mask; in gfx_v8_0_ring_emit_init_cond_exec()6384 BUG_ON(offset > ring->buf_mask); in gfx_v8_0_ring_emit_patch_cond_exec()6387 cur = (ring->wptr & ring->buf_mask) - 1; in gfx_v8_0_ring_emit_patch_cond_exec()
5651 ret = ring->wptr & ring->buf_mask; in gfx_v9_0_ring_emit_init_cond_exec()5659 BUG_ON(offset > ring->buf_mask); in gfx_v9_0_ring_emit_patch_cond_exec()5662 cur = (ring->wptr & ring->buf_mask) - 1; in gfx_v9_0_ring_emit_patch_cond_exec()
8810 ret = ring->wptr & ring->buf_mask; in gfx_v10_0_ring_emit_init_cond_exec()8819 BUG_ON(offset > ring->buf_mask); in gfx_v10_0_ring_emit_patch_cond_exec()8822 cur = (ring->wptr - 1) & ring->buf_mask; in gfx_v10_0_ring_emit_patch_cond_exec()8826 ring->ring[offset] = (ring->buf_mask + 1) - offset + cur; in gfx_v10_0_ring_emit_patch_cond_exec()
95 dma->dma_out_mask = video->buf_mask; in isp_video_capture_start_streaming()198 video->buf_mask |= BIT(ivb->index); in isp_video_capture_buffer_queue()222 video->buf_mask = (1UL << video->buf_count) - 1; in isp_video_capture_buffer_queue()250 video->buf_mask &= ~BIT(buf_index); in fimc_isp_video_irq_handler()251 fimc_is_hw_set_isp_buf_mask(is, video->buf_mask); in fimc_isp_video_irq_handler()
137 unsigned int buf_mask; member