Lines Matching refs:optc

61 		struct timing_generator *optc,  in optc1_program_global_sync()  argument
67 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_global_sync()
90 static void optc1_disable_stereo(struct timing_generator *optc) in optc1_disable_stereo() argument
92 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_disable_stereo()
103 struct timing_generator *optc, in optc1_setup_vertical_interrupt0() argument
107 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt0()
115 struct timing_generator *optc, in optc1_setup_vertical_interrupt1() argument
118 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt1()
125 struct timing_generator *optc, in optc1_setup_vertical_interrupt2() argument
128 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt2()
140 struct timing_generator *optc, in optc1_program_timing() argument
159 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_timing()
269 optc->funcs->program_global_sync(optc, in optc1_program_timing()
275 optc->funcs->set_vtg_params(optc, dc_crtc_timing, true); in optc1_program_timing()
314 void optc1_set_vtg_params(struct timing_generator *optc, in optc1_set_vtg_params() argument
323 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_vtg_params()
359 void optc1_set_blank_data_double_buffer(struct timing_generator *optc, bool enable) in optc1_set_blank_data_double_buffer() argument
361 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_blank_data_double_buffer()
377 void optc1_set_timing_double_buffer(struct timing_generator *optc, bool enable) in optc1_set_timing_double_buffer() argument
379 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_timing_double_buffer()
390 static void optc1_unblank_crtc(struct timing_generator *optc) in optc1_unblank_crtc() argument
392 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_unblank_crtc()
405 optc1_clear_optc_underflow(optc); in optc1_unblank_crtc()
413 static void optc1_blank_crtc(struct timing_generator *optc) in optc1_blank_crtc() argument
415 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_blank_crtc()
421 optc1_set_blank_data_double_buffer(optc, false); in optc1_blank_crtc()
424 void optc1_set_blank(struct timing_generator *optc, in optc1_set_blank() argument
428 optc1_blank_crtc(optc); in optc1_set_blank()
430 optc1_unblank_crtc(optc); in optc1_set_blank()
433 bool optc1_is_blanked(struct timing_generator *optc) in optc1_is_blanked() argument
435 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_is_blanked()
446 void optc1_enable_optc_clock(struct timing_generator *optc, bool enable) in optc1_enable_optc_clock() argument
448 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_enable_optc_clock()
469 if (optc->funcs->is_optc_underflow_occurred(optc) == true) in optc1_enable_optc_clock()
470 optc->funcs->clear_optc_underflow(optc); in optc1_enable_optc_clock()
486 static bool optc1_enable_crtc(struct timing_generator *optc) in optc1_enable_crtc() argument
492 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_enable_crtc()
498 OPTC_SRC_SEL, optc->inst); in optc1_enable_crtc()
518 bool optc1_disable_crtc(struct timing_generator *optc) in optc1_disable_crtc() argument
520 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_disable_crtc()
542 struct timing_generator *optc, in optc1_program_blank_color() argument
545 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_blank_color()
554 struct timing_generator *optc, in optc1_validate_timing() argument
560 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_validate_timing()
623 uint32_t optc1_get_vblank_counter(struct timing_generator *optc) in optc1_get_vblank_counter() argument
625 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_get_vblank_counter()
634 void optc1_lock(struct timing_generator *optc) in optc1_lock() argument
636 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_lock()
646 OTG_MASTER_UPDATE_LOCK_SEL, optc->inst); in optc1_lock()
651 if (optc->ctx->dce_environment != DCE_ENV_FPGA_MAXIMUS) { in optc1_lock()
659 void optc1_unlock(struct timing_generator *optc) in optc1_unlock() argument
661 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_unlock()
667 bool optc1_is_locked(struct timing_generator *optc) in optc1_is_locked() argument
669 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_is_locked()
677 void optc1_get_position(struct timing_generator *optc, in optc1_get_position() argument
680 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_get_position()
690 bool optc1_is_counter_moving(struct timing_generator *optc) in optc1_is_counter_moving() argument
694 optc->funcs->get_position(optc, &position1); in optc1_is_counter_moving()
695 optc->funcs->get_position(optc, &position2); in optc1_is_counter_moving()
705 struct timing_generator *optc) in optc1_did_triggered_reset_occur() argument
707 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_did_triggered_reset_occur()
719 void optc1_disable_reset_trigger(struct timing_generator *optc) in optc1_disable_reset_trigger() argument
721 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_disable_reset_trigger()
732 void optc1_enable_reset_trigger(struct timing_generator *optc, int source_tg_inst) in optc1_enable_reset_trigger() argument
734 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_enable_reset_trigger()
767 struct timing_generator *optc, in optc1_enable_crtc_reset() argument
771 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_enable_crtc_reset()
811 void optc1_wait_for_state(struct timing_generator *optc, in optc1_wait_for_state() argument
814 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_wait_for_state()
835 struct timing_generator *optc, in optc1_set_early_control() argument
845 struct timing_generator *optc, in optc1_set_static_screen_control() argument
849 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_static_screen_control()
868 static void optc1_setup_manual_trigger(struct timing_generator *optc) in optc1_setup_manual_trigger() argument
870 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_manual_trigger()
873 MANUAL_FLOW_CONTROL_SEL, optc->inst); in optc1_setup_manual_trigger()
877 OTG_TRIGA_SOURCE_PIPE_SELECT, optc->inst, in optc1_setup_manual_trigger()
886 static void optc1_program_manual_trigger(struct timing_generator *optc) in optc1_program_manual_trigger() argument
888 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_manual_trigger()
908 struct timing_generator *optc, in optc1_set_drr() argument
911 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_drr()
943 optc->funcs->setup_manual_trigger(optc); in optc1_set_drr()
960 void optc1_set_vtotal_min_max(struct timing_generator *optc, int vtotal_min, int vtotal_max) in optc1_set_vtotal_min_max() argument
962 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_vtotal_min_max()
972 struct timing_generator *optc, in optc1_set_test_pattern() argument
979 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_test_pattern()
1231 struct timing_generator *optc, in optc1_get_crtc_scanoutpos() argument
1237 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_get_crtc_scanoutpos()
1244 optc1_get_position(optc, &position); in optc1_get_crtc_scanoutpos()
1250 static void optc1_enable_stereo(struct timing_generator *optc, in optc1_enable_stereo() argument
1253 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_enable_stereo()
1282 void optc1_program_stereo(struct timing_generator *optc, in optc1_program_stereo() argument
1286 optc1_enable_stereo(optc, timing, flags); in optc1_program_stereo()
1288 optc1_disable_stereo(optc); in optc1_program_stereo()
1292 bool optc1_is_stereo_left_eye(struct timing_generator *optc) in optc1_is_stereo_left_eye() argument
1296 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_is_stereo_left_eye()
1332 void optc1_read_otg_state(struct optc *optc1, in optc1_read_otg_state()
1388 bool optc1_get_otg_active_size(struct timing_generator *optc, in optc1_get_otg_active_size() argument
1397 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_get_otg_active_size()
1419 void optc1_clear_optc_underflow(struct timing_generator *optc) in optc1_clear_optc_underflow() argument
1421 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_clear_optc_underflow()
1426 void optc1_tg_init(struct timing_generator *optc) in optc1_tg_init() argument
1428 optc1_set_blank_data_double_buffer(optc, true); in optc1_tg_init()
1429 optc1_set_timing_double_buffer(optc, true); in optc1_tg_init()
1430 optc1_clear_optc_underflow(optc); in optc1_tg_init()
1433 bool optc1_is_tg_enabled(struct timing_generator *optc) in optc1_is_tg_enabled() argument
1435 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_is_tg_enabled()
1444 bool optc1_is_optc_underflow_occurred(struct timing_generator *optc) in optc1_is_optc_underflow_occurred() argument
1446 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_is_optc_underflow_occurred()
1456 bool optc1_configure_crc(struct timing_generator *optc, in optc1_configure_crc() argument
1459 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_configure_crc()
1462 if (!optc1_is_tg_enabled(optc)) in optc1_configure_crc()
1500 bool optc1_get_crc(struct timing_generator *optc, in optc1_get_crc() argument
1504 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_get_crc()
1570 void dcn10_timing_generator_init(struct optc *optc1) in dcn10_timing_generator_init()