/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_atombios_encoders.c | 1763 uint32_t bios_0_scratch; local in function:amdgpu_atombios_encoder_dac_detect 1770 bios_0_scratch = RREG32(mmBIOS_SCRATCH_0); 1772 DRM_DEBUG_KMS("Bios 0 scratch %x %08x\n", bios_0_scratch, amdgpu_encoder->devices); 1774 if (bios_0_scratch & ATOM_S0_CRT1_MASK) 1778 if (bios_0_scratch & ATOM_S0_CRT2_MASK) 1782 if (bios_0_scratch & (ATOM_S0_CV_MASK|ATOM_S0_CV_MASK_A)) 1786 if (bios_0_scratch & (ATOM_S0_TV1_COMPOSITE | ATOM_S0_TV1_COMPOSITE_A)) 1788 else if (bios_0_scratch & (ATOM_S0_TV1_SVIDEO | ATOM_S0_TV1_SVIDEO_A)) 1803 u32 bios_0_scratch; local in function:amdgpu_atombios_encoder_dig_detect 1815 bios_0_scratch = RREG32(mmBIOS_SCRATCH_0) 1861 uint32_t bios_0_scratch, bios_3_scratch, bios_6_scratch; local in function:amdgpu_atombios_encoder_set_bios_scratch_regs [all...] |
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_atombios_encoders.c | 2398 uint32_t bios_0_scratch; local in function:radeon_atom_dac_detect 2406 bios_0_scratch = RREG32(R600_BIOS_0_SCRATCH); 2408 bios_0_scratch = RREG32(RADEON_BIOS_0_SCRATCH); 2410 DRM_DEBUG_KMS("Bios 0 scratch %x %08x\n", bios_0_scratch, radeon_encoder->devices); 2412 if (bios_0_scratch & ATOM_S0_CRT1_MASK) 2416 if (bios_0_scratch & ATOM_S0_CRT2_MASK) 2420 if (bios_0_scratch & (ATOM_S0_CV_MASK|ATOM_S0_CV_MASK_A)) 2424 if (bios_0_scratch & (ATOM_S0_TV1_COMPOSITE | ATOM_S0_TV1_COMPOSITE_A)) 2426 else if (bios_0_scratch & (ATOM_S0_TV1_SVIDEO | ATOM_S0_TV1_SVIDEO_A)) 2440 u32 bios_0_scratch; local in function:radeon_atom_dig_detect [all...] |
radeon_combios.c | 3425 uint32_t bios_0_scratch, bios_6_scratch, bios_7_scratch; local in function:radeon_combios_initialize_bios_scratch_regs 3427 bios_0_scratch = RREG32(RADEON_BIOS_0_SCRATCH); 3432 bios_0_scratch &= ~RADEON_DRIVER_BRIGHTNESS_EN; 3441 WREG32(RADEON_BIOS_0_SCRATCH, bios_0_scratch);
|
radeon_atombios.c | 4168 uint32_t bios_0_scratch, bios_3_scratch, bios_6_scratch; local in function:radeon_atombios_connected_scratch_regs 4171 bios_0_scratch = RREG32(R600_BIOS_0_SCRATCH); 4175 bios_0_scratch = RREG32(RADEON_BIOS_0_SCRATCH); 4188 bios_0_scratch &= ~ATOM_S0_TV1_MASK; 4201 bios_0_scratch &= ~ATOM_S0_CV_MASK; 4210 bios_0_scratch |= ATOM_S0_LCD1; 4215 bios_0_scratch &= ~ATOM_S0_LCD1; 4224 bios_0_scratch |= ATOM_S0_CRT1_COLOR; 4229 bios_0_scratch &= ~ATOM_S0_CRT1_MASK; 4238 bios_0_scratch |= ATOM_S0_CRT2_COLOR [all...] |