Searched refs:dac_cntl2 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_legacy_encoders.c | 1304 uint32_t crtc2_gen_cntl, tv_dac_cntl, dac_cntl2, dac_ext_cntl; in r300_legacy_tv_detect() local 1310 dac_cntl2 = RREG32(RADEON_DAC_CNTL2); in r300_legacy_tv_detect() 1365 WREG32(RADEON_DAC_CNTL2, dac_cntl2); in r300_legacy_tv_detect() 1375 uint32_t tv_dac_cntl, dac_cntl2; in radeon_legacy_tv_detect() local 1382 dac_cntl2 = RREG32(RADEON_DAC_CNTL2); in radeon_legacy_tv_detect() 1388 tmp = dac_cntl2 & ~RADEON_DAC2_DAC2_CLK_SEL; in radeon_legacy_tv_detect() 1430 WREG32(RADEON_DAC_CNTL2, dac_cntl2); in radeon_legacy_tv_detect() 1529 uint32_t crtc2_gen_cntl = 0, tv_dac_cntl, dac_cntl2, dac_ext_cntl; in radeon_legacy_tv_dac_detect() local 1591 dac_cntl2 = RREG32(RADEON_DAC_CNTL2); in radeon_legacy_tv_dac_detect() 1639 tmp = dac_cntl2 | RADEON_DAC2_DAC2_CLK_SEL | RADEON_DAC2_CMP_EN; in radeon_legacy_tv_dac_detect() [all …]
|
/linux/drivers/video/fbdev/aty/ |
H A D | radeon_base.c | 1236 u32 dac_cntl2, vclk_cntl = 0; in radeonfb_setcolreg() local 1248 dac_cntl2 = INREG(DAC_CNTL2); in radeonfb_setcolreg() 1249 dac_cntl2 &= ~DAC2_PALETTE_ACCESS_CNTL; in radeonfb_setcolreg() 1250 OUTREG(DAC_CNTL2, dac_cntl2); in radeonfb_setcolreg() 1266 u32 dac_cntl2, vclk_cntl = 0; in radeonfb_setcmap() local 1278 dac_cntl2 = INREG(DAC_CNTL2); in radeonfb_setcmap() 1279 dac_cntl2 &= ~DAC2_PALETTE_ACCESS_CNTL; in radeonfb_setcmap() 1280 OUTREG(DAC_CNTL2, dac_cntl2); in radeonfb_setcmap()
|