Lines Matching defs:intel_dp

140 bool intel_dp_is_edp(struct intel_dp *intel_dp)  in intel_dp_is_edp()
158 static void intel_dp_set_sink_rates(struct intel_dp *intel_dp) in intel_dp_set_sink_rates()
202 static int intel_dp_common_len_rate_limit(const struct intel_dp *intel_dp, in intel_dp_common_len_rate_limit()
210 static int intel_dp_max_common_rate(struct intel_dp *intel_dp) in intel_dp_max_common_rate()
216 static int intel_dp_max_common_lane_count(struct intel_dp *intel_dp) in intel_dp_max_common_lane_count()
226 int intel_dp_max_lane_count(struct intel_dp *intel_dp) in intel_dp_max_lane_count()
250 static int cnl_max_source_rate(struct intel_dp *intel_dp) in cnl_max_source_rate()
273 static int icl_max_source_rate(struct intel_dp *intel_dp) in icl_max_source_rate()
288 intel_dp_set_source_rates(struct intel_dp *intel_dp) in intel_dp_set_source_rates()
386 static void intel_dp_set_common_rates(struct intel_dp *intel_dp) in intel_dp_set_common_rates()
406 static bool intel_dp_link_params_valid(struct intel_dp *intel_dp, int link_rate, in intel_dp_link_params_valid()
425 static bool intel_dp_can_link_train_fallback_for_edp(struct intel_dp *intel_dp, in intel_dp_can_link_train_fallback_for_edp()
441 int intel_dp_get_link_train_fallback_values(struct intel_dp *intel_dp, in intel_dp_get_link_train_fallback_values()
554 static u8 intel_dp_dsc_get_slice_count(struct intel_dp *intel_dp, in intel_dp_dsc_get_slice_count()
619 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_mode_valid_downstream() local
646 struct intel_dp *intel_dp = intel_attached_dp(to_intel_connector(connector)); in intel_dp_mode_valid() local
753 pps_lock(struct intel_dp *intel_dp) in pps_lock()
771 pps_unlock(struct intel_dp *intel_dp, intel_wakeref_t wakeref) in pps_unlock()
786 vlv_power_sequencer_kick(struct intel_dp *intel_dp) in vlv_power_sequencer_kick()
873 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in vlv_find_free_pps() local
899 vlv_power_sequencer_pipe(struct intel_dp *intel_dp) in vlv_power_sequencer_pipe()
948 bxt_power_sequencer_idx(struct intel_dp *intel_dp) in bxt_power_sequencer_idx()
1017 vlv_initial_power_sequencer_setup(struct intel_dp *intel_dp) in vlv_initial_power_sequencer_setup()
1078 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_power_sequencer_reset() local
1101 static void intel_pps_get_registers(struct intel_dp *intel_dp, in intel_pps_get_registers()
1127 _pp_ctrl_reg(struct intel_dp *intel_dp) in _pp_ctrl_reg()
1137 _pp_stat_reg(struct intel_dp *intel_dp) in _pp_stat_reg()
1151 struct intel_dp *intel_dp = container_of(this, typeof(* intel_dp), in edp_notify_handler() local
1181 static bool edp_have_panel_power(struct intel_dp *intel_dp) in edp_have_panel_power()
1194 static bool edp_have_panel_vdd(struct intel_dp *intel_dp) in edp_have_panel_vdd()
1208 intel_dp_check_edp(struct intel_dp *intel_dp) in intel_dp_check_edp()
1225 intel_dp_aux_wait_done(struct intel_dp *intel_dp) in intel_dp_aux_wait_done()
1249 static u32 g4x_get_aux_clock_divider(struct intel_dp *intel_dp, int index) in g4x_get_aux_clock_divider()
1263 static u32 ilk_get_aux_clock_divider(struct intel_dp *intel_dp, int index) in ilk_get_aux_clock_divider()
1284 static u32 hsw_get_aux_clock_divider(struct intel_dp *intel_dp, int index) in hsw_get_aux_clock_divider()
1301 static u32 skl_get_aux_clock_divider(struct intel_dp *intel_dp, int index) in skl_get_aux_clock_divider()
1311 static u32 g4x_get_aux_send_ctl(struct intel_dp *intel_dp, in g4x_get_aux_send_ctl()
1341 static u32 skl_get_aux_send_ctl(struct intel_dp *intel_dp, in skl_get_aux_send_ctl()
1369 intel_dp_aux_xfer(struct intel_dp *intel_dp, in intel_dp_aux_xfer()
1591 struct intel_dp *intel_dp = container_of(aux, struct intel_dp, aux); in intel_dp_aux_transfer() local
1662 static i915_reg_t g4x_aux_ctl_reg(struct intel_dp *intel_dp) in g4x_aux_ctl_reg()
1679 static i915_reg_t g4x_aux_data_reg(struct intel_dp *intel_dp, int index) in g4x_aux_data_reg()
1696 static i915_reg_t ilk_aux_ctl_reg(struct intel_dp *intel_dp) in ilk_aux_ctl_reg()
1715 static i915_reg_t ilk_aux_data_reg(struct intel_dp *intel_dp, int index) in ilk_aux_data_reg()
1734 static i915_reg_t skl_aux_ctl_reg(struct intel_dp *intel_dp) in skl_aux_ctl_reg()
1755 static i915_reg_t skl_aux_data_reg(struct intel_dp *intel_dp, int index) in skl_aux_data_reg()
1777 intel_dp_aux_fini(struct intel_dp *intel_dp) in intel_dp_aux_fini()
1783 intel_dp_aux_init(struct intel_dp *intel_dp) in intel_dp_aux_init()
1823 bool intel_dp_source_supports_hbr2(struct intel_dp *intel_dp) in intel_dp_source_supports_hbr2()
1830 bool intel_dp_source_supports_hbr3(struct intel_dp *intel_dp) in intel_dp_source_supports_hbr3()
1886 static void intel_dp_print_rates(struct intel_dp *intel_dp) in intel_dp_print_rates()
1908 intel_dp_max_link_rate(struct intel_dp *intel_dp) in intel_dp_max_link_rate()
1920 int intel_dp_rate_select(struct intel_dp *intel_dp, int rate) in intel_dp_rate_select()
1932 void intel_dp_compute_rate(struct intel_dp *intel_dp, int port_clock, in intel_dp_compute_rate()
1946 static bool intel_dp_source_supports_fec(struct intel_dp *intel_dp, in intel_dp_source_supports_fec()
1961 static bool intel_dp_supports_fec(struct intel_dp *intel_dp, in intel_dp_supports_fec()
1968 static bool intel_dp_supports_dsc(struct intel_dp *intel_dp, in intel_dp_supports_dsc()
1980 static bool intel_dp_hdmi_ycbcr420(struct intel_dp *intel_dp, in intel_dp_hdmi_ycbcr420()
1988 static int intel_dp_hdmi_tmds_clock(struct intel_dp *intel_dp, in intel_dp_hdmi_tmds_clock()
1999 static bool intel_dp_hdmi_tmds_clock_valid(struct intel_dp *intel_dp, in intel_dp_hdmi_tmds_clock_valid()
2015 static bool intel_dp_hdmi_deep_color_possible(struct intel_dp *intel_dp, in intel_dp_hdmi_deep_color_possible()
2026 static int intel_dp_max_bpp(struct intel_dp *intel_dp, in intel_dp_max_bpp()
2062 intel_dp_adjust_compliance_config(struct intel_dp *intel_dp, in intel_dp_adjust_compliance_config()
2113 intel_dp_compute_link_config_wide(struct intel_dp *intel_dp, in intel_dp_compute_link_config_wide()
2149 static int intel_dp_dsc_compute_bpp(struct intel_dp *intel_dp, u8 dsc_max_bpc) in intel_dp_dsc_compute_bpp()
2170 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_dsc_compute_params() local
2223 static int intel_dp_dsc_compute_config(struct intel_dp *intel_dp, in intel_dp_dsc_compute_config()
2349 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_compute_link_config() local
2433 intel_dp_ycbcr420_config(struct intel_dp *intel_dp, in intel_dp_ycbcr420_config()
2582 static void intel_dp_compute_vsc_sdp(struct intel_dp *intel_dp, in intel_dp_compute_vsc_sdp()
2601 void intel_dp_compute_psr_vsc_sdp(struct intel_dp *intel_dp, in intel_dp_compute_psr_vsc_sdp()
2638 intel_dp_compute_hdr_metadata_infoframe_sdp(struct intel_dp *intel_dp, in intel_dp_compute_hdr_metadata_infoframe_sdp()
2661 intel_dp_drrs_compute_config(struct intel_dp *intel_dp, in intel_dp_drrs_compute_config()
2695 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_compute_config() local
2781 void intel_dp_set_link_params(struct intel_dp *intel_dp, in intel_dp_set_link_params()
2795 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_prepare() local
2886 static void wait_panel_status(struct intel_dp *intel_dp, in wait_panel_status()
2916 static void wait_panel_on(struct intel_dp *intel_dp) in wait_panel_on()
2924 static void wait_panel_off(struct intel_dp *intel_dp) in wait_panel_off()
2932 static void wait_panel_power_cycle(struct intel_dp *intel_dp) in wait_panel_power_cycle()
2954 static void wait_backlight_on(struct intel_dp *intel_dp) in wait_backlight_on()
2960 static void edp_wait_backlight_off(struct intel_dp *intel_dp) in edp_wait_backlight_off()
2970 static u32 ilk_get_pp_control(struct intel_dp *intel_dp) in ilk_get_pp_control()
2991 static bool edp_panel_vdd_on(struct intel_dp *intel_dp) in edp_panel_vdd_on()
3052 void intel_edp_panel_vdd_on(struct intel_dp *intel_dp) in intel_edp_panel_vdd_on()
3068 static void edp_panel_vdd_off_sync(struct intel_dp *intel_dp) in edp_panel_vdd_off_sync()
3110 struct intel_dp *intel_dp = in edp_panel_vdd_work() local
3121 static void edp_panel_vdd_schedule_off(struct intel_dp *intel_dp) in edp_panel_vdd_schedule_off()
3139 static void edp_panel_vdd_off(struct intel_dp *intel_dp, bool sync) in edp_panel_vdd_off()
3160 static void edp_panel_on(struct intel_dp *intel_dp) in edp_panel_on()
3209 void intel_edp_panel_on(struct intel_dp *intel_dp) in intel_edp_panel_on()
3221 static void edp_panel_off(struct intel_dp *intel_dp) in edp_panel_off()
3260 void intel_edp_panel_off(struct intel_dp *intel_dp) in intel_edp_panel_off()
3272 static void _intel_edp_backlight_on(struct intel_dp *intel_dp) in _intel_edp_backlight_on()
3301 struct intel_dp *intel_dp = enc_to_intel_dp(to_intel_encoder(conn_state->best_encoder)); in intel_edp_backlight_on() local
3314 static void _intel_edp_backlight_off(struct intel_dp *intel_dp) in _intel_edp_backlight_off()
3340 struct intel_dp *intel_dp = enc_to_intel_dp(to_intel_encoder(old_conn_state->best_encoder)); in intel_edp_backlight_off() local
3360 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_edp_backlight_power() local
3379 static void assert_dp_port(struct intel_dp *intel_dp, bool state) in assert_dp_port()
3403 static void ilk_edp_pll_on(struct intel_dp *intel_dp, in ilk_edp_pll_on()
3443 static void ilk_edp_pll_off(struct intel_dp *intel_dp, in ilk_edp_pll_off()
3462 static bool downstream_hpd_needs_d0(struct intel_dp *intel_dp) in downstream_hpd_needs_d0()
3477 void intel_dp_sink_set_decompression_state(struct intel_dp *intel_dp, in intel_dp_sink_set_decompression_state()
3496 void intel_dp_sink_dpms(struct intel_dp *intel_dp, int mode) in intel_dp_sink_dpms()
3586 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_get_hw_state() local
3607 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_get_config() local
3694 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_disable_dp() local
3731 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in g4x_post_disable_dp() local
3773 cpt_set_link_train(struct intel_dp *intel_dp, in cpt_set_link_train()
3803 g4x_set_link_train(struct intel_dp *intel_dp, in g4x_set_link_train()
3832 static void intel_dp_enable_port(struct intel_dp *intel_dp, in intel_dp_enable_port()
3855 void intel_dp_configure_protocol_converter(struct intel_dp *intel_dp) in intel_dp_configure_protocol_converter()
3898 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_enable_dp() local
3962 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in g4x_pre_enable_dp() local
3972 static void vlv_detach_power_sequencer(struct intel_dp *intel_dp) in vlv_detach_power_sequencer()
4013 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in vlv_steal_power_sequencer() local
4037 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in vlv_init_panel_power_sequencer() local
4134 intel_dp_get_link_status(struct intel_dp *intel_dp, u8 link_status[DP_LINK_STATUS_SIZE]) in intel_dp_get_link_status()
4140 static u8 intel_dp_voltage_max_2(struct intel_dp *intel_dp) in intel_dp_voltage_max_2()
4145 static u8 intel_dp_voltage_max_3(struct intel_dp *intel_dp) in intel_dp_voltage_max_3()
4150 static u8 intel_dp_pre_empemph_max_2(struct intel_dp *intel_dp) in intel_dp_pre_empemph_max_2()
4155 static u8 intel_dp_pre_empemph_max_3(struct intel_dp *intel_dp) in intel_dp_pre_empemph_max_3()
4160 static void vlv_set_signal_levels(struct intel_dp *intel_dp) in vlv_set_signal_levels()
4244 static void chv_set_signal_levels(struct intel_dp *intel_dp) in chv_set_signal_levels()
4363 g4x_set_signal_levels(struct intel_dp *intel_dp) in g4x_set_signal_levels()
4410 snb_cpu_edp_set_signal_levels(struct intel_dp *intel_dp) in snb_cpu_edp_set_signal_levels()
4461 ivb_cpu_edp_set_signal_levels(struct intel_dp *intel_dp) in ivb_cpu_edp_set_signal_levels()
4479 void intel_dp_set_signal_levels(struct intel_dp *intel_dp) in intel_dp_set_signal_levels()
4497 intel_dp_program_link_training_pattern(struct intel_dp *intel_dp, in intel_dp_program_link_training_pattern()
4511 void intel_dp_set_idle_link_train(struct intel_dp *intel_dp) in intel_dp_set_idle_link_train()
4522 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_link_down() local
4590 bool intel_dp_get_colorimetry_status(struct intel_dp *intel_dp) in intel_dp_get_colorimetry_status()
4600 static void intel_dp_get_dsc_sink_cap(struct intel_dp *intel_dp) in intel_dp_get_dsc_sink_cap()
4640 intel_edp_init_dpcd(struct intel_dp *intel_dp) in intel_edp_init_dpcd()
4720 intel_dp_has_sink_count(struct intel_dp *intel_dp) in intel_dp_has_sink_count()
4731 intel_dp_get_dpcd(struct intel_dp *intel_dp) in intel_dp_get_dpcd()
4778 intel_dp_can_mst(struct intel_dp *intel_dp) in intel_dp_can_mst()
4788 intel_dp_configure_mst(struct intel_dp *intel_dp) in intel_dp_configure_mst()
4812 intel_dp_get_sink_irq_esi(struct intel_dp *intel_dp, u8 *sink_irq_vector) in intel_dp_get_sink_irq_esi()
5040 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_set_infoframes() local
5191 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_read_dp_vsc_sdp() local
5260 static u8 intel_dp_autotest_link_training(struct intel_dp *intel_dp) in intel_dp_autotest_link_training()
5298 static u8 intel_dp_autotest_video_pattern(struct intel_dp *intel_dp) in intel_dp_autotest_video_pattern()
5360 static u8 intel_dp_autotest_edid(struct intel_dp *intel_dp) in intel_dp_autotest_edid()
5407 static u8 intel_dp_prepare_phytest(struct intel_dp *intel_dp) in intel_dp_prepare_phytest()
5426 static void intel_dp_phy_pattern_update(struct intel_dp *intel_dp) in intel_dp_phy_pattern_update()
5493 intel_dp_autotest_phy_ddi_disable(struct intel_dp *intel_dp) in intel_dp_autotest_phy_ddi_disable()
5519 intel_dp_autotest_phy_ddi_enable(struct intel_dp *intel_dp, uint8_t lane_cnt) in intel_dp_autotest_phy_ddi_enable()
5545 void intel_dp_process_phy_request(struct intel_dp *intel_dp) in intel_dp_process_phy_request()
5571 static u8 intel_dp_autotest_phy_pattern(struct intel_dp *intel_dp) in intel_dp_autotest_phy_pattern()
5584 static void intel_dp_handle_test_request(struct intel_dp *intel_dp) in intel_dp_handle_test_request()
5645 intel_dp_check_mst_status(struct intel_dp *intel_dp) in intel_dp_check_mst_status()
5694 intel_dp_needs_link_retrain(struct intel_dp *intel_dp) in intel_dp_needs_link_retrain()
5727 static bool intel_dp_has_connector(struct intel_dp *intel_dp, in intel_dp_has_connector()
5752 static int intel_dp_prep_link_retrain(struct intel_dp *intel_dp, in intel_dp_prep_link_retrain()
5805 static bool intel_dp_is_connected(struct intel_dp *intel_dp) in intel_dp_is_connected()
5817 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_retrain_link() local
5920 static void intel_dp_check_service_irq(struct intel_dp *intel_dp) in intel_dp_check_service_irq()
5958 intel_dp_short_pulse(struct intel_dp *intel_dp) in intel_dp_short_pulse()
6006 intel_dp_detect_dpcd(struct intel_dp *intel_dp) in intel_dp_detect_dpcd()
6060 edp_detect(struct intel_dp *intel_dp) in edp_detect()
6152 intel_dp_get_edid(struct intel_dp *intel_dp) in intel_dp_get_edid()
6169 intel_dp_update_dfp(struct intel_dp *intel_dp, in intel_dp_update_dfp()
6202 intel_dp_update_420(struct intel_dp *intel_dp) in intel_dp_update_420()
6249 intel_dp_set_edid(struct intel_dp *intel_dp) in intel_dp_set_edid()
6271 intel_dp_unset_edid(struct intel_dp *intel_dp) in intel_dp_unset_edid()
6298 struct intel_dp *intel_dp = intel_attached_dp(to_intel_connector(connector)); in intel_dp_detect() local
6416 struct intel_dp *intel_dp = intel_attached_dp(to_intel_connector(connector)); in intel_dp_force() local
6464 struct intel_dp *intel_dp = intel_attached_dp(intel_connector); in intel_dp_get_modes() local
6483 struct intel_dp *intel_dp = intel_attached_dp(to_intel_connector(connector)); in intel_dp_connector_register() local
6503 struct intel_dp *intel_dp = intel_attached_dp(to_intel_connector(connector)); in intel_dp_connector_unregister() local
6513 struct intel_dp *intel_dp = &dig_port->dp; in intel_dp_encoder_flush_work() local
6546 struct intel_dp *intel_dp = enc_to_intel_dp(intel_encoder); in intel_dp_encoder_suspend() local
6561 static void intel_edp_panel_vdd_sanitize(struct intel_dp *intel_dp) in intel_edp_panel_vdd_sanitize()
6584 static enum pipe vlv_active_pipe(struct intel_dp *intel_dp) in vlv_active_pipe()
6600 struct intel_dp *intel_dp = enc_to_intel_dp(to_intel_encoder(encoder)); in intel_dp_encoder_reset() local
6793 static bool intel_edp_have_power(struct intel_dp *intel_dp) in intel_edp_have_power()
6810 struct intel_dp *intel_dp = &dig_port->dp; in intel_dp_hpd_pulse() local
6865 intel_dp_add_properties(struct intel_dp *intel_dp, struct drm_connector *connector) in intel_dp_add_properties()
6903 static void intel_dp_init_panel_power_timestamps(struct intel_dp *intel_dp) in intel_dp_init_panel_power_timestamps()
6911 intel_pps_readout_hw_state(struct intel_dp *intel_dp, struct edp_power_seq *seq) in intel_pps_readout_hw_state()
6954 intel_pps_verify_state(struct intel_dp *intel_dp) in intel_pps_verify_state()
6970 intel_dp_init_panel_power_sequencer(struct intel_dp *intel_dp) in intel_dp_init_panel_power_sequencer()
7066 intel_dp_init_panel_power_sequencer_registers(struct intel_dp *intel_dp, in intel_dp_init_panel_power_sequencer_registers()
7162 static void intel_dp_pps_init(struct intel_dp *intel_dp) in intel_dp_pps_init()
7191 struct intel_dp *intel_dp = dev_priv->drrs.dp; in intel_dp_set_drrs_state() local
7272 intel_edp_drrs_enable_locked(struct intel_dp *intel_dp) in intel_edp_drrs_enable_locked()
7287 void intel_edp_drrs_enable(struct intel_dp *intel_dp, in intel_edp_drrs_enable()
7311 intel_edp_drrs_disable_locked(struct intel_dp *intel_dp, in intel_edp_drrs_disable_locked()
7332 void intel_edp_drrs_disable(struct intel_dp *intel_dp, in intel_edp_drrs_disable()
7362 intel_edp_drrs_update(struct intel_dp *intel_dp, in intel_edp_drrs_update()
7389 struct intel_dp *intel_dp; in intel_edp_drrs_downclock_work() local
7430 struct intel_dp *intel_dp; in intel_edp_drrs_invalidate() local
7476 struct intel_dp *intel_dp; in intel_edp_drrs_flush() local
7600 static bool intel_edp_init_connector(struct intel_dp *intel_dp, in intel_edp_init_connector()
7747 struct intel_dp *intel_dp = &dig_port->dp; in intel_dp_init_connector() local
7999 struct intel_dp *intel_dp; in intel_dp_mst_suspend() local
8019 struct intel_dp *intel_dp; in intel_dp_mst_resume() local