Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/display/
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);
Dintel_hotplug.c87 enum hpd_pin intel_hpd_pin_default(struct drm_i915_private *dev_priv, in intel_hpd_pin_default()
97 static enum hpd_pin
108 return encoder ? encoder->hpd_pin : HPD_NONE; in intel_connector_hpd_pin()
141 enum hpd_pin pin, bool long_hpd) in intel_hpd_irq_storm_detect()
187 enum hpd_pin pin; in intel_hpd_irq_storm_switch_to_polling()
226 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 …]
Dg4x_dp.c1172 u32 bit = dev_priv->display.hotplug.pch_hpd[encoder->hpd_pin]; in ibx_digital_port_connected()
1182 switch (encoder->hpd_pin) { in g4x_digital_port_connected()
1193 MISSING_CASE(encoder->hpd_pin); in g4x_digital_port_connected()
1205 switch (encoder->hpd_pin) { in gm45_digital_port_connected()
1216 MISSING_CASE(encoder->hpd_pin); in gm45_digital_port_connected()
1226 u32 bit = dev_priv->display.hotplug.hpd[encoder->hpd_pin]; in ilk_digital_port_connected()
1372 intel_encoder->hpd_pin = intel_hpd_pin_default(dev_priv, port); in g4x_dp_init()
Dintel_ddi.c4020 u32 bit = dev_priv->display.hotplug.pch_hpd[encoder->hpd_pin]; in lpt_digital_port_connected()
4028 u32 bit = dev_priv->display.hotplug.hpd[encoder->hpd_pin]; in hsw_digital_port_connected()
4036 u32 bit = dev_priv->display.hotplug.hpd[encoder->hpd_pin]; in bdw_digital_port_connected()
4115 static enum hpd_pin xelpd_hpd_pin(struct drm_i915_private *dev_priv, in xelpd_hpd_pin()
4126 static enum hpd_pin dg1_hpd_pin(struct drm_i915_private *dev_priv, in dg1_hpd_pin()
4135 static enum hpd_pin tgl_hpd_pin(struct drm_i915_private *dev_priv, in tgl_hpd_pin()
4144 static enum hpd_pin rkl_hpd_pin(struct drm_i915_private *dev_priv, in rkl_hpd_pin()
4156 static enum hpd_pin icl_hpd_pin(struct drm_i915_private *dev_priv, in icl_hpd_pin()
4165 static enum hpd_pin ehl_hpd_pin(struct drm_i915_private *dev_priv, in ehl_hpd_pin()
4177 static enum hpd_pin skl_hpd_pin(struct drm_i915_private *dev_priv, enum port port) in skl_hpd_pin()
[all …]
Dintel_crt.c525 reenable_hpd = intel_hpd_disable(dev_priv, crt->base.hpd_pin); in valleyview_crt_detect_hotplug()
553 intel_hpd_enable(dev_priv, crt->base.hpd_pin); in valleyview_crt_detect_hotplug()
1065 crt->base.hpd_pin = HPD_CRT; in intel_crt_init()
Dintel_tc.c249 u32 isr_bit = i915->display.hotplug.pch_hpd[dig_port->base.hpd_pin]; in icl_tc_port_live_status_mask()
282 u32 isr_bit = i915->display.hotplug.pch_hpd[dig_port->base.hpd_pin]; in adl_tc_port_live_status_mask()
Dintel_display_types.h263 enum hpd_pin hpd_pin; member
Dg4x_hdmi.c589 intel_encoder->hpd_pin = intel_hpd_pin_default(dev_priv, port); in g4x_hdmi_init()
Dintel_display.h352 enum hpd_pin { enum
Dintel_sdvo.c3387 intel_encoder->hpd_pin = HPD_SDVO_B; in intel_sdvo_init()
3389 intel_encoder->hpd_pin = HPD_SDVO_C; in intel_sdvo_init()
Dintel_dp.c4987 i915->display.hotplug.event_bits |= BIT(encoder->hpd_pin); in intel_dp_oob_hotplug_event()
/linux-6.1.9/drivers/gpu/drm/bridge/
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()
1844 if (tc->hpd_pin >= 0 && tc->bridge.dev) { in tc_irq_handler()
1851 bool h = val & INT_GPIO_H(tc->hpd_pin); in tc_irq_handler()
1852 bool lc = val & INT_GPIO_LC(tc->hpd_pin); in tc_irq_handler()
1854 dev_dbg(tc->dev, "GPIO%d: %s %s\n", tc->hpd_pin, in tc_irq_handler()
1967 if (tc->hpd_pin >= 0) in tc_probe_edp_bridge_endpoint()
2094 &tc->hpd_pin); in tc_probe()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_irq.c84 typedef bool (*long_pulse_detect_func)(enum hpd_pin pin, u32 val);
86 enum hpd_pin pin);
1114 static bool gen11_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in gen11_port_hotplug_long_detect()
1129 static bool bxt_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in bxt_port_hotplug_long_detect()
1143 static bool icp_ddi_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in icp_ddi_port_hotplug_long_detect()
1156 static bool icp_tc_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in icp_tc_port_hotplug_long_detect()
1171 static bool spt_port_hotplug2_long_detect(enum hpd_pin pin, u32 val) in spt_port_hotplug2_long_detect()
1181 static bool spt_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in spt_port_hotplug_long_detect()
1197 static bool ilk_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in ilk_port_hotplug_long_detect()
1207 static bool pch_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in pch_port_hotplug_long_detect()
[all …]
Di915_reg.h5549 #define _HPD_PIN_DDI(hpd_pin) ((hpd_pin) - HPD_PORT_A) argument
5550 #define _HPD_PIN_TC(hpd_pin) ((hpd_pin) - HPD_PORT_TC1) argument
5565 #define GEN8_DE_PORT_HOTPLUG(hpd_pin) REG_BIT(3 + _HPD_PIN_DDI(hpd_pin)) argument
5630 #define GEN11_TC_HOTPLUG(hpd_pin) REG_BIT(16 + _HPD_PIN_TC(hpd_pin)) argument
5637 #define GEN11_TBT_HOTPLUG(hpd_pin) REG_BIT(_HPD_PIN_TC(hpd_pin)) argument
5647 #define GEN11_HOTPLUG_CTL_ENABLE(hpd_pin) (8 << (_HPD_PIN_TC(hpd_pin) * 4)) argument
5648 #define GEN11_HOTPLUG_CTL_LONG_DETECT(hpd_pin) (2 << (_HPD_PIN_TC(hpd_pin) * 4)) argument
5649 #define GEN11_HOTPLUG_CTL_SHORT_DETECT(hpd_pin) (1 << (_HPD_PIN_TC(hpd_pin) * 4)) argument
5650 #define GEN11_HOTPLUG_CTL_NO_DETECT(hpd_pin) (0 << (_HPD_PIN_TC(hpd_pin) * 4)) argument
5957 #define SDE_TC_HOTPLUG_ICP(hpd_pin) REG_BIT(24 + _HPD_PIN_TC(hpd_pin)) argument
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link.c229 struct gpio *hpd_pin; in dc_link_detect_sink() local
254 hpd_pin = get_hpd_gpio(link->ctx->dc_bios, link->link_id, in dc_link_detect_sink()
256 if (!hpd_pin) in dc_link_detect_sink()
259 dal_gpio_open(hpd_pin, GPIO_MODE_INTERRUPT); in dc_link_detect_sink()
260 dal_gpio_get_value(hpd_pin, &is_hpd_high); in dc_link_detect_sink()
261 dal_gpio_close(hpd_pin); in dc_link_detect_sink()
262 dal_gpio_destroy_irq(&hpd_pin); in dc_link_detect_sink()