Lines Matching refs:tv
395 WREG32(RADEON_TV_UV_ADR, tv_dac->tv.tv_uv_adr); in radeon_restore_tv_timing_tables()
396 h_table = radeon_get_htiming_tables_addr(tv_dac->tv.tv_uv_adr); in radeon_restore_tv_timing_tables()
397 v_table = radeon_get_vtiming_tables_addr(tv_dac->tv.tv_uv_adr); in radeon_restore_tv_timing_tables()
400 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()
402 if (tv_dac->tv.h_code_timing[i] == 0 || tv_dac->tv.h_code_timing[i + 1] == 0) in radeon_restore_tv_timing_tables()
406 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()
408 if (tv_dac->tv.v_code_timing[i] == 0 || tv_dac->tv.v_code_timing[i + 1] == 0) in radeon_restore_tv_timing_tables()
418 WREG32(RADEON_TV_FRESTART, tv_dac->tv.frestart); in radeon_legacy_write_tv_restarts()
419 WREG32(RADEON_TV_HRESTART, tv_dac->tv.hrestart); in radeon_legacy_write_tv_restarts()
420 WREG32(RADEON_TV_VRESTART, tv_dac->tv.vrestart); in radeon_legacy_write_tv_restarts()
466 h_changed = (p1 != tv_dac->tv.h_code_timing[H_TABLE_POS1] || in radeon_legacy_tv_init_restarts()
467 p2 != tv_dac->tv.h_code_timing[H_TABLE_POS2]); in radeon_legacy_tv_init_restarts()
469 tv_dac->tv.h_code_timing[H_TABLE_POS1] = p1; in radeon_legacy_tv_init_restarts()
470 tv_dac->tv.h_code_timing[H_TABLE_POS2] = p2; in radeon_legacy_tv_init_restarts()
494 tv_dac->tv.hrestart = restart % h_total; in radeon_legacy_tv_init_restarts()
496 tv_dac->tv.vrestart = restart % v_total; in radeon_legacy_tv_init_restarts()
498 tv_dac->tv.frestart = restart % f_total; in radeon_legacy_tv_init_restarts()
501 (unsigned)tv_dac->tv.frestart, in radeon_legacy_tv_init_restarts()
502 (unsigned)tv_dac->tv.vrestart, in radeon_legacy_tv_init_restarts()
503 (unsigned)tv_dac->tv.hrestart); in radeon_legacy_tv_init_restarts()
515 tv_dac->tv.timing_cntl = (tv_dac->tv.timing_cntl & ~RADEON_H_INC_MASK) | in radeon_legacy_tv_init_restarts()
664 tv_dac->tv.timing_cntl = tmp; in radeon_legacy_tv_mode_set()
711 tv_dac->tv.tv_uv_adr = 0xc8; in radeon_legacy_tv_mode_set()
727 tv_dac->tv.h_code_timing[i] = hor_timing[i]; in radeon_legacy_tv_mode_set()
728 if (tv_dac->tv.h_code_timing[i] == 0) in radeon_legacy_tv_mode_set()
733 tv_dac->tv.v_code_timing[i] = vert_timing[i]; in radeon_legacy_tv_mode_set()
734 if (tv_dac->tv.v_code_timing[i] == 0) in radeon_legacy_tv_mode_set()
804 WREG32(RADEON_TV_TIMING_CNTL, tv_dac->tv.timing_cntl); in radeon_legacy_tv_mode_set()