Lines Matching refs:optc1

32 	optc1->tg_regs->reg
35 optc1->base.ctx
39 optc1->tg_shift->field_name, optc1->tg_mask->field_name
67 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_global_sync() local
69 optc1->vready_offset = vready_offset; in optc1_program_global_sync()
70 optc1->vstartup_start = vstartup_start; in optc1_program_global_sync()
71 optc1->vupdate_offset = vupdate_offset; in optc1_program_global_sync()
72 optc1->vupdate_width = vupdate_width; in optc1_program_global_sync()
74 if (optc1->vstartup_start == 0) { in optc1_program_global_sync()
80 VSTARTUP_START, optc1->vstartup_start); in optc1_program_global_sync()
83 VUPDATE_OFFSET, optc1->vupdate_offset, in optc1_program_global_sync()
84 VUPDATE_WIDTH, optc1->vupdate_width); in optc1_program_global_sync()
87 VREADY_OFFSET, optc1->vready_offset); in optc1_program_global_sync()
92 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_disable_stereo() local
107 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt0() local
118 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt1() local
128 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_vertical_interrupt2() local
159 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_timing() local
161 optc1->signal = signal; in optc1_program_timing()
162 optc1->vready_offset = vready_offset; in optc1_program_timing()
163 optc1->vstartup_start = vstartup_start; in optc1_program_timing()
164 optc1->vupdate_offset = vupdate_offset; in optc1_program_timing()
165 optc1->vupdate_width = vupdate_width; in optc1_program_timing()
168 optc1->orginal_patched_timing = patched_crtc_timing; in optc1_program_timing()
240 if (optc1->signal == SIGNAL_TYPE_DISPLAY_PORT || in optc1_program_timing()
241 optc1->signal == SIGNAL_TYPE_DISPLAY_PORT_MST || in optc1_program_timing()
242 optc1->signal == SIGNAL_TYPE_EDP) { in optc1_program_timing()
286 if (optc1_is_two_pixels_per_containter(&patched_crtc_timing) || optc1->opp_count == 2) in optc1_program_timing()
289 if (REG(OPTC_DATA_FORMAT_CONTROL) && optc1->tg_mask->OPTC_DATA_FORMAT != 0) { in optc1_program_timing()
300 if (optc1->tg_mask->OTG_H_TIMING_DIV_MODE != 0) { in optc1_program_timing()
301 if (optc1->opp_count == 4) in optc1_program_timing()
335 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_vtg_params() local
350 vertical_line_start = asic_blank_end - optc1->vstartup_start + 1; in optc1_set_vtg_params()
358 if ((optc1->vstartup_start/2)*2 > asic_blank_end) in optc1_set_vtg_params()
373 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_blank_data_double_buffer() local
391 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_timing_double_buffer() local
404 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_unblank_crtc() local
427 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_blank_crtc() local
447 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_is_blanked() local
460 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_enable_optc_clock() local
504 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_enable_crtc() local
532 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_disable_crtc() local
557 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_blank_color() local
572 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_validate_timing() local
600 if (timing->h_total > optc1->max_h_total || in optc1_validate_timing()
601 timing->v_total > optc1->max_v_total) in optc1_validate_timing()
605 if (h_blank < optc1->min_h_blank) in optc1_validate_timing()
608 if (timing->h_sync_width < optc1->min_h_sync_width || in optc1_validate_timing()
609 timing->v_sync_width < optc1->min_v_sync_width) in optc1_validate_timing()
612 min_v_blank = timing->flags.INTERLACE?optc1->min_v_blank_interlace:optc1->min_v_blank; in optc1_validate_timing()
637 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_get_vblank_counter() local
648 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_lock() local
664 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_unlock() local
673 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_get_position() local
700 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_did_triggered_reset_occur() local
714 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_disable_reset_trigger() local
727 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_enable_reset_trigger() local
764 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_enable_crtc_reset() local
807 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_wait_for_state() local
842 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_static_screen_control() local
863 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_setup_manual_trigger() local
881 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_program_manual_trigger() local
904 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_drr() local
947 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_vtotal_min_max() local
964 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_set_test_pattern() local
1222 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_get_crtc_scanoutpos() local
1238 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_enable_stereo() local
1281 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_is_stereo_left_eye() local
1317 void optc1_read_otg_state(struct optc *optc1, in optc1_read_otg_state() argument
1388 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_get_otg_active_size() local
1412 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_clear_optc_underflow() local
1426 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_is_tg_enabled() local
1437 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_is_optc_underflow_occurred() local
1450 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_configure_crc() local
1510 struct optc *optc1 = DCN10TG_FROM_TG(optc); in optc1_get_crc() local
1578 void dcn10_timing_generator_init(struct optc *optc1) in dcn10_timing_generator_init() argument
1580 optc1->base.funcs = &dcn10_tg_funcs; in dcn10_timing_generator_init()
1582 optc1->max_h_total = optc1->tg_mask->OTG_H_TOTAL + 1; in dcn10_timing_generator_init()
1583 optc1->max_v_total = optc1->tg_mask->OTG_V_TOTAL + 1; in dcn10_timing_generator_init()
1585 optc1->min_h_blank = 32; in dcn10_timing_generator_init()
1586 optc1->min_v_blank = 3; in dcn10_timing_generator_init()
1587 optc1->min_v_blank_interlace = 5; in dcn10_timing_generator_init()
1588 optc1->min_h_sync_width = 4; in dcn10_timing_generator_init()
1589 optc1->min_v_sync_width = 1; in dcn10_timing_generator_init()