Home
last modified time | relevance | path

Searched refs:buf_mask (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_ring.c246 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()
A Damdgpu_ring.h226 uint32_t buf_mask; member
306 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()
A Dsdma_v5_2.c210 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()
A Dsdma_v5_0.c323 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()
A Dgfx_v8_0.c6379 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()
A Dgfx_v9_0.c5654 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()
A Dgfx_v10_0.c8783 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()
/linux/drivers/media/platform/exynos4-is/
A Dfimc-isp-video.c95 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()
A Dfimc-isp.h137 unsigned int buf_mask; member
/linux/sound/pci/cs46xx/
A Dcs46xx_dsp_scb_types.h985 buf_mask

Completed in 61 milliseconds