Home
last modified time | relevance | path

Searched refs:dac_cntl2 (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_legacy_encoders.c1311 uint32_t crtc2_gen_cntl, tv_dac_cntl, dac_cntl2, dac_ext_cntl; in r300_legacy_tv_detect() local
1317 dac_cntl2 = RREG32(RADEON_DAC_CNTL2); in r300_legacy_tv_detect()
1372 WREG32(RADEON_DAC_CNTL2, dac_cntl2); in r300_legacy_tv_detect()
1382 uint32_t tv_dac_cntl, dac_cntl2; in radeon_legacy_tv_detect() local
1389 dac_cntl2 = RREG32(RADEON_DAC_CNTL2); in radeon_legacy_tv_detect()
1395 tmp = dac_cntl2 & ~RADEON_DAC2_DAC2_CLK_SEL; in radeon_legacy_tv_detect()
1437 WREG32(RADEON_DAC_CNTL2, dac_cntl2); in radeon_legacy_tv_detect()
1536 uint32_t crtc2_gen_cntl = 0, tv_dac_cntl, dac_cntl2, dac_ext_cntl; in radeon_legacy_tv_dac_detect() local
1598 dac_cntl2 = RREG32(RADEON_DAC_CNTL2); in radeon_legacy_tv_dac_detect()
1646 tmp = dac_cntl2 | RADEON_DAC2_DAC2_CLK_SEL | RADEON_DAC2_CMP_EN; in radeon_legacy_tv_dac_detect()
[all …]
/Linux-v5.4/drivers/video/fbdev/aty/
Dradeon_base.c1245 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()