Searched refs:dac_cntl2 (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/gpu/drm/radeon/ |
D | radeon_legacy_encoders.c | 1305 uint32_t crtc2_gen_cntl, tv_dac_cntl, dac_cntl2, dac_ext_cntl; in r300_legacy_tv_detect() local 1311 dac_cntl2 = RREG32(RADEON_DAC_CNTL2); in r300_legacy_tv_detect() 1366 WREG32(RADEON_DAC_CNTL2, dac_cntl2); in r300_legacy_tv_detect() 1376 uint32_t tv_dac_cntl, dac_cntl2; in radeon_legacy_tv_detect() local 1383 dac_cntl2 = RREG32(RADEON_DAC_CNTL2); in radeon_legacy_tv_detect() 1389 tmp = dac_cntl2 & ~RADEON_DAC2_DAC2_CLK_SEL; in radeon_legacy_tv_detect() 1431 WREG32(RADEON_DAC_CNTL2, dac_cntl2); in radeon_legacy_tv_detect() 1530 uint32_t crtc2_gen_cntl = 0, tv_dac_cntl, dac_cntl2, dac_ext_cntl; in radeon_legacy_tv_dac_detect() local 1592 dac_cntl2 = RREG32(RADEON_DAC_CNTL2); in radeon_legacy_tv_dac_detect() 1640 tmp = dac_cntl2 | RADEON_DAC2_DAC2_CLK_SEL | RADEON_DAC2_CMP_EN; in radeon_legacy_tv_dac_detect() [all …]
|
/Linux-v4.19/drivers/video/fbdev/aty/ |
D | radeon_base.c | 1245 u32 dac_cntl2, vclk_cntl = 0; in radeonfb_setcolreg() local 1257 dac_cntl2 = INREG(DAC_CNTL2); in radeonfb_setcolreg() 1258 dac_cntl2 &= ~DAC2_PALETTE_ACCESS_CNTL; in radeonfb_setcolreg() 1259 OUTREG(DAC_CNTL2, dac_cntl2); in radeonfb_setcolreg() 1275 u32 dac_cntl2, vclk_cntl = 0; in radeonfb_setcmap() local 1287 dac_cntl2 = INREG(DAC_CNTL2); in radeonfb_setcmap() 1288 dac_cntl2 &= ~DAC2_PALETTE_ACCESS_CNTL; in radeonfb_setcmap() 1289 OUTREG(DAC_CNTL2, dac_cntl2); in radeonfb_setcmap()
|