Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
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
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 pin; in intel_hpd_irq_handler()
488 pin = encoder->hpd_pin; in intel_hpd_irq_handler()
[all …]
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);
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 = tgl_hpd_pin(dev_priv, port); in intel_ddi_init()
[all …]
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()
Dintel_display_types.h202 enum hpd_pin hpd_pin; member
Dintel_tc.c212 u32 isr_bit = i915->hotplug.pch_hpd[dig_port->base.hpd_pin]; in tc_port_live_status_mask()
Dintel_dp.c6093 u32 bit = dev_priv->hotplug.pch_hpd[encoder->hpd_pin]; in ibx_digital_port_connected()
6103 switch (encoder->hpd_pin) { in g4x_digital_port_connected()
6114 MISSING_CASE(encoder->hpd_pin); in g4x_digital_port_connected()
6126 switch (encoder->hpd_pin) { in gm45_digital_port_connected()
6137 MISSING_CASE(encoder->hpd_pin); in gm45_digital_port_connected()
6147 u32 bit = dev_priv->hotplug.hpd[encoder->hpd_pin]; in ilk_digital_port_connected()
7987 intel_encoder->hpd_pin = intel_hpd_pin_default(dev_priv, port); in intel_dp_init()
Dintel_sdvo.c3382 intel_encoder->hpd_pin = HPD_SDVO_B; in intel_sdvo_init()
3384 intel_encoder->hpd_pin = HPD_SDVO_C; in intel_sdvo_init()
Dintel_hdmi.c3419 intel_encoder->hpd_pin = intel_hpd_pin_default(dev_priv, port); in intel_hdmi_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/
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()
1604 &tc->hpd_pin); in tc_probe()
1606 tc->hpd_pin = -ENODEV; in tc_probe()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
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 pin, u32 val) in i9xx_port_hotplug_long_detect()
[all …]
Di915_drv.h118 enum hpd_pin { enum
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/core/
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()