Lines Matching refs:optc

66 		struct timing_generator *optc,
72 struct optc *optc1 = DCN10TG_FROM_TG(optc);
95 static void optc1_disable_stereo(struct timing_generator *optc)
97 struct optc *optc1 = DCN10TG_FROM_TG(optc);
108 struct timing_generator *optc,
112 struct optc *optc1 = DCN10TG_FROM_TG(optc);
120 struct timing_generator *optc,
123 struct optc *optc1 = DCN10TG_FROM_TG(optc);
130 struct timing_generator *optc,
133 struct optc *optc1 = DCN10TG_FROM_TG(optc);
145 struct timing_generator *optc,
164 struct optc *optc1 = DCN10TG_FROM_TG(optc);
274 optc->funcs->program_global_sync(optc,
280 optc->funcs->set_vtg_params(optc, dc_crtc_timing);
286 * program_horz_count_by_2(optc, &patched_crtc_timing);
300 void optc1_set_vtg_params(struct timing_generator *optc,
309 struct optc *optc1 = DCN10TG_FROM_TG(optc);
342 void optc1_set_blank_data_double_buffer(struct timing_generator *optc, bool enable)
344 struct optc *optc1 = DCN10TG_FROM_TG(optc);
356 static void optc1_unblank_crtc(struct timing_generator *optc)
358 struct optc *optc1 = DCN10TG_FROM_TG(optc);
366 * sporadic underflows which occur during the optc blank
371 optc1_clear_optc_underflow(optc);
379 static void optc1_blank_crtc(struct timing_generator *optc)
381 struct optc *optc1 = DCN10TG_FROM_TG(optc);
387 optc1_set_blank_data_double_buffer(optc, false);
390 void optc1_set_blank(struct timing_generator *optc,
394 optc1_blank_crtc(optc);
396 optc1_unblank_crtc(optc);
399 bool optc1_is_blanked(struct timing_generator *optc)
401 struct optc *optc1 = DCN10TG_FROM_TG(optc);
412 void optc1_enable_optc_clock(struct timing_generator *optc, bool enable)
414 struct optc *optc1 = DCN10TG_FROM_TG(optc);
447 static bool optc1_enable_crtc(struct timing_generator *optc)
453 struct optc *optc1 = DCN10TG_FROM_TG(optc);
459 OPTC_SRC_SEL, optc->inst);
479 bool optc1_disable_crtc(struct timing_generator *optc)
481 struct optc *optc1 = DCN10TG_FROM_TG(optc);
503 struct timing_generator *optc,
506 struct optc *optc1 = DCN10TG_FROM_TG(optc);
515 struct timing_generator *optc,
521 struct optc *optc1 = DCN10TG_FROM_TG(optc);
578 * struct timing_generator *optc - [in] timing generator which controls the
584 uint32_t optc1_get_vblank_counter(struct timing_generator *optc)
586 struct optc *optc1 = DCN10TG_FROM_TG(optc);
595 void optc1_lock(struct timing_generator *optc)
597 struct optc *optc1 = DCN10TG_FROM_TG(optc);
607 OTG_MASTER_UPDATE_LOCK_SEL, optc->inst);
612 if (optc->ctx->dce_environment != DCE_ENV_FPGA_MAXIMUS) {
620 void optc1_unlock(struct timing_generator *optc)
622 struct optc *optc1 = DCN10TG_FROM_TG(optc);
628 void optc1_get_position(struct timing_generator *optc,
631 struct optc *optc1 = DCN10TG_FROM_TG(optc);
641 bool optc1_is_counter_moving(struct timing_generator *optc)
645 optc->funcs->get_position(optc, &position1);
646 optc->funcs->get_position(optc, &position2);
656 struct timing_generator *optc)
658 struct optc *optc1 = DCN10TG_FROM_TG(optc);
670 void optc1_disable_reset_trigger(struct timing_generator *optc)
672 struct optc *optc1 = DCN10TG_FROM_TG(optc);
683 void optc1_enable_reset_trigger(struct timing_generator *optc, int source_tg_inst)
685 struct optc *optc1 = DCN10TG_FROM_TG(optc);
718 struct timing_generator *optc,
722 struct optc *optc1 = DCN10TG_FROM_TG(optc);
762 void optc1_wait_for_state(struct timing_generator *optc,
765 struct optc *optc1 = DCN10TG_FROM_TG(optc);
786 struct timing_generator *optc,
796 struct timing_generator *optc,
800 struct optc *optc1 = DCN10TG_FROM_TG(optc);
819 void optc1_setup_manual_trigger(struct timing_generator *optc)
821 struct optc *optc1 = DCN10TG_FROM_TG(optc);
824 MANUAL_FLOW_CONTROL_SEL, optc->inst);
828 OTG_TRIGA_SOURCE_PIPE_SELECT, optc->inst,
837 void optc1_program_manual_trigger(struct timing_generator *optc)
839 struct optc *optc1 = DCN10TG_FROM_TG(optc);
859 struct timing_generator *optc,
862 struct optc *optc1 = DCN10TG_FROM_TG(optc);
894 optc->funcs->setup_manual_trigger(optc);
912 struct timing_generator *optc,
919 struct optc *optc1 = DCN10TG_FROM_TG(optc);
1171 struct timing_generator *optc,
1177 struct optc *optc1 = DCN10TG_FROM_TG(optc);
1184 optc1_get_position(optc, &position);
1190 static void optc1_enable_stereo(struct timing_generator *optc,
1193 struct optc *optc1 = DCN10TG_FROM_TG(optc);
1222 void optc1_program_stereo(struct timing_generator *optc,
1226 optc1_enable_stereo(optc, timing, flags);
1228 optc1_disable_stereo(optc);
1232 bool optc1_is_stereo_left_eye(struct timing_generator *optc)
1236 struct optc *optc1 = DCN10TG_FROM_TG(optc);
1272 void optc1_read_otg_state(struct optc *optc1,
1322 bool optc1_get_otg_active_size(struct timing_generator *optc,
1331 struct optc *optc1 = DCN10TG_FROM_TG(optc);
1353 void optc1_clear_optc_underflow(struct timing_generator *optc)
1355 struct optc *optc1 = DCN10TG_FROM_TG(optc);
1360 void optc1_tg_init(struct timing_generator *optc)
1362 optc1_set_blank_data_double_buffer(optc, true);
1363 optc1_clear_optc_underflow(optc);
1366 bool optc1_is_tg_enabled(struct timing_generator *optc)
1368 struct optc *optc1 = DCN10TG_FROM_TG(optc);
1377 bool optc1_is_optc_underflow_occurred(struct timing_generator *optc)
1379 struct optc *optc1 = DCN10TG_FROM_TG(optc);
1389 bool optc1_configure_crc(struct timing_generator *optc,
1392 struct optc *optc1 = DCN10TG_FROM_TG(optc);
1395 if (!optc1_is_tg_enabled(optc))
1433 bool optc1_get_crc(struct timing_generator *optc,
1437 struct optc *optc1 = DCN10TG_FROM_TG(optc);
1501 void dcn10_timing_generator_init(struct optc *optc1)