Home
last modified time | relevance | path

Searched refs:hpd_pin (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_hotplug_irq.c16 typedef bool (*long_pulse_detect_func)(enum hpd_pin pin, u32 val);
18 typedef u32 (*hotplug_mask_func)(enum hpd_pin pin);
213 static bool gen11_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in gen11_port_hotplug_long_detect()
228 static bool bxt_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in bxt_port_hotplug_long_detect()
242 static bool icp_ddi_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in icp_ddi_port_hotplug_long_detect()
255 static bool icp_tc_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in icp_tc_port_hotplug_long_detect()
270 static bool spt_port_hotplug2_long_detect(enum hpd_pin pin, u32 val) in spt_port_hotplug2_long_detect()
280 static bool spt_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in spt_port_hotplug_long_detect()
296 static bool ilk_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in ilk_port_hotplug_long_detect()
306 static bool pch_port_hotplug_long_detect(enum hpd_pin pi
685 ibx_hotplug_mask(enum hpd_pin hpd_pin) ibx_hotplug_mask() argument
760 icp_ddi_hotplug_mask(enum hpd_pin hpd_pin) icp_ddi_hotplug_mask() argument
778 icp_tc_hotplug_mask(enum hpd_pin hpd_pin) icp_tc_hotplug_mask() argument
854 gen11_hotplug_mask(enum hpd_pin hpd_pin) gen11_hotplug_mask() argument
958 mtp_ddi_hotplug_mask(enum hpd_pin hpd_pin) mtp_ddi_hotplug_mask() argument
974 mtp_tc_hotplug_mask(enum hpd_pin hpd_pin) mtp_tc_hotplug_mask() argument
1063 is_xelpdp_pica_hpd_pin(enum hpd_pin hpd_pin) is_xelpdp_pica_hpd_pin() argument
1068 _xelpdp_pica_hpd_detection_setup(struct drm_i915_private *i915, enum hpd_pin hpd_pin, bool enable) _xelpdp_pica_hpd_detection_setup() argument
1126 spt_hotplug_mask(enum hpd_pin hpd_pin) spt_hotplug_mask() argument
1147 spt_hotplug2_mask(enum hpd_pin hpd_pin) spt_hotplug2_mask() argument
1215 ilk_hotplug_mask(enum hpd_pin hpd_pin) ilk_hotplug_mask() argument
1277 bxt_hotplug_mask(enum hpd_pin hpd_pin) bxt_hotplug_mask() argument
[all...]
H A Dintel_hotplug.h27 enum hpd_pin intel_hpd_pin_default(struct drm_i915_private *dev_priv,
29 bool intel_hpd_disable(struct drm_i915_private *dev_priv, enum hpd_pin pin);
30 void intel_hpd_enable(struct drm_i915_private *dev_priv, enum hpd_pin pin);
H A Dintel_hotplug.c88 enum hpd_pin intel_hpd_pin_default(struct drm_i915_private *dev_priv, in intel_hpd_pin_default()
101 static enum hpd_pin
109 * MST encoders have their hpd_pin set to HPD_NONE we don't in intel_connector_hpd_pin()
112 return encoder ? encoder->hpd_pin : HPD_NONE; in intel_connector_hpd_pin()
145 enum hpd_pin pin, bool long_hpd) in intel_hpd_irq_storm_detect()
190 enum hpd_pin pin; in intel_hpd_irq_storm_switch_to_polling()
229 enum hpd_pin pin; in intel_hpd_irq_storm_reenable_work()
335 old_bits |= BIT(encoder->hpd_pin); in i915_digport_work_func()
406 enum hpd_pin pin; in i915_hotplug_work_func()
494 enum hpd_pin pi in intel_hpd_irq_handler()
[all...]
H A Dintel_display_limits.h103 enum hpd_pin { enum
H A Dintel_tc.c455 u32 isr_bit = i915->display.hotplug.pch_hpd[dig_port->base.hpd_pin]; in icl_tc_phy_hpd_live_status()
738 enum hpd_pin hpd_pin = dig_port->base.hpd_pin; in adlp_tc_phy_hpd_live_status() local
739 u32 cpu_isr_bits = i915->display.hotplug.hpd[hpd_pin]; in adlp_tc_phy_hpd_live_status()
740 u32 pch_isr_bit = i915->display.hotplug.pch_hpd[hpd_pin]; in adlp_tc_phy_hpd_live_status()
926 enum hpd_pin hpd_pin = dig_port->base.hpd_pin; in xelpdp_tc_phy_hpd_live_status() local
927 u32 pica_isr_bits = i915->display.hotplug.hpd[hpd_pin]; in xelpdp_tc_phy_hpd_live_status()
[all...]
H A Dg4x_dp.c1178 u32 bit = dev_priv->display.hotplug.pch_hpd[encoder->hpd_pin]; in ibx_digital_port_connected()
1188 switch (encoder->hpd_pin) { in g4x_digital_port_connected()
1199 MISSING_CASE(encoder->hpd_pin); in g4x_digital_port_connected()
1209 u32 bit = dev_priv->display.hotplug.hpd[encoder->hpd_pin]; in ilk_digital_port_connected()
1370 intel_encoder->hpd_pin = intel_hpd_pin_default(dev_priv, port); in g4x_dp_init()
H A Dintel_ddi.c4459 u32 bit = dev_priv->display.hotplug.pch_hpd[encoder->hpd_pin]; in lpt_digital_port_connected()
4467 u32 bit = dev_priv->display.hotplug.hpd[encoder->hpd_pin]; in hsw_digital_port_connected()
4475 u32 bit = dev_priv->display.hotplug.hpd[encoder->hpd_pin]; in bdw_digital_port_connected()
4548 static enum hpd_pin xelpd_hpd_pin(struct drm_i915_private *dev_priv, in xelpd_hpd_pin()
4559 static enum hpd_pin dg1_hpd_pin(struct drm_i915_private *dev_priv, in dg1_hpd_pin()
4568 static enum hpd_pin tgl_hpd_pin(struct drm_i915_private *dev_priv, in tgl_hpd_pin()
4577 static enum hpd_pin rkl_hpd_pin(struct drm_i915_private *dev_priv, in rkl_hpd_pin()
4589 static enum hpd_pin icl_hpd_pin(struct drm_i915_private *dev_priv, in icl_hpd_pin()
4598 static enum hpd_pin ehl_hpd_pin(struct drm_i915_private *dev_priv, in ehl_hpd_pin()
4610 static enum hpd_pin skl_hpd_pi
[all...]
H A Dintel_crt.c538 reenable_hpd = intel_hpd_disable(dev_priv, crt->base.hpd_pin); in valleyview_crt_detect_hotplug()
566 intel_hpd_enable(dev_priv, crt->base.hpd_pin); in valleyview_crt_detect_hotplug()
1066 crt->base.hpd_pin = HPD_CRT; in intel_crt_init()
H A Dintel_display_types.h276 enum hpd_pin hpd_pin; member
H A Dg4x_hdmi.c763 intel_encoder->hpd_pin = intel_hpd_pin_default(dev_priv, port); in g4x_hdmi_init()
H A Dintel_sdvo.c3416 intel_encoder->hpd_pin = HPD_SDVO_B; in intel_sdvo_init()
3418 intel_encoder->hpd_pin = HPD_SDVO_C; in intel_sdvo_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_hotplug.c86 enum hpd_pin intel_hpd_pin_default(struct drm_i915_private *dev_priv, in intel_hpd_pin_default()
96 static enum hpd_pin
104 * MST encoders have their hpd_pin set to HPD_NONE we don't in intel_connector_hpd_pin()
107 return encoder ? encoder->hpd_pin : HPD_NONE; in intel_connector_hpd_pin()
140 enum hpd_pin pin, bool long_hpd) in intel_hpd_irq_storm_detect()
186 enum hpd_pin pin; in intel_hpd_irq_storm_switch_to_polling()
225 enum hpd_pin pin; in intel_hpd_irq_storm_reenable_work()
332 old_bits |= BIT(encoder->hpd_pin); in i915_digport_work_func()
394 enum hpd_pin pin; in i915_hotplug_work_func()
471 enum hpd_pin pi in intel_hpd_irq_handler()
[all...]
H A Dintel_hotplug.h26 enum hpd_pin intel_hpd_pin_default(struct drm_i915_private *dev_priv,
28 bool intel_hpd_disable(struct drm_i915_private *dev_priv, enum hpd_pin pin);
29 void intel_hpd_enable(struct drm_i915_private *dev_priv, enum hpd_pin pin);
H A Dintel_crt.c519 reenable_hpd = intel_hpd_disable(dev_priv, crt->base.hpd_pin); in valleyview_crt_detect_hotplug()
547 intel_hpd_enable(dev_priv, crt->base.hpd_pin); in valleyview_crt_detect_hotplug()
1061 crt->base.hpd_pin = HPD_CRT; in intel_crt_init()
H A Dintel_ddi.c4882 u32 bit = dev_priv->hotplug.pch_hpd[encoder->hpd_pin]; in lpt_digital_port_connected()
4890 u32 bit = dev_priv->hotplug.hpd[encoder->hpd_pin]; in hsw_digital_port_connected()
4898 u32 bit = dev_priv->hotplug.hpd[encoder->hpd_pin]; in bdw_digital_port_connected()
4987 static enum hpd_pin tgl_hpd_pin(struct drm_i915_private *dev_priv, in tgl_hpd_pin()
4996 static enum hpd_pin rkl_hpd_pin(struct drm_i915_private *dev_priv, in rkl_hpd_pin()
5008 static enum hpd_pin icl_hpd_pin(struct drm_i915_private *dev_priv, in icl_hpd_pin()
5017 static enum hpd_pin ehl_hpd_pin(struct drm_i915_private *dev_priv, in ehl_hpd_pin()
5029 static enum hpd_pin cnl_hpd_pin(struct drm_i915_private *dev_priv, in cnl_hpd_pin()
5115 encoder->hpd_pin = rkl_hpd_pin(dev_priv, port); in intel_ddi_init()
5117 encoder->hpd_pin in intel_ddi_init()
[all...]
H A Dintel_display_types.h202 enum hpd_pin hpd_pin; member
H A Dintel_tc.c212 u32 isr_bit = i915->hotplug.pch_hpd[dig_port->base.hpd_pin]; in tc_port_live_status_mask()
H A Dintel_dp.c6098 u32 bit = dev_priv->hotplug.pch_hpd[encoder->hpd_pin]; in ibx_digital_port_connected()
6108 switch (encoder->hpd_pin) { in g4x_digital_port_connected()
6119 MISSING_CASE(encoder->hpd_pin); in g4x_digital_port_connected()
6131 switch (encoder->hpd_pin) { in gm45_digital_port_connected()
6142 MISSING_CASE(encoder->hpd_pin); in gm45_digital_port_connected()
6152 u32 bit = dev_priv->hotplug.hpd[encoder->hpd_pin]; in ilk_digital_port_connected()
7992 intel_encoder->hpd_pin = intel_hpd_pin_default(dev_priv, port); in intel_dp_init()
H A Dintel_sdvo.c3394 intel_encoder->hpd_pin = HPD_SDVO_B; in intel_sdvo_init()
3396 intel_encoder->hpd_pin = HPD_SDVO_C; in intel_sdvo_init()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_hpd.c122 struct gpio *hpd_pin = link_get_hpd_gpio( in query_hpd_status() local
125 if (!hpd_pin) in query_hpd_status()
128 dal_gpio_open(hpd_pin, GPIO_MODE_INTERRUPT); in query_hpd_status()
129 dal_gpio_get_value(hpd_pin, is_hpd_high); in query_hpd_status()
130 dal_gpio_close(hpd_pin); in query_hpd_status()
131 dal_gpio_destroy_irq(&hpd_pin); in query_hpd_status()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
H A Dtc358767.c267 int hpd_pin; member
1367 conn = val & BIT(tc->hpd_pin); in tc_bridge_detect()
1380 if (tc->hpd_pin >= 0) in tc_connector_detect()
1424 if (tc->hpd_pin >= 0) { in tc_bridge_attach()
1516 if (tc->hpd_pin >= 0 && tc->bridge.dev) { in tc_irq_handler()
1523 bool h = val & INT_GPIO_H(tc->hpd_pin); in tc_irq_handler()
1524 bool lc = val & INT_GPIO_LC(tc->hpd_pin); in tc_irq_handler()
1526 dev_dbg(tc->dev, "GPIO%d: %s %s\n", tc->hpd_pin, in tc_irq_handler()
1634 &tc->hpd_pin); in tc_probe()
1636 tc->hpd_pin in tc_probe()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/bridge/
H A Dtc358767.c313 int hpd_pin; member
1627 conn = val & BIT(tc->hpd_pin); in tc_bridge_detect()
1640 if (tc->hpd_pin >= 0) in tc_connector_detect()
1701 if (tc->hpd_pin >= 0) { in tc_edp_bridge_attach()
2037 if (tc->hpd_pin >= 0 && tc->bridge.dev) { in tc_irq_handler()
2044 bool h = val & INT_GPIO_H(tc->hpd_pin); in tc_irq_handler()
2045 bool lc = val & INT_GPIO_LC(tc->hpd_pin); in tc_irq_handler()
2047 dev_dbg(tc->dev, "GPIO%d: %s %s\n", tc->hpd_pin, in tc_irq_handler()
2160 if (tc->hpd_pin >= 0) in tc_probe_edp_bridge_endpoint()
2270 &tc->hpd_pin); in tc_probe()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/
H A Di915_reg.h4407 #define _HPD_PIN_DDI(hpd_pin) ((hpd_pin) - HPD_PORT_A)
4408 #define _HPD_PIN_TC(hpd_pin) ((hpd_pin) - HPD_PORT_TC1)
4423 #define GEN8_DE_PORT_HOTPLUG(hpd_pin) REG_BIT(3 + _HPD_PIN_DDI(hpd_pin))
4490 #define GEN11_TC_HOTPLUG(hpd_pin) REG_BIT(16 + _HPD_PIN_TC(hpd_pin))
4497 #define GEN11_TBT_HOTPLUG(hpd_pin) REG_BIT(_HPD_PIN_TC(hpd_pin))
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
H A Di915_irq.c63 typedef bool (*long_pulse_detect_func)(enum hpd_pin pin, u32 val);
1030 static bool gen11_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in gen11_port_hotplug_long_detect()
1050 static bool bxt_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in bxt_port_hotplug_long_detect()
1064 static bool icp_ddi_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in icp_ddi_port_hotplug_long_detect()
1078 static bool icp_tc_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in icp_tc_port_hotplug_long_detect()
1098 static bool spt_port_hotplug2_long_detect(enum hpd_pin pin, u32 val) in spt_port_hotplug2_long_detect()
1108 static bool spt_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in spt_port_hotplug_long_detect()
1124 static bool ilk_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in ilk_port_hotplug_long_detect()
1134 static bool pch_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in pch_port_hotplug_long_detect()
1148 static bool i9xx_port_hotplug_long_detect(enum hpd_pin pi
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_link.c216 struct gpio *hpd_pin; in dc_link_detect_sink() local
230 hpd_pin = get_hpd_gpio(link->ctx->dc_bios, link->link_id, in dc_link_detect_sink()
232 if (!hpd_pin) in dc_link_detect_sink()
235 dal_gpio_open(hpd_pin, GPIO_MODE_INTERRUPT); in dc_link_detect_sink()
236 dal_gpio_get_value(hpd_pin, &is_hpd_high); in dc_link_detect_sink()
237 dal_gpio_close(hpd_pin); in dc_link_detect_sink()
238 dal_gpio_destroy_irq(&hpd_pin); in dc_link_detect_sink()

Completed in 93 milliseconds

12