bios_0_scratch 1757 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c uint32_t bios_0_scratch; bios_0_scratch 1764 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch = RREG32(mmBIOS_SCRATCH_0); bios_0_scratch 1766 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c DRM_DEBUG_KMS("Bios 0 scratch %x %08x\n", bios_0_scratch, amdgpu_encoder->devices); bios_0_scratch 1768 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (bios_0_scratch & ATOM_S0_CRT1_MASK) bios_0_scratch 1772 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (bios_0_scratch & ATOM_S0_CRT2_MASK) bios_0_scratch 1776 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (bios_0_scratch & (ATOM_S0_CV_MASK|ATOM_S0_CV_MASK_A)) bios_0_scratch 1780 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (bios_0_scratch & (ATOM_S0_TV1_COMPOSITE | ATOM_S0_TV1_COMPOSITE_A)) bios_0_scratch 1782 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c else if (bios_0_scratch & (ATOM_S0_TV1_SVIDEO | ATOM_S0_TV1_SVIDEO_A)) bios_0_scratch 1797 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c u32 bios_0_scratch; bios_0_scratch 1809 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch = RREG32(mmBIOS_SCRATCH_0); bios_0_scratch 1811 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c DRM_DEBUG_KMS("Bios 0 scratch %x %08x\n", bios_0_scratch, amdgpu_encoder->devices); bios_0_scratch 1813 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (bios_0_scratch & ATOM_S0_CRT1_MASK) bios_0_scratch 1817 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (bios_0_scratch & ATOM_S0_CRT2_MASK) bios_0_scratch 1821 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (bios_0_scratch & (ATOM_S0_CV_MASK|ATOM_S0_CV_MASK_A)) bios_0_scratch 1825 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c if (bios_0_scratch & (ATOM_S0_TV1_COMPOSITE | ATOM_S0_TV1_COMPOSITE_A)) bios_0_scratch 1827 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c else if (bios_0_scratch & (ATOM_S0_TV1_SVIDEO | ATOM_S0_TV1_SVIDEO_A)) bios_0_scratch 1855 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c uint32_t bios_0_scratch, bios_3_scratch, bios_6_scratch; bios_0_scratch 1857 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch = RREG32(mmBIOS_SCRATCH_0); bios_0_scratch 1865 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch |= ATOM_S0_LCD1; bios_0_scratch 1870 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch &= ~ATOM_S0_LCD1; bios_0_scratch 1879 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch |= ATOM_S0_CRT1_COLOR; bios_0_scratch 1884 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch &= ~ATOM_S0_CRT1_MASK; bios_0_scratch 1893 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch |= ATOM_S0_CRT2_COLOR; bios_0_scratch 1898 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch &= ~ATOM_S0_CRT2_MASK; bios_0_scratch 1907 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch |= ATOM_S0_DFP1; bios_0_scratch 1912 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch &= ~ATOM_S0_DFP1; bios_0_scratch 1921 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch |= ATOM_S0_DFP2; bios_0_scratch 1926 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch &= ~ATOM_S0_DFP2; bios_0_scratch 1935 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch |= ATOM_S0_DFP3; bios_0_scratch 1940 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch &= ~ATOM_S0_DFP3; bios_0_scratch 1949 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch |= ATOM_S0_DFP4; bios_0_scratch 1954 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch &= ~ATOM_S0_DFP4; bios_0_scratch 1963 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch |= ATOM_S0_DFP5; bios_0_scratch 1968 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch &= ~ATOM_S0_DFP5; bios_0_scratch 1977 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch |= ATOM_S0_DFP6; bios_0_scratch 1982 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c bios_0_scratch &= ~ATOM_S0_DFP6; bios_0_scratch 1988 drivers/gpu/drm/amd/amdgpu/atombios_encoders.c WREG32(mmBIOS_SCRATCH_0, bios_0_scratch); bios_0_scratch 2394 drivers/gpu/drm/radeon/atombios_encoders.c uint32_t bios_0_scratch; bios_0_scratch 2402 drivers/gpu/drm/radeon/atombios_encoders.c bios_0_scratch = RREG32(R600_BIOS_0_SCRATCH); bios_0_scratch 2404 drivers/gpu/drm/radeon/atombios_encoders.c bios_0_scratch = RREG32(RADEON_BIOS_0_SCRATCH); bios_0_scratch 2406 drivers/gpu/drm/radeon/atombios_encoders.c DRM_DEBUG_KMS("Bios 0 scratch %x %08x\n", bios_0_scratch, radeon_encoder->devices); bios_0_scratch 2408 drivers/gpu/drm/radeon/atombios_encoders.c if (bios_0_scratch & ATOM_S0_CRT1_MASK) bios_0_scratch 2412 drivers/gpu/drm/radeon/atombios_encoders.c if (bios_0_scratch & ATOM_S0_CRT2_MASK) bios_0_scratch 2416 drivers/gpu/drm/radeon/atombios_encoders.c if (bios_0_scratch & (ATOM_S0_CV_MASK|ATOM_S0_CV_MASK_A)) bios_0_scratch 2420 drivers/gpu/drm/radeon/atombios_encoders.c if (bios_0_scratch & (ATOM_S0_TV1_COMPOSITE | ATOM_S0_TV1_COMPOSITE_A)) bios_0_scratch 2422 drivers/gpu/drm/radeon/atombios_encoders.c else if (bios_0_scratch & (ATOM_S0_TV1_SVIDEO | ATOM_S0_TV1_SVIDEO_A)) bios_0_scratch 2436 drivers/gpu/drm/radeon/atombios_encoders.c u32 bios_0_scratch; bios_0_scratch 2451 drivers/gpu/drm/radeon/atombios_encoders.c bios_0_scratch = RREG32(R600_BIOS_0_SCRATCH); bios_0_scratch 2453 drivers/gpu/drm/radeon/atombios_encoders.c DRM_DEBUG_KMS("Bios 0 scratch %x %08x\n", bios_0_scratch, radeon_encoder->devices); bios_0_scratch 2455 drivers/gpu/drm/radeon/atombios_encoders.c if (bios_0_scratch & ATOM_S0_CRT1_MASK) bios_0_scratch 2459 drivers/gpu/drm/radeon/atombios_encoders.c if (bios_0_scratch & ATOM_S0_CRT2_MASK) bios_0_scratch 2463 drivers/gpu/drm/radeon/atombios_encoders.c if (bios_0_scratch & (ATOM_S0_CV_MASK|ATOM_S0_CV_MASK_A)) bios_0_scratch 2467 drivers/gpu/drm/radeon/atombios_encoders.c if (bios_0_scratch & (ATOM_S0_TV1_COMPOSITE | ATOM_S0_TV1_COMPOSITE_A)) bios_0_scratch 2469 drivers/gpu/drm/radeon/atombios_encoders.c else if (bios_0_scratch & (ATOM_S0_TV1_SVIDEO | ATOM_S0_TV1_SVIDEO_A)) bios_0_scratch 4173 drivers/gpu/drm/radeon/radeon_atombios.c uint32_t bios_0_scratch, bios_3_scratch, bios_6_scratch; bios_0_scratch 4176 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch = RREG32(R600_BIOS_0_SCRATCH); bios_0_scratch 4180 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch = RREG32(RADEON_BIOS_0_SCRATCH); bios_0_scratch 4193 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch &= ~ATOM_S0_TV1_MASK; bios_0_scratch 4206 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch &= ~ATOM_S0_CV_MASK; bios_0_scratch 4215 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch |= ATOM_S0_LCD1; bios_0_scratch 4220 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch &= ~ATOM_S0_LCD1; bios_0_scratch 4229 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch |= ATOM_S0_CRT1_COLOR; bios_0_scratch 4234 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch &= ~ATOM_S0_CRT1_MASK; bios_0_scratch 4243 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch |= ATOM_S0_CRT2_COLOR; bios_0_scratch 4248 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch &= ~ATOM_S0_CRT2_MASK; bios_0_scratch 4257 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch |= ATOM_S0_DFP1; bios_0_scratch 4262 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch &= ~ATOM_S0_DFP1; bios_0_scratch 4271 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch |= ATOM_S0_DFP2; bios_0_scratch 4276 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch &= ~ATOM_S0_DFP2; bios_0_scratch 4285 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch |= ATOM_S0_DFP3; bios_0_scratch 4290 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch &= ~ATOM_S0_DFP3; bios_0_scratch 4299 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch |= ATOM_S0_DFP4; bios_0_scratch 4304 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch &= ~ATOM_S0_DFP4; bios_0_scratch 4313 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch |= ATOM_S0_DFP5; bios_0_scratch 4318 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch &= ~ATOM_S0_DFP5; bios_0_scratch 4327 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch |= ATOM_S0_DFP6; bios_0_scratch 4332 drivers/gpu/drm/radeon/radeon_atombios.c bios_0_scratch &= ~ATOM_S0_DFP6; bios_0_scratch 4339 drivers/gpu/drm/radeon/radeon_atombios.c WREG32(R600_BIOS_0_SCRATCH, bios_0_scratch); bios_0_scratch 4343 drivers/gpu/drm/radeon/radeon_atombios.c WREG32(RADEON_BIOS_0_SCRATCH, bios_0_scratch); bios_0_scratch 3420 drivers/gpu/drm/radeon/radeon_combios.c uint32_t bios_0_scratch, bios_6_scratch, bios_7_scratch; bios_0_scratch 3422 drivers/gpu/drm/radeon/radeon_combios.c bios_0_scratch = RREG32(RADEON_BIOS_0_SCRATCH); bios_0_scratch 3427 drivers/gpu/drm/radeon/radeon_combios.c bios_0_scratch &= ~RADEON_DRIVER_BRIGHTNESS_EN; bios_0_scratch 3436 drivers/gpu/drm/radeon/radeon_combios.c WREG32(RADEON_BIOS_0_SCRATCH, bios_0_scratch);