Home
last modified time | relevance | path

Searched refs:tv_dac (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/gpu/drm/radeon/
A Dradeon_legacy_tv.c401 tmp = ((uint32_t)tv_dac->tv.h_code_timing[i] << 14) | ((uint32_t)tv_dac->tv.h_code_timing[i+1]); in radeon_restore_tv_timing_tables()
403 if (tv_dac->tv.h_code_timing[i] == 0 || tv_dac->tv.h_code_timing[i + 1] == 0) in radeon_restore_tv_timing_tables()
407 tmp = ((uint32_t)tv_dac->tv.v_code_timing[i+1] << 14) | ((uint32_t)tv_dac->tv.v_code_timing[i]); in radeon_restore_tv_timing_tables()
409 if (tv_dac->tv.v_code_timing[i] == 0 || tv_dac->tv.v_code_timing[i + 1] == 0) in radeon_restore_tv_timing_tables()
493 const_ptr->def_restart, tv_dac->h_pos, tv_dac->v_pos, p1, p2, restart); in radeon_legacy_tv_init_restarts()
502 (unsigned)tv_dac->tv.frestart, in radeon_legacy_tv_init_restarts()
503 (unsigned)tv_dac->tv.vrestart, in radeon_legacy_tv_init_restarts()
504 (unsigned)tv_dac->tv.hrestart); in radeon_legacy_tv_init_restarts()
516 tv_dac->tv.timing_cntl = (tv_dac->tv.timing_cntl & ~RADEON_H_INC_MASK) | in radeon_legacy_tv_init_restarts()
665 tv_dac->tv.timing_cntl = tmp; in radeon_legacy_tv_mode_set()
[all …]
A Dradeon_combios.c1004 tv_dac->pal_tvdac_adj = tv_dac->ps2_tvdac_adj; in radeon_legacy_get_tv_dac_info_from_table()
1005 tv_dac->ntsc_tvdac_adj = tv_dac->ps2_tvdac_adj; in radeon_legacy_get_tv_dac_info_from_table()
1021 if (!tv_dac) in radeon_combios_get_tv_dac_info()
1041 if (tv_dac->ps2_tvdac_adj) in radeon_combios_get_tv_dac_info()
1070 tv_dac->ps2_tvdac_adj = in radeon_combios_get_tv_dac_info()
1072 tv_dac->pal_tvdac_adj = tv_dac->ps2_tvdac_adj; in radeon_combios_get_tv_dac_info()
1073 tv_dac->ntsc_tvdac_adj = tv_dac->ps2_tvdac_adj; in radeon_combios_get_tv_dac_info()
1080 tv_dac->ps2_tvdac_adj = in radeon_combios_get_tv_dac_info()
1082 tv_dac->pal_tvdac_adj = tv_dac->ps2_tvdac_adj; in radeon_combios_get_tv_dac_info()
1083 tv_dac->ntsc_tvdac_adj = tv_dac->ps2_tvdac_adj; in radeon_combios_get_tv_dac_info()
[all …]
A Dradeon_legacy_encoders.c1161 struct radeon_encoder_tv_dac *tv_dac = radeon_encoder->enc_priv; in radeon_legacy_tv_dac_mode_set() local
1194 if (tv_dac->tv_std == TV_STD_NTSC || in radeon_legacy_tv_dac_mode_set()
1195 tv_dac->tv_std == TV_STD_NTSC_J || in radeon_legacy_tv_dac_mode_set()
1196 tv_dac->tv_std == TV_STD_PAL_M || in radeon_legacy_tv_dac_mode_set()
1197 tv_dac->tv_std == TV_STD_PAL_60) in radeon_legacy_tv_dac_mode_set()
1198 tv_dac_cntl |= tv_dac->ntsc_tvdac_adj; in radeon_legacy_tv_dac_mode_set()
1200 tv_dac_cntl |= tv_dac->pal_tvdac_adj; in radeon_legacy_tv_dac_mode_set()
1202 if (tv_dac->tv_std == TV_STD_NTSC || in radeon_legacy_tv_dac_mode_set()
1203 tv_dac->tv_std == TV_STD_NTSC_J) in radeon_legacy_tv_dac_mode_set()
1209 tv_dac->ps2_tvdac_adj); in radeon_legacy_tv_dac_mode_set()
[all …]
A Datombios_encoders.c325 struct radeon_encoder_atom_dac *tv_dac = radeon_encoder->enc_priv; in radeon_atom_mode_fixup() local
326 if (tv_dac) { in radeon_atom_mode_fixup()
327 if (tv_dac->tv_std == TV_STD_NTSC || in radeon_atom_mode_fixup()
328 tv_dac->tv_std == TV_STD_NTSC_J || in radeon_atom_mode_fixup()
329 tv_dac->tv_std == TV_STD_PAL_M) in radeon_atom_mode_fixup()
A Dradeon_atombios.c1951 struct radeon_encoder_tv_dac *tv_dac = NULL; in radeon_atombios_get_tv_dac_info() local
1959 tv_dac = kzalloc(sizeof(struct radeon_encoder_tv_dac), GFP_KERNEL); in radeon_atombios_get_tv_dac_info()
1961 if (!tv_dac) in radeon_atombios_get_tv_dac_info()
1966 tv_dac->ps2_tvdac_adj = (bg << 16) | (dac << 20); in radeon_atombios_get_tv_dac_info()
1970 tv_dac->pal_tvdac_adj = (bg << 16) | (dac << 20); in radeon_atombios_get_tv_dac_info()
1974 tv_dac->ntsc_tvdac_adj = (bg << 16) | (dac << 20); in radeon_atombios_get_tv_dac_info()
1976 tv_dac->tv_std = radeon_atombios_get_tv_info(rdev); in radeon_atombios_get_tv_dac_info()
1978 return tv_dac; in radeon_atombios_get_tv_dac_info()
A Datombios_crtc.c100 struct radeon_encoder_atom_dac *tv_dac = radeon_encoder->enc_priv; in atombios_scaler_setup() local
101 tv_std = tv_dac->tv_std; in atombios_scaler_setup()
/linux/drivers/gpu/drm/i915/display/
A Dintel_tv.c1578 u32 tv_dac, save_tv_dac; in intel_tv_detect_type() local
1590 save_tv_dac = tv_dac = intel_de_read(dev_priv, TV_DAC); in intel_tv_detect_type()
1598 tv_dac &= ~(TVDAC_SENSE_MASK | DAC_A_MASK | DAC_B_MASK | DAC_C_MASK); in intel_tv_detect_type()
1599 tv_dac |= (TVDAC_STATE_CHG_EN | in intel_tv_detect_type()
1614 tv_dac &= ~(TVDAC_STATE_CHG_EN | TVDAC_A_SENSE_CTL | in intel_tv_detect_type()
1618 intel_de_write(dev_priv, TV_DAC, tv_dac); in intel_tv_detect_type()
1624 tv_dac = intel_de_read(dev_priv, TV_DAC); in intel_tv_detect_type()
1625 drm_dbg_kms(&dev_priv->drm, "TV detected: %x, %x\n", tv_ctl, tv_dac); in intel_tv_detect_type()
1632 if ((tv_dac & TVDAC_SENSE_MASK) == (TVDAC_B_SENSE | TVDAC_C_SENSE)) { in intel_tv_detect_type()
1636 } else if ((tv_dac & (TVDAC_A_SENSE|TVDAC_B_SENSE)) == TVDAC_A_SENSE) { in intel_tv_detect_type()
[all …]

Completed in 53 milliseconds