Searched refs:bios_2_scratch (Results 1 - 4 of 4) sorted by relevance

/openbsd-current/sys/dev/pci/drm/radeon/
H A Dradeon_atombios.c4086 uint32_t bios_2_scratch, bios_6_scratch; local
4089 bios_2_scratch = RREG32(R600_BIOS_2_SCRATCH);
4092 bios_2_scratch = RREG32(RADEON_BIOS_2_SCRATCH);
4097 bios_2_scratch &= ~ATOM_S2_VRI_BRIGHT_ENABLE;
4104 bios_2_scratch &= ~ATOM_S2_DEVICE_DPMS_STATE;
4107 WREG32(R600_BIOS_2_SCRATCH, bios_2_scratch);
4110 WREG32(RADEON_BIOS_2_SCRATCH, bios_2_scratch);
4417 uint32_t bios_2_scratch; local
4423 bios_2_scratch = RREG32(R600_BIOS_2_SCRATCH);
4425 bios_2_scratch
[all...]
H A Datombios_encoders.c50 u32 bios_2_scratch; local
53 bios_2_scratch = RREG32(R600_BIOS_2_SCRATCH);
55 bios_2_scratch = RREG32(RADEON_BIOS_2_SCRATCH);
57 backlight_level = ((bios_2_scratch & ATOM_S2_CURRENT_BL_LEVEL_MASK) >>
67 u32 bios_2_scratch; local
70 bios_2_scratch = RREG32(R600_BIOS_2_SCRATCH);
72 bios_2_scratch = RREG32(RADEON_BIOS_2_SCRATCH);
74 bios_2_scratch &= ~ATOM_S2_CURRENT_BL_LEVEL_MASK;
75 bios_2_scratch |= ((backlight_level << ATOM_S2_CURRENT_BL_LEVEL_SHIFT) &
79 WREG32(R600_BIOS_2_SCRATCH, bios_2_scratch);
[all...]
/openbsd-current/sys/dev/pci/drm/amd/amdgpu/
H A Damdgpu_atombios_encoders.c45 u32 bios_2_scratch; local
47 bios_2_scratch = RREG32(mmBIOS_SCRATCH_2);
49 backlight_level = ((bios_2_scratch & ATOM_S2_CURRENT_BL_LEVEL_MASK) >>
59 u32 bios_2_scratch; local
61 bios_2_scratch = RREG32(mmBIOS_SCRATCH_2);
63 bios_2_scratch &= ~ATOM_S2_CURRENT_BL_LEVEL_MASK;
64 bios_2_scratch |= ((backlight_level << ATOM_S2_CURRENT_BL_LEVEL_SHIFT) &
67 WREG32(mmBIOS_SCRATCH_2, bios_2_scratch);
H A Damdgpu_atombios.c1541 uint32_t bios_2_scratch, bios_6_scratch; local
1545 bios_2_scratch = RREG32(adev->bios_scratch_reg_offset + 2);
1549 bios_2_scratch &= ~ATOM_S2_VRI_BRIGHT_ENABLE;
1555 bios_2_scratch &= ~ATOM_S2_DEVICE_DPMS_STATE;
1557 WREG32(adev->bios_scratch_reg_offset + 2, bios_2_scratch);

Completed in 136 milliseconds