Searched refs:hpd_pin (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_hotplug.c | 89 enum hpd_pin intel_hpd_pin_default(struct drm_i915_private *dev_priv, in intel_hpd_pin_default() 153 enum hpd_pin pin, bool long_hpd) in intel_hpd_irq_storm_detect() 192 enum hpd_pin pin; in intel_hpd_irq_storm_switch_to_polling() 207 pin = intel_encoder->hpd_pin; in intel_hpd_irq_storm_switch_to_polling() 238 enum hpd_pin pin; in intel_hpd_irq_storm_reenable_work() 258 intel_connector->encoder->hpd_pin == pin) { in intel_hpd_irq_storm_reenable_work() 343 old_bits |= BIT(encoder->hpd_pin); in i915_digport_work_func() 395 hpd_bit = BIT(intel_encoder->hpd_pin); in i915_hotplug_work_func() 398 connector->name, intel_encoder->hpd_pin); in i915_hotplug_work_func() 457 enum hpd_pin pin; in intel_hpd_irq_handler() [all …]
|
D | intel_hotplug.h | 26 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);
|
D | intel_crt.c | 491 reenable_hpd = intel_hpd_disable(dev_priv, crt->base.hpd_pin); in valleyview_crt_detect_hotplug() 516 intel_hpd_enable(dev_priv, crt->base.hpd_pin); in valleyview_crt_detect_hotplug() 1020 crt->base.hpd_pin = HPD_CRT; in intel_crt_init()
|
D | intel_dp.c | 5056 switch (encoder->hpd_pin) { in ibx_digital_port_connected() 5067 MISSING_CASE(encoder->hpd_pin); in ibx_digital_port_connected() 5079 switch (encoder->hpd_pin) { in cpt_digital_port_connected() 5090 MISSING_CASE(encoder->hpd_pin); in cpt_digital_port_connected() 5102 switch (encoder->hpd_pin) { in spt_digital_port_connected() 5121 switch (encoder->hpd_pin) { in g4x_digital_port_connected() 5132 MISSING_CASE(encoder->hpd_pin); in g4x_digital_port_connected() 5144 switch (encoder->hpd_pin) { in gm45_digital_port_connected() 5155 MISSING_CASE(encoder->hpd_pin); in gm45_digital_port_connected() 5166 if (encoder->hpd_pin == HPD_PORT_A) in ilk_digital_port_connected() [all …]
|
D | intel_display_types.h | 191 enum hpd_pin hpd_pin; member
|
D | intel_sdvo.c | 3309 intel_encoder->hpd_pin = HPD_SDVO_B; in intel_sdvo_init() 3311 intel_encoder->hpd_pin = HPD_SDVO_C; in intel_sdvo_init()
|
D | intel_hdmi.c | 3100 intel_encoder->hpd_pin = intel_hpd_pin_default(dev_priv, port); in intel_hdmi_init_connector()
|
/Linux-v5.4/drivers/gpu/drm/bridge/ |
D | tc358767.c | 265 int hpd_pin; member 1358 if (tc->hpd_pin < 0) { in tc_connector_detect() 1369 conn = val & BIT(tc->hpd_pin); in tc_connector_detect() 1402 if (tc->hpd_pin >= 0) { in tc_bridge_attach() 1497 if (tc->hpd_pin >= 0 && tc->bridge.dev) { in tc_irq_handler() 1504 bool h = val & INT_GPIO_H(tc->hpd_pin); in tc_irq_handler() 1505 bool lc = val & INT_GPIO_LC(tc->hpd_pin); in tc_irq_handler() 1507 dev_dbg(tc->dev, "GPIO%d: %s %s\n", tc->hpd_pin, in tc_irq_handler() 1571 &tc->hpd_pin); in tc_probe() 1573 tc->hpd_pin = -ENODEV; in tc_probe() [all …]
|
/Linux-v5.4/drivers/gpu/drm/i915/ |
D | i915_irq.c | 63 typedef bool (*long_pulse_detect_func)(enum hpd_pin pin, u32 val); 1350 static bool gen11_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in gen11_port_hotplug_long_detect() 1366 static bool gen12_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in gen12_port_hotplug_long_detect() 1386 static bool bxt_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in bxt_port_hotplug_long_detect() 1400 static bool icp_ddi_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in icp_ddi_port_hotplug_long_detect() 1414 static bool icp_tc_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in icp_tc_port_hotplug_long_detect() 1430 static bool tgp_ddi_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in tgp_ddi_port_hotplug_long_detect() 1444 static bool tgp_tc_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in tgp_tc_port_hotplug_long_detect() 1464 static bool spt_port_hotplug2_long_detect(enum hpd_pin pin, u32 val) in spt_port_hotplug2_long_detect() 1474 static bool spt_port_hotplug_long_detect(enum hpd_pin pin, u32 val) in spt_port_hotplug_long_detect() [all …]
|
D | i915_drv.h | 113 enum hpd_pin { enum
|
/Linux-v5.4/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link.c | 215 struct gpio *hpd_pin; in dc_link_detect_sink() local 229 hpd_pin = get_hpd_gpio(link->ctx->dc_bios, link->link_id, link->ctx->gpio_service); in dc_link_detect_sink() 230 if (hpd_pin == NULL) in dc_link_detect_sink() 233 dal_gpio_open(hpd_pin, GPIO_MODE_INTERRUPT); in dc_link_detect_sink() 234 dal_gpio_get_value(hpd_pin, &is_hpd_high); in dc_link_detect_sink() 235 dal_gpio_close(hpd_pin); in dc_link_detect_sink() 236 dal_gpio_destroy_irq(&hpd_pin); in dc_link_detect_sink()
|