Home
last modified time | relevance | path

Searched refs:dig_port (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/i915/display/
Dintel_tc.c48 u32 intel_tc_port_get_lane_mask(struct intel_digital_port *dig_port) in intel_tc_port_get_lane_mask() argument
50 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_tc_port_get_lane_mask()
51 enum tc_port tc_port = intel_port_to_tc(i915, dig_port->base.port); in intel_tc_port_get_lane_mask()
56 PORT_TX_DFLEXDPSP(dig_port->tc_phy_fia)); in intel_tc_port_get_lane_mask()
64 int intel_tc_port_fia_max_lane_count(struct intel_digital_port *dig_port) in intel_tc_port_fia_max_lane_count() argument
66 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_tc_port_fia_max_lane_count()
70 if (dig_port->tc_mode != TC_PORT_DP_ALT) in intel_tc_port_fia_max_lane_count()
75 lane_mask = intel_tc_port_get_lane_mask(dig_port); in intel_tc_port_fia_max_lane_count()
94 void intel_tc_port_set_fia_lane_count(struct intel_digital_port *dig_port, in intel_tc_port_set_fia_lane_count() argument
97 struct drm_i915_private *i915 = to_i915(dig_port->base.base.dev); in intel_tc_port_set_fia_lane_count()
[all …]
Dintel_tc.h14 bool intel_tc_port_connected(struct intel_digital_port *dig_port);
15 u32 intel_tc_port_get_lane_mask(struct intel_digital_port *dig_port);
16 int intel_tc_port_fia_max_lane_count(struct intel_digital_port *dig_port);
17 void intel_tc_port_set_fia_lane_count(struct intel_digital_port *dig_port,
20 void intel_tc_port_sanitize(struct intel_digital_port *dig_port);
21 void intel_tc_port_lock(struct intel_digital_port *dig_port);
22 void intel_tc_port_unlock(struct intel_digital_port *dig_port);
23 void intel_tc_port_get_link(struct intel_digital_port *dig_port,
25 void intel_tc_port_put_link(struct intel_digital_port *dig_port);
26 bool intel_tc_port_ref_held(struct intel_digital_port *dig_port);
[all …]
Dintel_lspcon.c52 struct intel_digital_port *dig_port = in lspcon_to_intel_dp() local
55 return &dig_port->dp; in lspcon_to_intel_dp()
249 struct intel_digital_port *dig_port = dp_to_dig_port(intel_dp); in lspcon_resume_in_pcon_wa() local
253 if (intel_digital_port_connected(&dig_port->base)) { in lspcon_resume_in_pcon_wa()
475 struct intel_digital_port *dig_port = enc_to_dig_port(&encoder->base); in lspcon_set_infoframes() local
476 struct intel_lspcon *lspcon = &dig_port->lspcon; in lspcon_set_infoframes()
517 dig_port->write_infoframe(encoder, crtc_state, HDMI_INFOFRAME_TYPE_AVI, in lspcon_set_infoframes()
Dintel_ddi.c2093 intel_ddi_main_link_aux_domain(struct intel_digital_port *dig_port) in intel_ddi_main_link_aux_domain() argument
2107 return dig_port->aux_ch == AUX_CH_A ? POWER_DOMAIN_AUX_IO_A : in intel_ddi_main_link_aux_domain()
2108 intel_aux_power_domain(dig_port); in intel_ddi_main_link_aux_domain()
2115 struct intel_digital_port *dig_port; in intel_ddi_get_power_domains() local
2126 dig_port = enc_to_dig_port(&encoder->base); in intel_ddi_get_power_domains()
2127 intel_display_power_get(dev_priv, dig_port->ddi_io_power_domain); in intel_ddi_get_power_domains()
2136 intel_ddi_main_link_aux_domain(dig_port)); in intel_ddi_get_power_domains()
2992 static void icl_enable_phy_clock_gating(struct intel_digital_port *dig_port) in icl_enable_phy_clock_gating() argument
2994 struct drm_i915_private *dev_priv = to_i915(dig_port->base.base.dev); in icl_enable_phy_clock_gating()
2995 enum port port = dig_port->base.port; in icl_enable_phy_clock_gating()
[all …]
Dintel_dp.c276 struct intel_digital_port *dig_port = dp_to_dig_port(intel_dp); in cnl_max_source_rate() local
277 struct drm_i915_private *dev_priv = to_i915(dig_port->base.base.dev); in cnl_max_source_rate()
278 enum port port = dig_port->base.port; in cnl_max_source_rate()
299 struct intel_digital_port *dig_port = dp_to_dig_port(intel_dp); in icl_max_source_rate() local
300 struct drm_i915_private *dev_priv = to_i915(dig_port->base.base.dev); in icl_max_source_rate()
301 enum phy phy = intel_port_to_phy(dev_priv, dig_port->base.port); in icl_max_source_rate()
330 struct intel_digital_port *dig_port = dp_to_dig_port(intel_dp); in intel_dp_set_source_rates() local
331 struct drm_i915_private *dev_priv = to_i915(dig_port->base.base.dev); in intel_dp_set_source_rates()
333 &dev_priv->vbt.ddi_port_info[dig_port->base.port]; in intel_dp_set_source_rates()
1181 struct intel_digital_port *dig_port = dp_to_dig_port(intel_dp); in ilk_get_aux_clock_divider() local
[all …]
Dintel_pipe_crc.c80 struct intel_digital_port *dig_port; in i9xx_pipe_crc_auto_source() local
101 dig_port = enc_to_dig_port(&encoder->base); in i9xx_pipe_crc_auto_source()
102 switch (dig_port->base.port) { in i9xx_pipe_crc_auto_source()
114 port_name(dig_port->base.port)); in i9xx_pipe_crc_auto_source()
Dintel_hotplug.c324 struct intel_digital_port *dig_port; in i915_digport_work_func() local
338 dig_port = enc_to_dig_port(&encoder->base); in i915_digport_work_func()
340 ret = dig_port->hpd_pulse(dig_port, long_hpd); in i915_digport_work_func()
Dintel_psr.c595 struct intel_digital_port *dig_port = dp_to_dig_port(intel_dp); in intel_psr_compute_config() local
614 if (dig_port->base.port != PORT_A) { in intel_psr_compute_config()
Dintel_display_power.c534 struct intel_digital_port *dig_port = NULL; in icl_tc_port_assert_ref_held() local
554 dig_port = enc_to_dig_port(&encoder->base); in icl_tc_port_assert_ref_held()
555 if (WARN_ON(!dig_port)) in icl_tc_port_assert_ref_held()
558 if (dig_port->aux_ch != aux_ch) { in icl_tc_port_assert_ref_held()
559 dig_port = NULL; in icl_tc_port_assert_ref_held()
566 if (WARN_ON(!dig_port)) in icl_tc_port_assert_ref_held()
569 WARN_ON(!intel_tc_port_ref_held(dig_port)); in icl_tc_port_assert_ref_held()
Dintel_display.h515 intel_aux_power_domain(struct intel_digital_port *dig_port);
Dintel_hdmi.c597 struct intel_digital_port *dig_port = enc_to_dig_port(&encoder->base); in intel_hdmi_infoframes_enabled() local
601 val = dig_port->infoframes_enabled(encoder, crtc_state); in intel_hdmi_infoframes_enabled()
Dintel_display.c6747 intel_aux_power_domain(struct intel_digital_port *dig_port) in intel_aux_power_domain() argument
6749 struct drm_i915_private *dev_priv = to_i915(dig_port->base.base.dev); in intel_aux_power_domain()
6750 enum phy phy = intel_port_to_phy(dev_priv, dig_port->base.port); in intel_aux_power_domain()
6753 dig_port->tc_mode == TC_PORT_TBT_ALT) { in intel_aux_power_domain()
6754 switch (dig_port->aux_ch) { in intel_aux_power_domain()
6764 MISSING_CASE(dig_port->aux_ch); in intel_aux_power_domain()
6769 switch (dig_port->aux_ch) { in intel_aux_power_domain()
6783 MISSING_CASE(dig_port->aux_ch); in intel_aux_power_domain()