Home
last modified time | relevance | path

Searched refs:bios_6_scratch (Results 1 – 4 of 4) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Datombios_encoders.c1855 uint32_t bios_0_scratch, bios_3_scratch, bios_6_scratch; in amdgpu_atombios_encoder_set_bios_scratch_regs() local
1859 bios_6_scratch = RREG32(mmBIOS_SCRATCH_6); in amdgpu_atombios_encoder_set_bios_scratch_regs()
1867 bios_6_scratch |= ATOM_S6_ACC_REQ_LCD1; in amdgpu_atombios_encoder_set_bios_scratch_regs()
1872 bios_6_scratch &= ~ATOM_S6_ACC_REQ_LCD1; in amdgpu_atombios_encoder_set_bios_scratch_regs()
1881 bios_6_scratch |= ATOM_S6_ACC_REQ_CRT1; in amdgpu_atombios_encoder_set_bios_scratch_regs()
1886 bios_6_scratch &= ~ATOM_S6_ACC_REQ_CRT1; in amdgpu_atombios_encoder_set_bios_scratch_regs()
1895 bios_6_scratch |= ATOM_S6_ACC_REQ_CRT2; in amdgpu_atombios_encoder_set_bios_scratch_regs()
1900 bios_6_scratch &= ~ATOM_S6_ACC_REQ_CRT2; in amdgpu_atombios_encoder_set_bios_scratch_regs()
1909 bios_6_scratch |= ATOM_S6_ACC_REQ_DFP1; in amdgpu_atombios_encoder_set_bios_scratch_regs()
1914 bios_6_scratch &= ~ATOM_S6_ACC_REQ_DFP1; in amdgpu_atombios_encoder_set_bios_scratch_regs()
[all …]
Damdgpu_atombios.c1689 uint32_t bios_6_scratch; in amdgpu_atombios_scratch_regs_lock() local
1691 bios_6_scratch = RREG32(adev->bios_scratch_reg_offset + 6); in amdgpu_atombios_scratch_regs_lock()
1694 bios_6_scratch |= ATOM_S6_CRITICAL_STATE; in amdgpu_atombios_scratch_regs_lock()
1695 bios_6_scratch &= ~ATOM_S6_ACC_MODE; in amdgpu_atombios_scratch_regs_lock()
1697 bios_6_scratch &= ~ATOM_S6_CRITICAL_STATE; in amdgpu_atombios_scratch_regs_lock()
1698 bios_6_scratch |= ATOM_S6_ACC_MODE; in amdgpu_atombios_scratch_regs_lock()
1701 WREG32(adev->bios_scratch_reg_offset + 6, bios_6_scratch); in amdgpu_atombios_scratch_regs_lock()
1706 uint32_t bios_2_scratch, bios_6_scratch; in amdgpu_atombios_scratch_regs_init() local
1711 bios_6_scratch = RREG32(adev->bios_scratch_reg_offset + 6); in amdgpu_atombios_scratch_regs_init()
1717 bios_6_scratch |= ATOM_S6_ACC_BLOCK_DISPLAY_SWITCH; in amdgpu_atombios_scratch_regs_init()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_atombios.c4079 uint32_t bios_2_scratch, bios_6_scratch; in radeon_atom_initialize_bios_scratch_regs() local
4083 bios_6_scratch = RREG32(R600_BIOS_6_SCRATCH); in radeon_atom_initialize_bios_scratch_regs()
4086 bios_6_scratch = RREG32(RADEON_BIOS_6_SCRATCH); in radeon_atom_initialize_bios_scratch_regs()
4093 bios_6_scratch |= ATOM_S6_ACC_BLOCK_DISPLAY_SWITCH; in radeon_atom_initialize_bios_scratch_regs()
4101 WREG32(R600_BIOS_6_SCRATCH, bios_6_scratch); in radeon_atom_initialize_bios_scratch_regs()
4104 WREG32(RADEON_BIOS_6_SCRATCH, bios_6_scratch); in radeon_atom_initialize_bios_scratch_regs()
4141 uint32_t bios_6_scratch; in radeon_atom_output_lock() local
4144 bios_6_scratch = RREG32(R600_BIOS_6_SCRATCH); in radeon_atom_output_lock()
4146 bios_6_scratch = RREG32(RADEON_BIOS_6_SCRATCH); in radeon_atom_output_lock()
4149 bios_6_scratch |= ATOM_S6_CRITICAL_STATE; in radeon_atom_output_lock()
[all …]
Dradeon_combios.c3420 uint32_t bios_0_scratch, bios_6_scratch, bios_7_scratch; in radeon_combios_initialize_bios_scratch_regs() local
3423 bios_6_scratch = RREG32(RADEON_BIOS_6_SCRATCH); in radeon_combios_initialize_bios_scratch_regs()
3430 bios_6_scratch |= (RADEON_DISPLAY_SWITCHING_DIS | in radeon_combios_initialize_bios_scratch_regs()
3437 WREG32(RADEON_BIOS_6_SCRATCH, bios_6_scratch); in radeon_combios_initialize_bios_scratch_regs()
3445 uint32_t bios_6_scratch; in radeon_combios_output_lock() local
3447 bios_6_scratch = RREG32(RADEON_BIOS_6_SCRATCH); in radeon_combios_output_lock()
3450 bios_6_scratch |= RADEON_DRIVER_CRITICAL; in radeon_combios_output_lock()
3452 bios_6_scratch &= ~RADEON_DRIVER_CRITICAL; in radeon_combios_output_lock()
3454 WREG32(RADEON_BIOS_6_SCRATCH, bios_6_scratch); in radeon_combios_output_lock()
3601 uint32_t bios_6_scratch = RREG32(RADEON_BIOS_6_SCRATCH); in radeon_combios_encoder_dpms_scratch_regs() local
[all …]