Lines Matching defs:intel_dp

147 bool intel_dp_is_edp(struct intel_dp *intel_dp)  in intel_dp_is_edp()
170 static void intel_dp_set_sink_rates(struct intel_dp *intel_dp) in intel_dp_set_sink_rates()
203 static int intel_dp_common_len_rate_limit(const struct intel_dp *intel_dp, in intel_dp_common_len_rate_limit()
211 static int intel_dp_max_common_rate(struct intel_dp *intel_dp) in intel_dp_max_common_rate()
217 static int intel_dp_max_common_lane_count(struct intel_dp *intel_dp) in intel_dp_max_common_lane_count()
227 int intel_dp_max_lane_count(struct intel_dp *intel_dp) in intel_dp_max_lane_count()
252 intel_dp_downstream_max_dotclock(struct intel_dp *intel_dp) in intel_dp_downstream_max_dotclock()
274 static int cnl_max_source_rate(struct intel_dp *intel_dp) in cnl_max_source_rate()
297 static int icl_max_source_rate(struct intel_dp *intel_dp) in icl_max_source_rate()
312 intel_dp_set_source_rates(struct intel_dp *intel_dp) in intel_dp_set_source_rates()
409 static void intel_dp_set_common_rates(struct intel_dp *intel_dp) in intel_dp_set_common_rates()
426 static bool intel_dp_link_params_valid(struct intel_dp *intel_dp, int link_rate, in intel_dp_link_params_valid()
445 static bool intel_dp_can_link_train_fallback_for_edp(struct intel_dp *intel_dp, in intel_dp_can_link_train_fallback_for_edp()
461 int intel_dp_get_link_train_fallback_values(struct intel_dp *intel_dp, in intel_dp_get_link_train_fallback_values()
550 static u8 intel_dp_dsc_get_slice_count(struct intel_dp *intel_dp, in intel_dp_dsc_get_slice_count()
592 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_mode_valid() local
691 pps_lock(struct intel_dp *intel_dp) in pps_lock()
709 pps_unlock(struct intel_dp *intel_dp, intel_wakeref_t wakeref) in pps_unlock()
724 vlv_power_sequencer_kick(struct intel_dp *intel_dp) in vlv_power_sequencer_kick()
806 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in vlv_find_free_pps() local
829 vlv_power_sequencer_pipe(struct intel_dp *intel_dp) in vlv_power_sequencer_pipe()
876 bxt_power_sequencer_idx(struct intel_dp *intel_dp) in bxt_power_sequencer_idx()
945 vlv_initial_power_sequencer_setup(struct intel_dp *intel_dp) in vlv_initial_power_sequencer_setup()
999 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_power_sequencer_reset() local
1021 static void intel_pps_get_registers(struct intel_dp *intel_dp, in intel_pps_get_registers()
1047 _pp_ctrl_reg(struct intel_dp *intel_dp) in _pp_ctrl_reg()
1057 _pp_stat_reg(struct intel_dp *intel_dp) in _pp_stat_reg()
1071 struct intel_dp *intel_dp = container_of(this, typeof(* intel_dp), in edp_notify_handler() local
1100 static bool edp_have_panel_power(struct intel_dp *intel_dp) in edp_have_panel_power()
1113 static bool edp_have_panel_vdd(struct intel_dp *intel_dp) in edp_have_panel_vdd()
1127 intel_dp_check_edp(struct intel_dp *intel_dp) in intel_dp_check_edp()
1143 intel_dp_aux_wait_done(struct intel_dp *intel_dp) in intel_dp_aux_wait_done()
1164 static u32 g4x_get_aux_clock_divider(struct intel_dp *intel_dp, int index) in g4x_get_aux_clock_divider()
1178 static u32 ilk_get_aux_clock_divider(struct intel_dp *intel_dp, int index) in ilk_get_aux_clock_divider()
1197 static u32 hsw_get_aux_clock_divider(struct intel_dp *intel_dp, int index) in hsw_get_aux_clock_divider()
1214 static u32 skl_get_aux_clock_divider(struct intel_dp *intel_dp, int index) in skl_get_aux_clock_divider()
1224 static u32 g4x_get_aux_send_ctl(struct intel_dp *intel_dp, in g4x_get_aux_send_ctl()
1254 static u32 skl_get_aux_send_ctl(struct intel_dp *intel_dp, in skl_get_aux_send_ctl()
1282 intel_dp_aux_xfer(struct intel_dp *intel_dp, in intel_dp_aux_xfer()
1485 struct intel_dp *intel_dp = container_of(aux, struct intel_dp, aux); in intel_dp_aux_transfer() local
1554 static i915_reg_t g4x_aux_ctl_reg(struct intel_dp *intel_dp) in g4x_aux_ctl_reg()
1571 static i915_reg_t g4x_aux_data_reg(struct intel_dp *intel_dp, int index) in g4x_aux_data_reg()
1588 static i915_reg_t ilk_aux_ctl_reg(struct intel_dp *intel_dp) in ilk_aux_ctl_reg()
1607 static i915_reg_t ilk_aux_data_reg(struct intel_dp *intel_dp, int index) in ilk_aux_data_reg()
1626 static i915_reg_t skl_aux_ctl_reg(struct intel_dp *intel_dp) in skl_aux_ctl_reg()
1646 static i915_reg_t skl_aux_data_reg(struct intel_dp *intel_dp, int index) in skl_aux_data_reg()
1667 intel_dp_aux_fini(struct intel_dp *intel_dp) in intel_dp_aux_fini()
1673 intel_dp_aux_init(struct intel_dp *intel_dp) in intel_dp_aux_init()
1712 bool intel_dp_source_supports_hbr2(struct intel_dp *intel_dp) in intel_dp_source_supports_hbr2()
1719 bool intel_dp_source_supports_hbr3(struct intel_dp *intel_dp) in intel_dp_source_supports_hbr3()
1775 static void intel_dp_print_rates(struct intel_dp *intel_dp) in intel_dp_print_rates()
1796 intel_dp_max_link_rate(struct intel_dp *intel_dp) in intel_dp_max_link_rate()
1807 int intel_dp_rate_select(struct intel_dp *intel_dp, int rate) in intel_dp_rate_select()
1818 void intel_dp_compute_rate(struct intel_dp *intel_dp, int port_clock, in intel_dp_compute_rate()
1832 static bool intel_dp_source_supports_fec(struct intel_dp *intel_dp, in intel_dp_source_supports_fec()
1841 static bool intel_dp_supports_fec(struct intel_dp *intel_dp, in intel_dp_supports_fec()
1848 static bool intel_dp_source_supports_dsc(struct intel_dp *intel_dp, in intel_dp_source_supports_dsc()
1857 static bool intel_dp_supports_dsc(struct intel_dp *intel_dp, in intel_dp_supports_dsc()
1867 static int intel_dp_compute_bpp(struct intel_dp *intel_dp, in intel_dp_compute_bpp()
1895 intel_dp_adjust_compliance_config(struct intel_dp *intel_dp, in intel_dp_adjust_compliance_config()
1944 intel_dp_compute_link_config_wide(struct intel_dp *intel_dp, in intel_dp_compute_link_config_wide()
1980 static int intel_dp_dsc_compute_bpp(struct intel_dp *intel_dp, u8 dsc_max_bpc) in intel_dp_dsc_compute_bpp()
1995 static int intel_dp_dsc_compute_config(struct intel_dp *intel_dp, in intel_dp_dsc_compute_config()
2107 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_compute_link_config() local
2188 intel_dp_ycbcr420_config(struct intel_dp *intel_dp, in intel_dp_ycbcr420_config()
2247 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_compute_config() local
2345 void intel_dp_set_link_params(struct intel_dp *intel_dp, in intel_dp_set_link_params()
2359 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_prepare() local
2450 static void wait_panel_status(struct intel_dp *intel_dp, in wait_panel_status()
2478 static void wait_panel_on(struct intel_dp *intel_dp) in wait_panel_on()
2484 static void wait_panel_off(struct intel_dp *intel_dp) in wait_panel_off()
2490 static void wait_panel_power_cycle(struct intel_dp *intel_dp) in wait_panel_power_cycle()
2511 static void wait_backlight_on(struct intel_dp *intel_dp) in wait_backlight_on()
2517 static void edp_wait_backlight_off(struct intel_dp *intel_dp) in edp_wait_backlight_off()
2527 static u32 ironlake_get_pp_control(struct intel_dp *intel_dp) in ironlake_get_pp_control()
2548 static bool edp_panel_vdd_on(struct intel_dp *intel_dp) in edp_panel_vdd_on()
2605 void intel_edp_panel_vdd_on(struct intel_dp *intel_dp) in intel_edp_panel_vdd_on()
2620 static void edp_panel_vdd_off_sync(struct intel_dp *intel_dp) in edp_panel_vdd_off_sync()
2660 struct intel_dp *intel_dp = in edp_panel_vdd_work() local
2671 static void edp_panel_vdd_schedule_off(struct intel_dp *intel_dp) in edp_panel_vdd_schedule_off()
2689 static void edp_panel_vdd_off(struct intel_dp *intel_dp, bool sync) in edp_panel_vdd_off()
2709 static void edp_panel_on(struct intel_dp *intel_dp) in edp_panel_on()
2756 void intel_edp_panel_on(struct intel_dp *intel_dp) in intel_edp_panel_on()
2768 static void edp_panel_off(struct intel_dp *intel_dp) in edp_panel_off()
2806 void intel_edp_panel_off(struct intel_dp *intel_dp) in intel_edp_panel_off()
2818 static void _intel_edp_backlight_on(struct intel_dp *intel_dp) in _intel_edp_backlight_on()
2847 struct intel_dp *intel_dp = enc_to_intel_dp(conn_state->best_encoder); in intel_edp_backlight_on() local
2859 static void _intel_edp_backlight_off(struct intel_dp *intel_dp) in _intel_edp_backlight_off()
2885 struct intel_dp *intel_dp = enc_to_intel_dp(old_conn_state->best_encoder); in intel_edp_backlight_off() local
2903 struct intel_dp *intel_dp = intel_attached_dp(&connector->base); in intel_edp_backlight_power() local
2922 static void assert_dp_port(struct intel_dp *intel_dp, bool state) in assert_dp_port()
2946 static void ironlake_edp_pll_on(struct intel_dp *intel_dp, in ironlake_edp_pll_on()
2986 static void ironlake_edp_pll_off(struct intel_dp *intel_dp, in ironlake_edp_pll_off()
3005 static bool downstream_hpd_needs_d0(struct intel_dp *intel_dp) in downstream_hpd_needs_d0()
3020 void intel_dp_sink_set_decompression_state(struct intel_dp *intel_dp, in intel_dp_sink_set_decompression_state()
3037 void intel_dp_sink_dpms(struct intel_dp *intel_dp, int mode) in intel_dp_sink_dpms()
3125 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_get_hw_state() local
3146 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_get_config() local
3230 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_disable_dp() local
3264 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in g4x_post_disable_dp() local
3304 _intel_dp_set_link_train(struct intel_dp *intel_dp, in _intel_dp_set_link_train()
3387 static void intel_dp_enable_port(struct intel_dp *intel_dp, in intel_dp_enable_port()
3415 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_enable_dp() local
3475 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in g4x_pre_enable_dp() local
3485 static void vlv_detach_power_sequencer(struct intel_dp *intel_dp) in vlv_detach_power_sequencer()
3524 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in vlv_steal_power_sequencer() local
3546 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in vlv_init_panel_power_sequencer() local
3636 intel_dp_get_link_status(struct intel_dp *intel_dp, u8 link_status[DP_LINK_STATUS_SIZE]) in intel_dp_get_link_status()
3644 intel_dp_voltage_max(struct intel_dp *intel_dp) in intel_dp_voltage_max()
3663 intel_dp_pre_emphasis_max(struct intel_dp *intel_dp, u8 voltage_swing) in intel_dp_pre_emphasis_max()
3708 static u32 vlv_signal_levels(struct intel_dp *intel_dp) in vlv_signal_levels()
3794 static u32 chv_signal_levels(struct intel_dp *intel_dp) in chv_signal_levels()
3975 intel_dp_set_signal_levels(struct intel_dp *intel_dp) in intel_dp_set_signal_levels()
4019 intel_dp_program_link_training_pattern(struct intel_dp *intel_dp, in intel_dp_program_link_training_pattern()
4032 void intel_dp_set_idle_link_train(struct intel_dp *intel_dp) in intel_dp_set_idle_link_train()
4067 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_link_down() local
4134 intel_dp_extended_receiver_capabilities(struct intel_dp *intel_dp) in intel_dp_extended_receiver_capabilities()
4170 intel_dp_read_dpcd(struct intel_dp *intel_dp) in intel_dp_read_dpcd()
4183 bool intel_dp_get_colorimetry_status(struct intel_dp *intel_dp) in intel_dp_get_colorimetry_status()
4193 static void intel_dp_get_dsc_sink_cap(struct intel_dp *intel_dp) in intel_dp_get_dsc_sink_cap()
4228 intel_edp_init_dpcd(struct intel_dp *intel_dp) in intel_edp_init_dpcd()
4308 intel_dp_get_dpcd(struct intel_dp *intel_dp) in intel_dp_get_dpcd()
4371 intel_dp_sink_can_mst(struct intel_dp *intel_dp) in intel_dp_sink_can_mst()
4385 intel_dp_can_mst(struct intel_dp *intel_dp) in intel_dp_can_mst()
4393 intel_dp_configure_mst(struct intel_dp *intel_dp) in intel_dp_configure_mst()
4414 intel_dp_get_sink_irq_esi(struct intel_dp *intel_dp, u8 *sink_irq_vector) in intel_dp_get_sink_irq_esi()
4422 intel_pixel_encoding_setup_vsc(struct intel_dp *intel_dp, in intel_pixel_encoding_setup_vsc()
4502 void intel_dp_ycbcr_420_enable(struct intel_dp *intel_dp, in intel_dp_ycbcr_420_enable()
4511 static u8 intel_dp_autotest_link_training(struct intel_dp *intel_dp) in intel_dp_autotest_link_training()
4548 static u8 intel_dp_autotest_video_pattern(struct intel_dp *intel_dp) in intel_dp_autotest_video_pattern()
4609 static u8 intel_dp_autotest_edid(struct intel_dp *intel_dp) in intel_dp_autotest_edid()
4653 static u8 intel_dp_autotest_phy_pattern(struct intel_dp *intel_dp) in intel_dp_autotest_phy_pattern()
4659 static void intel_dp_handle_test_request(struct intel_dp *intel_dp) in intel_dp_handle_test_request()
4703 intel_dp_check_mst_status(struct intel_dp *intel_dp) in intel_dp_check_mst_status()
4760 intel_dp_needs_link_retrain(struct intel_dp *intel_dp) in intel_dp_needs_link_retrain()
4797 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_retrain_link() local
4908 static void intel_dp_check_service_irq(struct intel_dp *intel_dp) in intel_dp_check_service_irq()
4945 intel_dp_short_pulse(struct intel_dp *intel_dp) in intel_dp_short_pulse()
4992 intel_dp_detect_dpcd(struct intel_dp *intel_dp) in intel_dp_detect_dpcd()
5046 edp_detect(struct intel_dp *intel_dp) in edp_detect()
5303 intel_dp_get_edid(struct intel_dp *intel_dp) in intel_dp_get_edid()
5320 intel_dp_set_edid(struct intel_dp *intel_dp) in intel_dp_set_edid()
5334 intel_dp_unset_edid(struct intel_dp *intel_dp) in intel_dp_unset_edid()
5351 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_detect() local
5455 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_force() local
5508 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_connector_register() local
5532 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_connector_unregister() local
5542 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_encoder_flush_work() local
5575 struct intel_dp *intel_dp = enc_to_intel_dp(&intel_encoder->base); in intel_dp_encoder_suspend() local
5606 struct intel_dp *intel_dp = enc_to_intel_dp(&intel_dig_port->base.base); in intel_dp_hdcp_write_an_aksv() local
6178 static void intel_edp_panel_vdd_sanitize(struct intel_dp *intel_dp) in intel_edp_panel_vdd_sanitize()
6200 static enum pipe vlv_active_pipe(struct intel_dp *intel_dp) in vlv_active_pipe()
6216 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_encoder_reset() local
6274 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_hpd_pulse() local
6342 intel_dp_add_properties(struct intel_dp *intel_dp, struct drm_connector *connector) in intel_dp_add_properties()
6370 static void intel_dp_init_panel_power_timestamps(struct intel_dp *intel_dp) in intel_dp_init_panel_power_timestamps()
6378 intel_pps_readout_hw_state(struct intel_dp *intel_dp, struct edp_power_seq *seq) in intel_pps_readout_hw_state()
6421 intel_pps_verify_state(struct intel_dp *intel_dp) in intel_pps_verify_state()
6437 intel_dp_init_panel_power_sequencer(struct intel_dp *intel_dp) in intel_dp_init_panel_power_sequencer()
6529 intel_dp_init_panel_power_sequencer_registers(struct intel_dp *intel_dp, in intel_dp_init_panel_power_sequencer_registers()
6623 static void intel_dp_pps_init(struct intel_dp *intel_dp) in intel_dp_pps_init()
6652 struct intel_dp *intel_dp = dev_priv->drrs.dp; in intel_dp_set_drrs_state() local
6734 void intel_edp_drrs_enable(struct intel_dp *intel_dp, in intel_edp_drrs_enable()
6769 void intel_edp_drrs_disable(struct intel_dp *intel_dp, in intel_edp_drrs_disable()
6797 struct intel_dp *intel_dp; in intel_edp_drrs_downclock_work() local
6999 static bool intel_edp_init_connector(struct intel_dp *intel_dp, in intel_edp_init_connector()
7140 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_init_connector() local
7350 struct intel_dp *intel_dp; in intel_dp_mst_suspend() local
7370 struct intel_dp *intel_dp; in intel_dp_mst_resume() local