Lines Matching refs:tv_dac
1144 u32 tv_dac, save_tv_dac; in intel_tv_detect_type() local
1156 save_tv_dac = tv_dac = I915_READ(TV_DAC); in intel_tv_detect_type()
1167 tv_dac &= ~(TVDAC_SENSE_MASK | DAC_A_MASK | DAC_B_MASK | DAC_C_MASK); in intel_tv_detect_type()
1168 tv_dac |= (TVDAC_STATE_CHG_EN | in intel_tv_detect_type()
1183 tv_dac &= ~(TVDAC_STATE_CHG_EN | TVDAC_A_SENSE_CTL | in intel_tv_detect_type()
1187 I915_WRITE(TV_DAC, tv_dac); in intel_tv_detect_type()
1193 tv_dac = I915_READ(TV_DAC); in intel_tv_detect_type()
1194 DRM_DEBUG_KMS("TV detected: %x, %x\n", tv_ctl, tv_dac); in intel_tv_detect_type()
1201 if ((tv_dac & TVDAC_SENSE_MASK) == (TVDAC_B_SENSE | TVDAC_C_SENSE)) { in intel_tv_detect_type()
1204 } else if ((tv_dac & (TVDAC_A_SENSE|TVDAC_B_SENSE)) == TVDAC_A_SENSE) { in intel_tv_detect_type()
1207 } else if ((tv_dac & TVDAC_SENSE_MASK) == 0) { in intel_tv_detect_type()