Searched refs:buf_mask (Results 1 – 10 of 10) 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()
226 uint32_t buf_mask; member306 while (i <= ring->buf_mask) in amdgpu_ring_clear_ring()315 ring->ring[ring->wptr++ & ring->buf_mask] = v; in amdgpu_ring_write()329 occupied = ring->wptr & ring->buf_mask; in amdgpu_ring_write_multiple()331 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()
6379 ret = ring->wptr & ring->buf_mask; in gfx_v8_0_ring_emit_init_cond_exec()6388 BUG_ON(offset > ring->buf_mask); in gfx_v8_0_ring_emit_patch_cond_exec()6391 cur = (ring->wptr & ring->buf_mask) - 1; in gfx_v8_0_ring_emit_patch_cond_exec()
5654 ret = ring->wptr & ring->buf_mask; in gfx_v9_0_ring_emit_init_cond_exec()5662 BUG_ON(offset > ring->buf_mask); in gfx_v9_0_ring_emit_patch_cond_exec()5665 cur = (ring->wptr & ring->buf_mask) - 1; in gfx_v9_0_ring_emit_patch_cond_exec()
8783 ret = ring->wptr & ring->buf_mask; in gfx_v10_0_ring_emit_init_cond_exec()8792 BUG_ON(offset > ring->buf_mask); in gfx_v10_0_ring_emit_patch_cond_exec()8795 cur = (ring->wptr - 1) & ring->buf_mask; in gfx_v10_0_ring_emit_patch_cond_exec()8799 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
985 buf_mask
Completed in 61 milliseconds