Lines Matching refs:cntl
539 struct bp_encoder_control cntl = {0}; in enc3_stream_encoder_dvi_set_stream_attribute() local
541 cntl.action = ENCODER_CONTROL_SETUP; in enc3_stream_encoder_dvi_set_stream_attribute()
542 cntl.engine_id = enc1->base.id; in enc3_stream_encoder_dvi_set_stream_attribute()
543 cntl.signal = is_dual_link ? in enc3_stream_encoder_dvi_set_stream_attribute()
545 cntl.enable_dp_audio = false; in enc3_stream_encoder_dvi_set_stream_attribute()
546 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc3_stream_encoder_dvi_set_stream_attribute()
547 cntl.lanes_number = (is_dual_link) ? LANE_COUNT_EIGHT : LANE_COUNT_FOUR; in enc3_stream_encoder_dvi_set_stream_attribute()
550 enc1->base.bp, &cntl) != BP_RESULT_OK) in enc3_stream_encoder_dvi_set_stream_attribute()
586 struct bp_encoder_control cntl = {0}; in enc3_stream_encoder_hdmi_set_stream_attribute() local
588 cntl.action = ENCODER_CONTROL_SETUP; in enc3_stream_encoder_hdmi_set_stream_attribute()
589 cntl.engine_id = enc1->base.id; in enc3_stream_encoder_hdmi_set_stream_attribute()
590 cntl.signal = SIGNAL_TYPE_HDMI_TYPE_A; in enc3_stream_encoder_hdmi_set_stream_attribute()
591 cntl.enable_dp_audio = enable_audio; in enc3_stream_encoder_hdmi_set_stream_attribute()
592 cntl.pixel_clock = actual_pix_clk_khz; in enc3_stream_encoder_hdmi_set_stream_attribute()
593 cntl.lanes_number = LANE_COUNT_FOUR; in enc3_stream_encoder_hdmi_set_stream_attribute()
596 enc1->base.bp, &cntl) != BP_RESULT_OK) in enc3_stream_encoder_hdmi_set_stream_attribute()