Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/msm/hdmi/
H A 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()
222 return gpiod_get_value(hdmi->hpd_gpiod) ? in detect_gpio()
239 if (!hdmi->hpd_gpiod) in msm_hdmi_bridge_detect()
H A Dhdmi.c507 hdmi->hpd_gpiod = devm_gpiod_get_optional(&pdev->dev, "hpd", GPIOD_IN); in msm_hdmi_dev_probe()
509 if (IS_ERR(hdmi->hpd_gpiod)) in msm_hdmi_dev_probe()
510 return dev_err_probe(dev, PTR_ERR(hdmi->hpd_gpiod), in msm_hdmi_dev_probe()
513 if (!hdmi->hpd_gpiod) in msm_hdmi_dev_probe()
516 if (hdmi->hpd_gpiod) in msm_hdmi_dev_probe()
517 gpiod_set_consumer_name(hdmi->hpd_gpiod, "HDMI_HPD"); in msm_hdmi_dev_probe()
H A Dhdmi.h56 struct gpio_desc *hpd_gpiod; member
/linux/drivers/gpu/drm/bridge/analogix/
H A Danalogix_dp_core.c1619 dp->hpd_gpiod = devm_gpiod_get_optional(dev, "hpd", GPIOD_IN); in analogix_dp_probe()
1620 if (!dp->hpd_gpiod) in analogix_dp_probe()
1621 dp->hpd_gpiod = devm_gpiod_get_optional(dev, "samsung,hpd", in analogix_dp_probe()
1623 if (IS_ERR(dp->hpd_gpiod)) { in analogix_dp_probe()
1625 PTR_ERR(dp->hpd_gpiod)); in analogix_dp_probe()
1626 ret = PTR_ERR(dp->hpd_gpiod); in analogix_dp_probe()
1630 if (dp->hpd_gpiod) { in analogix_dp_probe()
1638 dp->irq = gpiod_to_irq(dp->hpd_gpiod); in analogix_dp_probe()
H A Danalogix_dp_reg.c382 if (dp->hpd_gpiod) in analogix_dp_clear_hotplug_interrupts()
396 if (dp->hpd_gpiod) in analogix_dp_init_hpd()
419 if (dp->hpd_gpiod) { in analogix_dp_get_irq_type()
420 reg = gpiod_get_value(dp->hpd_gpiod); in analogix_dp_get_irq_type()
492 if (dp->hpd_gpiod) { in analogix_dp_get_plug_in_status()
493 if (gpiod_get_value(dp->hpd_gpiod)) in analogix_dp_get_plug_in_status()
H A Danalogix_dp_core.h167 struct gpio_desc *hpd_gpiod; member