/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_link_training.c | 66 static u8 *intel_dp_lttpr_phy_caps(struct intel_dp *intel_dp, in intel_dp_lttpr_phy_caps() argument 375 preemph_max = intel_dp->preemph_max(intel_dp); in intel_dp_phy_preemph_max() 491 intel_dp_get_adjust_train(struct intel_dp *intel_dp, in intel_dp_get_adjust_train() argument 529 intel_dp_set_link_train(struct intel_dp *intel_dp, in intel_dp_set_link_train() argument 631 intel_dp_reset_link_train(struct intel_dp *intel_dp, in intel_dp_reset_link_train() argument 642 intel_dp_update_link_train(struct intel_dp *intel_dp, in intel_dp_update_link_train() argument 770 intel_dp_prepare_link_train(struct intel_dp *intel_dp, in intel_dp_prepare_link_train() argument 1138 intel_dp_link_train_phy(struct intel_dp *intel_dp, in intel_dp_link_train_phy() argument 1313 struct intel_dp *intel_dp, in intel_dp_schedule_fallback_link_training() argument 1369 intel_dp_128b132b_lane_eq(struct intel_dp *intel_dp, in intel_dp_128b132b_lane_eq() argument [all …]
|
H A D | intel_pps.c | 24 static void pps_init_delays(struct intel_dp *intel_dp); 27 static const char *pps_name(struct intel_dp *intel_dp) in pps_name() argument 92 vlv_power_sequencer_kick(struct intel_dp *intel_dp) in vlv_power_sequencer_kick() argument 205 vlv_power_sequencer_pipe(struct intel_dp *intel_dp) in vlv_power_sequencer_pipe() argument 253 bxt_power_sequencer_idx(struct intel_dp *intel_dp) in bxt_power_sequencer_idx() argument 402 pps_initial_setup(struct intel_dp *intel_dp) in pps_initial_setup() argument 524 _pp_ctrl_reg(struct intel_dp *intel_dp) in _pp_ctrl_reg() argument 534 _pp_stat_reg(struct intel_dp *intel_dp) in _pp_stat_reg() argument 883 struct intel_dp *intel_dp = container_of(pps, struct intel_dp, pps); in edp_panel_vdd_work() local 1008 void intel_pps_on(struct intel_dp *intel_dp) in intel_pps_on() argument [all …]
|
H A D | intel_psr.c | 301 static u32 psr_irq_mask_get(struct intel_dp *intel_dp) in psr_irq_mask_get() argument 665 void intel_psr_init_dpcd(struct intel_dp *intel_dp) in intel_psr_init_dpcd() argument 1143 struct intel_dp *intel_dp = in tgl_dc3co_disable_work() local 1686 struct intel_dp *intel_dp; in intel_psr_get_config() local 2145 void intel_psr_disable(struct intel_dp *intel_dp, in intel_psr_disable() argument 2171 void intel_psr_pause(struct intel_dp *intel_dp) in intel_psr_pause() argument 2205 void intel_psr_resume(struct intel_dp *intel_dp) in intel_psr_resume() argument 2992 struct intel_dp *intel_dp = in intel_psr_work() local 3235 void intel_psr_init(struct intel_dp *intel_dp) in intel_psr_init() argument 3421 bool intel_psr_enabled(struct intel_dp *intel_dp) in intel_psr_enabled() argument [all …]
|
H A D | intel_dp.c | 130 bool intel_dp_is_edp(struct intel_dp *intel_dp) in intel_dp_is_edp() argument 169 static int max_dprx_rate(struct intel_dp *intel_dp) in max_dprx_rate() argument 671 struct intel_dp *intel_dp = (struct intel_dp *)p; /* remove const */ in link_config_cmp_by_bw() local 1064 dfp_can_convert(struct intel_dp *intel_dp, in dfp_can_convert() argument 4169 intel_dp_get_dpcd(struct intel_dp *intel_dp) in intel_dp_get_dpcd() argument 5741 edp_detect(struct intel_dp *intel_dp) in edp_detect() argument 6236 struct intel_dp *intel_dp = &dig_port->dp; in intel_dp_encoder_flush_work() local 6470 struct intel_dp *intel_dp = &dig_port->dp; in intel_dp_hpd_pulse() local 6844 struct intel_dp *intel_dp = &dig_port->dp; in intel_dp_init_connector() local 6962 struct intel_dp *intel_dp; in intel_dp_mst_suspend() local [all …]
|
H A D | intel_pps.h | 17 struct intel_dp; 20 intel_wakeref_t intel_pps_lock(struct intel_dp *intel_dp); 26 void intel_pps_backlight_on(struct intel_dp *intel_dp); 27 void intel_pps_backlight_off(struct intel_dp *intel_dp); 32 void intel_pps_on_unlocked(struct intel_dp *intel_dp); 33 void intel_pps_off_unlocked(struct intel_dp *intel_dp); 36 void intel_pps_vdd_on(struct intel_dp *intel_dp); 37 void intel_pps_on(struct intel_dp *intel_dp); 38 void intel_pps_off(struct intel_dp *intel_dp); 43 bool intel_pps_init(struct intel_dp *intel_dp); [all …]
|
H A D | intel_dp.h | 23 struct intel_dp; 55 void intel_dp_set_link_params(struct intel_dp *intel_dp, 57 int intel_dp_get_active_pipes(struct intel_dp *intel_dp, 86 bool intel_dp_has_hdmi_sink(struct intel_dp *intel_dp); 87 bool intel_dp_is_edp(struct intel_dp *intel_dp); 102 int intel_dp_max_link_rate(struct intel_dp *intel_dp); 103 int intel_dp_max_lane_count(struct intel_dp *intel_dp); 127 bool intel_dp_has_joiner(struct intel_dp *intel_dp); 156 bool intel_dp_need_joiner(struct intel_dp *intel_dp, 165 bool intel_dp_supports_fec(struct intel_dp *intel_dp, [all …]
|
H A D | intel_dp_tunnel.h | 19 struct intel_dp; 26 void intel_dp_tunnel_disconnect(struct intel_dp *intel_dp); 27 void intel_dp_tunnel_destroy(struct intel_dp *intel_dp); 28 void intel_dp_tunnel_resume(struct intel_dp *intel_dp, 31 void intel_dp_tunnel_suspend(struct intel_dp *intel_dp); 33 bool intel_dp_tunnel_bw_alloc_is_enabled(struct intel_dp *intel_dp); 39 struct intel_dp *intel_dp, 50 struct intel_dp *intel_dp, 68 static inline void intel_dp_tunnel_resume(struct intel_dp *intel_dp, in intel_dp_tunnel_resume() argument 83 struct intel_dp *intel_dp, in intel_dp_tunnel_atomic_compute_stream_bw() argument [all …]
|
H A D | intel_dp_aux.c | 57 intel_dp_aux_wait_done(struct intel_dp *intel_dp) in intel_dp_aux_wait_done() argument 60 i915_reg_t ch_ctl = intel_dp->aux_ch_ctl_reg(intel_dp); in intel_dp_aux_wait_done() 148 int intel_dp_aux_fw_sync_len(struct intel_dp *intel_dp) in intel_dp_aux_fw_sync_len() argument 177 static u32 g4x_get_aux_send_ctl(struct intel_dp *intel_dp, in g4x_get_aux_send_ctl() argument 239 intel_dp_aux_xfer(struct intel_dp *intel_dp, in intel_dp_aux_xfer() argument 258 ch_ctl = intel_dp->aux_ch_ctl_reg(intel_dp); in intel_dp_aux_xfer() 260 ch_data[i] = intel_dp->aux_ch_data_reg(intel_dp, i); in intel_dp_aux_xfer() 332 u32 send_ctl = intel_dp->get_aux_send_ctl(intel_dp, in intel_dp_aux_xfer() 473 struct intel_dp *intel_dp = container_of(aux, struct intel_dp, aux); in intel_dp_aux_transfer() local 765 void intel_dp_aux_fini(struct intel_dp *intel_dp) in intel_dp_aux_fini() argument [all …]
|
H A D | g4x_dp.c | 94 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_prepare() local 194 static void ilk_edp_pll_on(struct intel_dp *intel_dp, in ilk_edp_pll_on() argument 235 static void ilk_edp_pll_off(struct intel_dp *intel_dp, in ilk_edp_pll_off() argument 308 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_get_hw_state() local 345 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_get_config() local 423 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_dp_link_down() local 493 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in g4x_dp_audio_enable() local 510 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in g4x_dp_audio_disable() local 527 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_disable_dp() local 604 cpt_set_link_train(struct intel_dp *intel_dp, in cpt_set_link_train() argument [all …]
|
H A D | intel_dp_tunnel.c | 30 void intel_dp_tunnel_disconnect(struct intel_dp *intel_dp) in intel_dp_tunnel_disconnect() argument 44 void intel_dp_tunnel_destroy(struct intel_dp *intel_dp) in intel_dp_tunnel_destroy() argument 57 static int get_current_link_bw(struct intel_dp *intel_dp, in get_current_link_bw() argument 70 static int update_tunnel_state(struct intel_dp *intel_dp) in update_tunnel_state() argument 160 static int allocate_initial_tunnel_bw(struct intel_dp *intel_dp, in allocate_initial_tunnel_bw() argument 267 void intel_dp_tunnel_suspend(struct intel_dp *intel_dp) in intel_dp_tunnel_suspend() argument 295 void intel_dp_tunnel_resume(struct intel_dp *intel_dp, in intel_dp_tunnel_resume() argument 396 struct intel_dp *intel_dp, in check_inherited_tunnel_state() argument 506 struct intel_dp *intel_dp, in check_group_state() argument 543 struct intel_dp *intel_dp, in intel_dp_tunnel_atomic_check_state() argument [all …]
|
H A D | intel_alpm.c | 14 bool intel_alpm_aux_wake_supported(struct intel_dp *intel_dp) in intel_alpm_aux_wake_supported() argument 19 bool intel_alpm_aux_less_wake_supported(struct intel_dp *intel_dp) in intel_alpm_aux_less_wake_supported() argument 24 void intel_alpm_init_dpcd(struct intel_dp *intel_dp) in intel_alpm_init_dpcd() argument 139 _lnl_compute_aux_less_alpm_params(struct intel_dp *intel_dp, in _lnl_compute_aux_less_alpm_params() argument 171 static bool _lnl_compute_alpm_params(struct intel_dp *intel_dp, in _lnl_compute_alpm_params() argument 223 bool intel_alpm_compute_params(struct intel_dp *intel_dp, in intel_alpm_compute_params() argument 268 void intel_alpm_lobf_compute_config(struct intel_dp *intel_dp, in intel_alpm_lobf_compute_config() argument 309 static void lnl_alpm_configure(struct intel_dp *intel_dp, in lnl_alpm_configure() argument 318 (!intel_dp->psr.sel_update_enabled && !intel_dp_is_edp(intel_dp))) in lnl_alpm_configure() 325 if ((intel_dp->psr.panel_replay_enabled && intel_dp_is_edp(intel_dp)) || in lnl_alpm_configure() [all …]
|
H A D | intel_psr.h | 19 struct intel_dp; 30 void intel_psr_init_dpcd(struct intel_dp *intel_dp); 31 void intel_psr_enable_sink(struct intel_dp *intel_dp, 37 void intel_psr_disable(struct intel_dp *intel_dp, 39 int intel_psr_debug_set(struct intel_dp *intel_dp, u64 value); 46 void intel_psr_init(struct intel_dp *intel_dp); 47 void intel_psr_compute_config(struct intel_dp *intel_dp, 53 void intel_psr_short_pulse(struct intel_dp *intel_dp); 55 bool intel_psr_enabled(struct intel_dp *intel_dp); 59 void intel_psr_pause(struct intel_dp *intel_dp); [all …]
|
H A D | intel_dp_link_training.h | 14 struct intel_dp; 17 int intel_dp_init_lttpr_and_dprx_caps(struct intel_dp *intel_dp); 19 void intel_dp_link_training_set_mode(struct intel_dp *intel_dp, 21 void intel_dp_link_training_set_bw(struct intel_dp *intel_dp, 25 void intel_dp_get_adjust_train(struct intel_dp *intel_dp, 29 void intel_dp_program_link_training_pattern(struct intel_dp *intel_dp, 33 void intel_dp_set_signal_levels(struct intel_dp *intel_dp, 37 struct intel_dp *intel_dp, 39 void intel_dp_stop_link_train(struct intel_dp *intel_dp, 43 intel_dp_dump_link_status(struct intel_dp *intel_dp, enum drm_dp_phy dp_phy, [all …]
|
H A D | intel_alpm.h | 11 struct intel_dp; 16 void intel_alpm_init_dpcd(struct intel_dp *intel_dp); 17 bool intel_alpm_compute_params(struct intel_dp *intel_dp, 19 void intel_alpm_lobf_compute_config(struct intel_dp *intel_dp, 22 void intel_alpm_configure(struct intel_dp *intel_dp, 25 bool intel_alpm_aux_wake_supported(struct intel_dp *intel_dp); 26 bool intel_alpm_aux_less_wake_supported(struct intel_dp *intel_dp);
|
H A D | intel_dp_mst.c | 987 struct intel_dp *intel_dp = &dig_port->dp; in intel_mst_disable_dp() local 1010 struct intel_dp *intel_dp = &dig_port->dp; in intel_mst_post_disable_dp() local 1109 struct intel_dp *intel_dp = &dig_port->dp; in intel_mst_post_pll_disable_dp() local 1123 struct intel_dp *intel_dp = &dig_port->dp; in intel_mst_pre_pll_enable_dp() local 1171 struct intel_dp *intel_dp = &dig_port->dp; in intel_mst_pre_enable_dp() local 1268 struct intel_dp *intel_dp = &dig_port->dp; in intel_mst_enable_dp() local 1701 struct intel_dp *intel_dp = container_of(mgr, struct intel_dp, mst_mgr); in intel_dp_add_mst_connector() local 1766 struct intel_dp *intel_dp = container_of(mgr, struct intel_dp, mst_mgr); in intel_dp_mst_poll_hpd_irq() local 1831 struct intel_dp *intel_dp = &dig_port->dp; in intel_dp_create_fake_mst_encoders() local 1850 struct intel_dp *intel_dp = &dig_port->dp; in intel_dp_mst_encoder_init() local [all …]
|
H A D | intel_lspcon.c | 82 struct intel_dp *intel_dp = lspcon_to_intel_dp(lspcon); in lspcon_detect_vendor() local 87 if (drm_dp_read_desc(&intel_dp->aux, &intel_dp->desc, drm_dp_is_branch(intel_dp->dpcd))) { in lspcon_detect_vendor() 125 struct intel_dp *intel_dp = lspcon_to_intel_dp(lspcon); in lspcon_detect_hdr_capability() local 144 struct intel_dp *intel_dp = lspcon_to_intel_dp(lspcon); in lspcon_get_current_mode() local 171 struct intel_dp *intel_dp = lspcon_to_intel_dp(lspcon); in lspcon_wait_mode() local 197 struct intel_dp *intel_dp = lspcon_to_intel_dp(lspcon); in lspcon_change_mode() local 227 struct intel_dp *intel_dp = lspcon_to_intel_dp(lspcon); in lspcon_wake_native_aux_ch() local 245 struct intel_dp *intel_dp = lspcon_to_intel_dp(lspcon); in lspcon_probe() local 291 struct intel_dp *intel_dp = lspcon_to_intel_dp(lspcon); in lspcon_resume_in_pcon_wa() local 481 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in lspcon_write_infoframe() local [all …]
|
H A D | intel_quirks.c | 17 static void intel_set_dpcd_quirk(struct intel_dp *intel_dp, enum intel_quirk_id quirk) in intel_set_dpcd_quirk() argument 19 intel_dp->quirks.mask |= BIT(quirk); in intel_set_dpcd_quirk() 73 static void quirk_fw_sync_len(struct intel_dp *intel_dp) in quirk_fw_sync_len() argument 75 struct intel_display *display = to_intel_display(intel_dp); in quirk_fw_sync_len() 77 intel_set_dpcd_quirk(intel_dp, QUIRK_FW_SYNC_LEN); in quirk_fw_sync_len() 94 void (*hook)(struct intel_dp *intel_dp); 267 void intel_init_dpcd_quirks(struct intel_dp *intel_dp, in intel_init_dpcd_quirks() argument 270 struct intel_display *display = to_intel_display(intel_dp); in intel_init_dpcd_quirks() 286 q->hook(intel_dp); in intel_init_dpcd_quirks() 295 bool intel_has_dpcd_quirk(struct intel_dp *intel_dp, enum intel_quirk_id quirk) in intel_has_dpcd_quirk() argument [all …]
|
H A D | intel_dp_aux.h | 13 struct intel_dp; 16 void intel_dp_aux_fini(struct intel_dp *intel_dp); 17 void intel_dp_aux_init(struct intel_dp *intel_dp); 23 int intel_dp_aux_fw_sync_len(struct intel_dp *intel_dp);
|
H A D | intel_dp_aux_backlight.c | 113 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_supports_hdr_backlight() local 176 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_hdr_get_backlight() local 214 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_hdr_set_aux_backlight() local 260 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_write_content_luminance() local 320 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_hdr_enable_backlight() local 387 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_write_panel_luminance_override() local 461 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_vesa_set_backlight() local 478 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_vesa_enable_backlight() local 500 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_vesa_disable_backlight() local 512 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_aux_vesa_setup_backlight() local [all …]
|
H A D | intel_dp_mst.h | 15 struct intel_dp; 23 bool intel_dp_mst_source_support(struct intel_dp *intel_dp); 30 void intel_dp_mst_prepare_probe(struct intel_dp *intel_dp); 31 bool intel_dp_mst_verify_dpcd_state(struct intel_dp *intel_dp);
|
H A D | intel_quirks.h | 12 struct intel_dp; 26 void intel_init_dpcd_quirks(struct intel_dp *intel_dp, 29 bool intel_has_dpcd_quirk(struct intel_dp *intel_dp, enum intel_quirk_id quirk);
|
H A D | intel_display_debugfs.c | 229 struct intel_dp *intel_dp = enc_to_intel_dp(intel_encoder); in intel_dp_info() local 785 struct intel_dp *intel_dp; in i915_displayport_test_active_write() local 840 struct intel_dp *intel_dp; in i915_displayport_test_active_show() local 889 struct intel_dp *intel_dp; in i915_displayport_test_data_show() local 942 struct intel_dp *intel_dp; in i915_displayport_test_type_show() local 1151 struct intel_dp *intel_dp; in i915_dsc_fec_support_show() local 1222 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in i915_dsc_fec_support_write() local 1297 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in i915_dsc_bpc_write() local 1364 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in i915_dsc_output_format_write() local 1399 struct intel_dp *intel_dp; in i915_dsc_fractional_bpp_show() local [all …]
|
H A D | g4x_dp.h | 17 struct intel_dp; 22 enum pipe vlv_active_pipe(struct intel_dp *intel_dp); 35 static inline int vlv_active_pipe(struct intel_dp *intel_dp) in vlv_active_pipe() argument
|
H A D | intel_ddi.c | 333 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_ddi_init_dp_buf_reg() local 1131 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in icl_ddi_combo_vswing_program() local 1463 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in hsw_set_signal_levels() local 2284 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_ddi_wait_for_fec_status() local 2511 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in mtl_ddi_pre_enable_dp() local 2620 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in tgl_ddi_pre_enable_dp() local 2762 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in hsw_ddi_pre_enable_dp() local 3022 struct intel_dp *intel_dp = &dig_port->dp; in intel_ddi_post_disable_dp() local 3233 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_enable_ddi_dp() local 3419 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_disable_ddi_dp() local [all …]
|
/linux/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_dp.c | 860 intel_dp->adapter.algo_data = &intel_dp->algo; in cdv_intel_dp_i2c_init() 933 intel_dp->link_bw, intel_dp->lane_count, in cdv_intel_dp_mode_fixup() 1045 intel_dp->DP |= intel_dp->color_range; in cdv_intel_dp_mode_set() 1519 intel_dp->link_status[0], intel_dp->link_status[1], intel_dp->link_status[2], in cdv_intel_dp_start_link_train() 1520 intel_dp->link_status[3], intel_dp->link_status[4], intel_dp->link_status[5]); in cdv_intel_dp_start_link_train() 1601 intel_dp->link_status[0], intel_dp->link_status[1], intel_dp->link_status[2], in cdv_intel_dp_complete_link_train() 1602 intel_dp->link_status[3], intel_dp->link_status[4], intel_dp->link_status[5]); in cdv_intel_dp_complete_link_train() 1678 intel_dp->dpcd[0], intel_dp->dpcd[1], in cdv_dp_detect() 1679 intel_dp->dpcd[2], intel_dp->dpcd[3]); in cdv_dp_detect() 2079 intel_dp->dpcd[0], intel_dp->dpcd[1], in cdv_intel_dp_init() [all …]
|