Home
last modified time | relevance | path

Searched refs:hpd_gpiod (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/msm/hdmi/
Dhdmi_hpd.c115 if (hdmi->hpd_gpiod) in msm_hdmi_hpd_enable()
116 gpiod_set_value_cansleep(hdmi->hpd_gpiod, 1); in msm_hdmi_hpd_enable()
223 return gpiod_get_value(hdmi->hpd_gpiod) ? in detect_gpio()
240 if (!hdmi->hpd_gpiod) in msm_hdmi_bridge_detect()
Dhdmi.c519 hdmi->hpd_gpiod = devm_gpiod_get_optional(&pdev->dev, "hpd", GPIOD_IN); in msm_hdmi_dev_probe()
521 if (IS_ERR(hdmi->hpd_gpiod)) in msm_hdmi_dev_probe()
522 return dev_err_probe(dev, PTR_ERR(hdmi->hpd_gpiod), in msm_hdmi_dev_probe()
525 if (!hdmi->hpd_gpiod) in msm_hdmi_dev_probe()
528 if (hdmi->hpd_gpiod) in msm_hdmi_dev_probe()
529 gpiod_set_consumer_name(hdmi->hpd_gpiod, "HDMI_HPD"); in msm_hdmi_dev_probe()
Dhdmi.h56 struct gpio_desc *hpd_gpiod; member
/Linux-v6.6/drivers/gpu/drm/bridge/analogix/
Danalogix_dp_core.c1754 dp->hpd_gpiod = devm_gpiod_get_optional(dev, "hpd", GPIOD_IN); in analogix_dp_probe()
1755 if (!dp->hpd_gpiod) in analogix_dp_probe()
1756 dp->hpd_gpiod = devm_gpiod_get_optional(dev, "samsung,hpd", in analogix_dp_probe()
1758 if (IS_ERR(dp->hpd_gpiod)) { in analogix_dp_probe()
1760 PTR_ERR(dp->hpd_gpiod)); in analogix_dp_probe()
1761 ret = PTR_ERR(dp->hpd_gpiod); in analogix_dp_probe()
1765 if (dp->hpd_gpiod) { in analogix_dp_probe()
1773 dp->irq = gpiod_to_irq(dp->hpd_gpiod); in analogix_dp_probe()
Danalogix_dp_reg.c396 if (dp->hpd_gpiod) in analogix_dp_clear_hotplug_interrupts()
410 if (dp->hpd_gpiod) in analogix_dp_init_hpd()
433 if (dp->hpd_gpiod) { in analogix_dp_get_irq_type()
434 reg = gpiod_get_value(dp->hpd_gpiod); in analogix_dp_get_irq_type()
506 if (dp->hpd_gpiod) { in analogix_dp_get_plug_in_status()
507 if (gpiod_get_value(dp->hpd_gpiod)) in analogix_dp_get_plug_in_status()
Danalogix_dp_core.h172 struct gpio_desc *hpd_gpiod; member