Searched refs:ib_cntl (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/amd/amdgpu/ |
D | sdma_v2_4.c | 348 u32 rb_cntl, ib_cntl; in sdma_v2_4_gfx_stop() local 359 ib_cntl = RREG32(mmSDMA0_GFX_IB_CNTL + sdma_offsets[i]); in sdma_v2_4_gfx_stop() 360 ib_cntl = REG_SET_FIELD(ib_cntl, SDMA0_GFX_IB_CNTL, IB_ENABLE, 0); in sdma_v2_4_gfx_stop() 361 WREG32(mmSDMA0_GFX_IB_CNTL + sdma_offsets[i], ib_cntl); in sdma_v2_4_gfx_stop() 418 u32 rb_cntl, ib_cntl; in sdma_v2_4_gfx_resume() local 477 ib_cntl = RREG32(mmSDMA0_GFX_IB_CNTL + sdma_offsets[i]); in sdma_v2_4_gfx_resume() 478 ib_cntl = REG_SET_FIELD(ib_cntl, SDMA0_GFX_IB_CNTL, IB_ENABLE, 1); in sdma_v2_4_gfx_resume() 480 ib_cntl = REG_SET_FIELD(ib_cntl, SDMA0_GFX_IB_CNTL, IB_SWAP_ENABLE, 1); in sdma_v2_4_gfx_resume() 483 WREG32(mmSDMA0_GFX_IB_CNTL + sdma_offsets[i], ib_cntl); in sdma_v2_4_gfx_resume()
|
D | sdma_v3_0.c | 509 u32 rb_cntl, ib_cntl; in sdma_v3_0_gfx_stop() local 520 ib_cntl = RREG32(mmSDMA0_GFX_IB_CNTL + sdma_offsets[i]); in sdma_v3_0_gfx_stop() 521 ib_cntl = REG_SET_FIELD(ib_cntl, SDMA0_GFX_IB_CNTL, IB_ENABLE, 0); in sdma_v3_0_gfx_stop() 522 WREG32(mmSDMA0_GFX_IB_CNTL + sdma_offsets[i], ib_cntl); in sdma_v3_0_gfx_stop() 604 u32 rb_cntl, ib_cntl; in sdma_v3_0_gfx_resume() local 675 ib_cntl = RREG32(mmSDMA0_GFX_IB_CNTL + sdma_offsets[i]); in sdma_v3_0_gfx_resume() 676 ib_cntl = REG_SET_FIELD(ib_cntl, SDMA0_GFX_IB_CNTL, IB_ENABLE, 1); in sdma_v3_0_gfx_resume() 678 ib_cntl = REG_SET_FIELD(ib_cntl, SDMA0_GFX_IB_CNTL, IB_SWAP_ENABLE, 1); in sdma_v3_0_gfx_resume() 681 WREG32(mmSDMA0_GFX_IB_CNTL + sdma_offsets[i], ib_cntl); in sdma_v3_0_gfx_resume()
|
D | si_dma.c | 144 u32 rb_cntl, dma_cntl, ib_cntl, rb_bufsz; in si_dma_start() local 176 ib_cntl = DMA_IB_ENABLE | CMD_VMID_FORCE; in si_dma_start() 178 ib_cntl |= DMA_IB_SWAP_ENABLE; in si_dma_start() 180 WREG32(DMA_IB_CNTL + sdma_offsets[i], ib_cntl); in si_dma_start()
|
D | cik_sdma.c | 384 u32 rb_cntl, ib_cntl; in cik_sdma_gfx_resume() local 443 ib_cntl = SDMA0_GFX_IB_CNTL__IB_ENABLE_MASK; in cik_sdma_gfx_resume() 445 ib_cntl |= SDMA0_GFX_IB_CNTL__IB_SWAP_ENABLE_MASK; in cik_sdma_gfx_resume() 448 WREG32(mmSDMA0_GFX_IB_CNTL + sdma_offsets[i], ib_cntl); in cik_sdma_gfx_resume()
|
/drivers/gpu/drm/radeon/ |
D | ni_dma.c | 190 u32 rb_cntl, dma_cntl, ib_cntl; in cayman_dma_resume() local 233 ib_cntl = DMA_IB_ENABLE | CMD_VMID_FORCE; in cayman_dma_resume() 235 ib_cntl |= DMA_IB_SWAP_ENABLE; in cayman_dma_resume() 237 WREG32(DMA_IB_CNTL + reg_offset, ib_cntl); in cayman_dma_resume()
|
D | r600_dma.c | 123 u32 rb_cntl, dma_cntl, ib_cntl; in r600_dma_resume() local 154 ib_cntl = DMA_IB_ENABLE; in r600_dma_resume() 156 ib_cntl |= DMA_IB_SWAP_ENABLE; in r600_dma_resume() 158 WREG32(DMA_IB_CNTL, ib_cntl); in r600_dma_resume()
|
D | cik_sdma.c | 368 u32 rb_cntl, ib_cntl; in cik_sdma_gfx_resume() local 417 ib_cntl = SDMA_IB_ENABLE; in cik_sdma_gfx_resume() 419 ib_cntl |= SDMA_IB_SWAP_ENABLE; in cik_sdma_gfx_resume() 422 WREG32(SDMA0_GFX_IB_CNTL + reg_offset, ib_cntl); in cik_sdma_gfx_resume()
|