Lines Matching defs:intel_dp
103 bool intel_dp_is_edp(struct intel_dp *intel_dp) in intel_dp_is_edp()
110 static struct drm_device *intel_dp_to_dev(struct intel_dp *intel_dp) in intel_dp_to_dev()
133 static void intel_dp_set_sink_rates(struct intel_dp *intel_dp) in intel_dp_set_sink_rates()
166 static int intel_dp_common_len_rate_limit(const struct intel_dp *intel_dp, in intel_dp_common_len_rate_limit()
174 static int intel_dp_max_common_rate(struct intel_dp *intel_dp) in intel_dp_max_common_rate()
180 static int intel_dp_max_common_lane_count(struct intel_dp *intel_dp) in intel_dp_max_common_lane_count()
189 int intel_dp_max_lane_count(struct intel_dp *intel_dp) in intel_dp_max_lane_count()
214 intel_dp_downstream_max_dotclock(struct intel_dp *intel_dp) in intel_dp_downstream_max_dotclock()
236 static int cnl_max_source_rate(struct intel_dp *intel_dp) in cnl_max_source_rate()
259 static int icl_max_source_rate(struct intel_dp *intel_dp) in icl_max_source_rate()
271 intel_dp_set_source_rates(struct intel_dp *intel_dp) in intel_dp_set_source_rates()
368 static void intel_dp_set_common_rates(struct intel_dp *intel_dp) in intel_dp_set_common_rates()
385 static bool intel_dp_link_params_valid(struct intel_dp *intel_dp, int link_rate, in intel_dp_link_params_valid()
404 int intel_dp_get_link_train_fallback_values(struct intel_dp *intel_dp, in intel_dp_get_link_train_fallback_values()
430 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_mode_valid() local
499 static void pps_lock(struct intel_dp *intel_dp) in pps_lock()
512 static void pps_unlock(struct intel_dp *intel_dp) in pps_unlock()
522 vlv_power_sequencer_kick(struct intel_dp *intel_dp) in vlv_power_sequencer_kick()
604 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in vlv_find_free_pps() local
627 vlv_power_sequencer_pipe(struct intel_dp *intel_dp) in vlv_power_sequencer_pipe()
674 bxt_power_sequencer_idx(struct intel_dp *intel_dp) in bxt_power_sequencer_idx()
743 vlv_initial_power_sequencer_setup(struct intel_dp *intel_dp) in vlv_initial_power_sequencer_setup()
797 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_power_sequencer_reset() local
819 static void intel_pps_get_registers(struct intel_dp *intel_dp, in intel_pps_get_registers()
842 _pp_ctrl_reg(struct intel_dp *intel_dp) in _pp_ctrl_reg()
852 _pp_stat_reg(struct intel_dp *intel_dp) in _pp_stat_reg()
866 struct intel_dp *intel_dp = container_of(this, typeof(* intel_dp), in edp_notify_handler() local
896 static bool edp_have_panel_power(struct intel_dp *intel_dp) in edp_have_panel_power()
909 static bool edp_have_panel_vdd(struct intel_dp *intel_dp) in edp_have_panel_vdd()
923 intel_dp_check_edp(struct intel_dp *intel_dp) in intel_dp_check_edp()
939 intel_dp_aux_wait_done(struct intel_dp *intel_dp) in intel_dp_aux_wait_done()
956 static uint32_t g4x_get_aux_clock_divider(struct intel_dp *intel_dp, int index) in g4x_get_aux_clock_divider()
970 static uint32_t ilk_get_aux_clock_divider(struct intel_dp *intel_dp, int index) in ilk_get_aux_clock_divider()
988 static uint32_t hsw_get_aux_clock_divider(struct intel_dp *intel_dp, int index) in hsw_get_aux_clock_divider()
1004 static uint32_t skl_get_aux_clock_divider(struct intel_dp *intel_dp, int index) in skl_get_aux_clock_divider()
1014 static uint32_t g4x_get_aux_send_ctl(struct intel_dp *intel_dp, in g4x_get_aux_send_ctl()
1044 static uint32_t skl_get_aux_send_ctl(struct intel_dp *intel_dp, in skl_get_aux_send_ctl()
1060 intel_dp_aux_xfer(struct intel_dp *intel_dp, in intel_dp_aux_xfer()
1244 struct intel_dp *intel_dp = container_of(aux, struct intel_dp, aux); in intel_dp_aux_transfer() local
1312 static enum aux_ch intel_aux_ch(struct intel_dp *intel_dp) in intel_aux_ch()
1361 intel_aux_power_domain(struct intel_dp *intel_dp) in intel_aux_power_domain()
1382 static i915_reg_t g4x_aux_ctl_reg(struct intel_dp *intel_dp) in g4x_aux_ctl_reg()
1398 static i915_reg_t g4x_aux_data_reg(struct intel_dp *intel_dp, int index) in g4x_aux_data_reg()
1414 static i915_reg_t ilk_aux_ctl_reg(struct intel_dp *intel_dp) in ilk_aux_ctl_reg()
1432 static i915_reg_t ilk_aux_data_reg(struct intel_dp *intel_dp, int index) in ilk_aux_data_reg()
1450 static i915_reg_t skl_aux_ctl_reg(struct intel_dp *intel_dp) in skl_aux_ctl_reg()
1469 static i915_reg_t skl_aux_data_reg(struct intel_dp *intel_dp, int index) in skl_aux_data_reg()
1489 intel_dp_aux_fini(struct intel_dp *intel_dp) in intel_dp_aux_fini()
1495 intel_dp_aux_init(struct intel_dp *intel_dp) in intel_dp_aux_init()
1536 bool intel_dp_source_supports_hbr2(struct intel_dp *intel_dp) in intel_dp_source_supports_hbr2()
1543 bool intel_dp_source_supports_hbr3(struct intel_dp *intel_dp) in intel_dp_source_supports_hbr3()
1599 static void intel_dp_print_rates(struct intel_dp *intel_dp) in intel_dp_print_rates()
1620 intel_dp_max_link_rate(struct intel_dp *intel_dp) in intel_dp_max_link_rate()
1631 int intel_dp_rate_select(struct intel_dp *intel_dp, int rate) in intel_dp_rate_select()
1642 void intel_dp_compute_rate(struct intel_dp *intel_dp, int port_clock, in intel_dp_compute_rate()
1662 static int intel_dp_compute_bpp(struct intel_dp *intel_dp, in intel_dp_compute_bpp()
1690 intel_dp_adjust_compliance_config(struct intel_dp *intel_dp, in intel_dp_adjust_compliance_config()
1726 intel_dp_compute_link_config_wide(struct intel_dp *intel_dp, in intel_dp_compute_link_config_wide()
1765 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_compute_link_config() local
1831 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_compute_config() local
1924 void intel_dp_set_link_params(struct intel_dp *intel_dp, in intel_dp_set_link_params()
1938 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_prepare() local
2029 static void wait_panel_status(struct intel_dp *intel_dp, in wait_panel_status()
2058 static void wait_panel_on(struct intel_dp *intel_dp) in wait_panel_on()
2064 static void wait_panel_off(struct intel_dp *intel_dp) in wait_panel_off()
2070 static void wait_panel_power_cycle(struct intel_dp *intel_dp) in wait_panel_power_cycle()
2091 static void wait_backlight_on(struct intel_dp *intel_dp) in wait_backlight_on()
2097 static void edp_wait_backlight_off(struct intel_dp *intel_dp) in edp_wait_backlight_off()
2107 static u32 ironlake_get_pp_control(struct intel_dp *intel_dp) in ironlake_get_pp_control()
2128 static bool edp_panel_vdd_on(struct intel_dp *intel_dp) in edp_panel_vdd_on()
2184 void intel_edp_panel_vdd_on(struct intel_dp *intel_dp) in intel_edp_panel_vdd_on()
2199 static void edp_panel_vdd_off_sync(struct intel_dp *intel_dp) in edp_panel_vdd_off_sync()
2238 struct intel_dp *intel_dp = container_of(to_delayed_work(__work), in edp_panel_vdd_work() local
2247 static void edp_panel_vdd_schedule_off(struct intel_dp *intel_dp) in edp_panel_vdd_schedule_off()
2265 static void edp_panel_vdd_off(struct intel_dp *intel_dp, bool sync) in edp_panel_vdd_off()
2285 static void edp_panel_on(struct intel_dp *intel_dp) in edp_panel_on()
2332 void intel_edp_panel_on(struct intel_dp *intel_dp) in intel_edp_panel_on()
2343 static void edp_panel_off(struct intel_dp *intel_dp) in edp_panel_off()
2380 void intel_edp_panel_off(struct intel_dp *intel_dp) in intel_edp_panel_off()
2391 static void _intel_edp_backlight_on(struct intel_dp *intel_dp) in _intel_edp_backlight_on()
2422 struct intel_dp *intel_dp = enc_to_intel_dp(conn_state->best_encoder); in intel_edp_backlight_on() local
2434 static void _intel_edp_backlight_off(struct intel_dp *intel_dp) in _intel_edp_backlight_off()
2462 struct intel_dp *intel_dp = enc_to_intel_dp(old_conn_state->best_encoder); in intel_edp_backlight_off() local
2480 struct intel_dp *intel_dp = intel_attached_dp(&connector->base); in intel_edp_backlight_power() local
2499 static void assert_dp_port(struct intel_dp *intel_dp, bool state) in assert_dp_port()
2523 static void ironlake_edp_pll_on(struct intel_dp *intel_dp, in ironlake_edp_pll_on()
2563 static void ironlake_edp_pll_off(struct intel_dp *intel_dp, in ironlake_edp_pll_off()
2582 static bool downstream_hpd_needs_d0(struct intel_dp *intel_dp) in downstream_hpd_needs_d0()
2598 void intel_dp_sink_dpms(struct intel_dp *intel_dp, int mode) in intel_dp_sink_dpms()
2686 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_get_hw_state() local
2705 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_get_config() local
2789 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_disable_dp() local
2823 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in g4x_post_disable_dp() local
2863 _intel_dp_set_link_train(struct intel_dp *intel_dp, in _intel_dp_set_link_train()
2946 static void intel_dp_enable_port(struct intel_dp *intel_dp, in intel_dp_enable_port()
2974 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_enable_dp() local
3035 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in g4x_pre_enable_dp() local
3045 static void vlv_detach_power_sequencer(struct intel_dp *intel_dp) in vlv_detach_power_sequencer()
3084 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in vlv_steal_power_sequencer() local
3106 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in vlv_init_panel_power_sequencer() local
3196 intel_dp_get_link_status(struct intel_dp *intel_dp, uint8_t link_status[DP_LINK_STATUS_SIZE]) in intel_dp_get_link_status()
3204 intel_dp_voltage_max(struct intel_dp *intel_dp) in intel_dp_voltage_max()
3223 intel_dp_pre_emphasis_max(struct intel_dp *intel_dp, uint8_t voltage_swing) in intel_dp_pre_emphasis_max()
3268 static uint32_t vlv_signal_levels(struct intel_dp *intel_dp) in vlv_signal_levels()
3354 static uint32_t chv_signal_levels(struct intel_dp *intel_dp) in chv_signal_levels()
3535 intel_dp_set_signal_levels(struct intel_dp *intel_dp) in intel_dp_set_signal_levels()
3579 intel_dp_program_link_training_pattern(struct intel_dp *intel_dp, in intel_dp_program_link_training_pattern()
3592 void intel_dp_set_idle_link_train(struct intel_dp *intel_dp) in intel_dp_set_idle_link_train()
3629 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_link_down() local
3698 intel_dp_read_dpcd(struct intel_dp *intel_dp) in intel_dp_read_dpcd()
3710 intel_edp_init_dpcd(struct intel_dp *intel_dp) in intel_edp_init_dpcd()
3790 intel_dp_get_dpcd(struct intel_dp *intel_dp) in intel_dp_get_dpcd()
3838 intel_dp_can_mst(struct intel_dp *intel_dp) in intel_dp_can_mst()
3858 intel_dp_configure_mst(struct intel_dp *intel_dp) in intel_dp_configure_mst()
3878 intel_dp_get_sink_irq(struct intel_dp *intel_dp, u8 *sink_irq_vector) in intel_dp_get_sink_irq()
3885 intel_dp_get_sink_irq_esi(struct intel_dp *intel_dp, u8 *sink_irq_vector) in intel_dp_get_sink_irq_esi()
3892 static uint8_t intel_dp_autotest_link_training(struct intel_dp *intel_dp) in intel_dp_autotest_link_training()
3929 static uint8_t intel_dp_autotest_video_pattern(struct intel_dp *intel_dp) in intel_dp_autotest_video_pattern()
3990 static uint8_t intel_dp_autotest_edid(struct intel_dp *intel_dp) in intel_dp_autotest_edid()
4034 static uint8_t intel_dp_autotest_phy_pattern(struct intel_dp *intel_dp) in intel_dp_autotest_phy_pattern()
4040 static void intel_dp_handle_test_request(struct intel_dp *intel_dp) in intel_dp_handle_test_request()
4084 intel_dp_check_mst_status(struct intel_dp *intel_dp) in intel_dp_check_mst_status()
4141 intel_dp_needs_link_retrain(struct intel_dp *intel_dp) in intel_dp_needs_link_retrain()
4167 struct intel_dp *intel_dp = enc_to_intel_dp(&encoder->base); in intel_dp_retrain_link() local
4283 intel_dp_short_pulse(struct intel_dp *intel_dp) in intel_dp_short_pulse()
4344 intel_dp_detect_dpcd(struct intel_dp *intel_dp) in intel_dp_detect_dpcd()
4398 edp_detect(struct intel_dp *intel_dp) in edp_detect()
4609 intel_dp_get_edid(struct intel_dp *intel_dp) in intel_dp_get_edid()
4626 intel_dp_set_edid(struct intel_dp *intel_dp) in intel_dp_set_edid()
4640 intel_dp_unset_edid(struct intel_dp *intel_dp) in intel_dp_unset_edid()
4656 struct intel_dp *intel_dp = intel_attached_dp(&connector->base); in intel_dp_long_pulse() local
4771 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_detect() local
4800 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_force() local
4849 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_connector_register() local
4873 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_connector_unregister() local
4904 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_encoder_destroy() local
4931 struct intel_dp *intel_dp = enc_to_intel_dp(&intel_encoder->base); in intel_dp_encoder_suspend() local
4950 struct intel_dp *intel_dp = enc_to_intel_dp(&intel_dig_port->base.base); in intel_dp_hdcp_write_an_aksv() local
5178 static void intel_edp_panel_vdd_sanitize(struct intel_dp *intel_dp) in intel_edp_panel_vdd_sanitize()
5199 static enum pipe vlv_active_pipe(struct intel_dp *intel_dp) in vlv_active_pipe()
5215 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_encoder_reset() local
5267 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_hpd_pulse() local
5350 intel_dp_add_properties(struct intel_dp *intel_dp, struct drm_connector *connector) in intel_dp_add_properties()
5374 static void intel_dp_init_panel_power_timestamps(struct intel_dp *intel_dp) in intel_dp_init_panel_power_timestamps()
5382 intel_pps_readout_hw_state(struct intel_dp *intel_dp, struct edp_power_seq *seq) in intel_pps_readout_hw_state()
5434 intel_pps_verify_state(struct intel_dp *intel_dp) in intel_pps_verify_state()
5450 intel_dp_init_panel_power_sequencer(struct intel_dp *intel_dp) in intel_dp_init_panel_power_sequencer()
5542 intel_dp_init_panel_power_sequencer_registers(struct intel_dp *intel_dp, in intel_dp_init_panel_power_sequencer_registers()
5639 static void intel_dp_pps_init(struct intel_dp *intel_dp) in intel_dp_pps_init()
5670 struct intel_dp *intel_dp = dev_priv->drrs.dp; in intel_dp_set_drrs_state() local
5755 void intel_edp_drrs_enable(struct intel_dp *intel_dp, in intel_edp_drrs_enable()
5790 void intel_edp_drrs_disable(struct intel_dp *intel_dp, in intel_edp_drrs_disable()
5818 struct intel_dp *intel_dp; in intel_edp_drrs_downclock_work() local
6022 static bool intel_edp_init_connector(struct intel_dp *intel_dp, in intel_edp_init_connector()
6173 struct intel_dp *intel_dp = &intel_dig_port->dp; in intel_dp_init_connector() local
6378 struct intel_dp *intel_dp; in intel_dp_mst_suspend() local
6398 struct intel_dp *intel_dp; in intel_dp_mst_resume() local