Home
last modified time | relevance | path

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

/linux/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);
214 static bool gen11_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in gen11_port_hotplug_long_detect()
229 static bool bxt_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in bxt_port_hotplug_long_detect()
243 static bool icp_ddi_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in icp_ddi_port_hotplug_long_detect()
256 static bool icp_tc_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in icp_tc_port_hotplug_long_detect()
271 static bool spt_port_hotplug2_long_detect(enum hpd_pin pin, u32 val) in spt_port_hotplug2_long_detect()
281 static bool spt_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in spt_port_hotplug_long_detect()
297 static bool ilk_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in ilk_port_hotplug_long_detect()
307 static bool pch_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in pch_port_hotplug_long_detect()
[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_tc.c493 u32 isr_bit = i915->display.hotplug.pch_hpd[dig_port->base.hpd_pin]; in icl_tc_phy_hpd_live_status()
776 enum hpd_pin hpd_pin = dig_port->base.hpd_pin; in adlp_tc_phy_hpd_live_status() local
777 u32 cpu_isr_bits = i915->display.hotplug.hpd[hpd_pin]; in adlp_tc_phy_hpd_live_status()
778 u32 pch_isr_bit = i915->display.hotplug.pch_hpd[hpd_pin]; in adlp_tc_phy_hpd_live_status()
964 enum hpd_pin hpd_pin = dig_port->base.hpd_pin; in xelpdp_tc_phy_hpd_live_status() local
965 u32 pica_isr_bits = i915->display.hotplug.hpd[hpd_pin]; in xelpdp_tc_phy_hpd_live_status()
966 u32 pch_isr_bit = i915->display.hotplug.pch_hpd[hpd_pin]; in xelpdp_tc_phy_hpd_live_status()
H A Dg4x_dp.c1190 u32 bit = display->hotplug.pch_hpd[encoder->hpd_pin]; in ibx_digital_port_connected()
1200 switch (encoder->hpd_pin) { in g4x_digital_port_connected()
1211 MISSING_CASE(encoder->hpd_pin); in g4x_digital_port_connected()
1221 u32 bit = display->hotplug.hpd[encoder->hpd_pin]; in ilk_digital_port_connected()
1382 intel_encoder->hpd_pin = intel_hpd_pin_default(dev_priv, port); in g4x_dp_init()
H A Dintel_ddi.c4649 u32 bit = dev_priv->display.hotplug.pch_hpd[encoder->hpd_pin]; in lpt_digital_port_connected()
4657 u32 bit = dev_priv->display.hotplug.hpd[encoder->hpd_pin]; in hsw_digital_port_connected()
4665 u32 bit = dev_priv->display.hotplug.hpd[encoder->hpd_pin]; in bdw_digital_port_connected()
4738 static enum hpd_pin xelpd_hpd_pin(struct drm_i915_private *dev_priv, in xelpd_hpd_pin()
4749 static enum hpd_pin dg1_hpd_pin(struct drm_i915_private *dev_priv, in dg1_hpd_pin()
4758 static enum hpd_pin tgl_hpd_pin(struct drm_i915_private *dev_priv, in tgl_hpd_pin()
4767 static enum hpd_pin rkl_hpd_pin(struct drm_i915_private *dev_priv, in rkl_hpd_pin()
4779 static enum hpd_pin icl_hpd_pin(struct drm_i915_private *dev_priv, in icl_hpd_pin()
4788 static enum hpd_pin ehl_hpd_pin(struct drm_i915_private *dev_priv, in ehl_hpd_pin()
4800 static enum hpd_pin skl_hpd_pin(struct drm_i915_private *dev_priv, enum port port) in skl_hpd_pin()
[all …]
H A Dintel_display_types.h286 enum hpd_pin hpd_pin; member
H A Dg4x_hdmi.c775 intel_encoder->hpd_pin = intel_hpd_pin_default(dev_priv, port); in g4x_hdmi_init()
H A Dintel_dp.c6058 unsigned int hpd_pin = encoder->hpd_pin; in intel_dp_oob_hotplug_event() local
6062 if (hpd_high != test_bit(hpd_pin, &i915->display.hotplug.oob_hotplug_last_state)) { in intel_dp_oob_hotplug_event()
6063 i915->display.hotplug.event_bits |= BIT(hpd_pin); in intel_dp_oob_hotplug_event()
6065 __assign_bit(hpd_pin, &i915->display.hotplug.oob_hotplug_last_state, hpd_high); in intel_dp_oob_hotplug_event()
H A Dintel_sdvo.c3471 intel_encoder->hpd_pin = HPD_SDVO_B; in intel_sdvo_init()
3473 intel_encoder->hpd_pin = HPD_SDVO_C; in intel_sdvo_init()
/linux/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()
/linux/drivers/gpu/drm/i915/
H A Di915_reg.h2544 #define _HPD_PIN_DDI(hpd_pin) ((hpd_pin) - HPD_PORT_A) argument
2545 #define _HPD_PIN_TC(hpd_pin) ((hpd_pin) - HPD_PORT_TC1) argument
2560 #define GEN8_DE_PORT_HOTPLUG(hpd_pin) REG_BIT(3 + _HPD_PIN_DDI(hpd_pin)) argument
2645 #define GEN11_TC_HOTPLUG(hpd_pin) REG_BIT(16 + _HPD_PIN_TC(hpd_pin)) argument
2652 #define GEN11_TBT_HOTPLUG(hpd_pin) REG_BIT(_HPD_PIN_TC(hpd_pin)) argument
2666 #define GEN11_HOTPLUG_CTL_ENABLE(hpd_pin) (8 << (_HPD_PIN_TC(hpd_pin) * 4)) argument
2667 #define GEN11_HOTPLUG_CTL_LONG_DETECT(hpd_pin) (2 << (_HPD_PIN_TC(hpd_pin) * 4)) argument
2668 #define GEN11_HOTPLUG_CTL_SHORT_DETECT(hpd_pin) (1 << (_HPD_PIN_TC(hpd_pin) * 4)) argument
2669 #define GEN11_HOTPLUG_CTL_NO_DETECT(hpd_pin) (0 << (_HPD_PIN_TC(hpd_pin) * 4)) argument
2675 #define XELPDP_DP_ALT_HOTPLUG(hpd_pin) REG_BIT(16 + _HPD_PIN_TC(hpd_pin)) argument
[all …]
/linux/drivers/gpu/drm/bridge/
H A Dtc358767.c391 int hpd_pin; member
1770 conn = val & BIT(tc->hpd_pin); in tc_bridge_detect()
1783 if (tc->hpd_pin >= 0) in tc_connector_detect()
1844 if (tc->hpd_pin >= 0) { in tc_edp_bridge_attach()
2241 if (tc->hpd_pin >= 0 && tc->bridge.dev && tc->aux.drm_dev) { in tc_irq_handler()
2248 bool h = val & INT_GPIO_H(tc->hpd_pin); in tc_irq_handler()
2249 bool lc = val & INT_GPIO_LC(tc->hpd_pin); in tc_irq_handler()
2252 dev_dbg(tc->dev, "GPIO%d: %s %s\n", tc->hpd_pin, in tc_irq_handler()
2366 if (tc->hpd_pin >= 0) in tc_probe_edp_bridge_endpoint()
2489 &tc->hpd_pin); in tc_probe()
[all …]