Searched refs:hpd_gpiod (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/ |
D | hdmi_hpd.c | 118 if (hdmi->hpd_gpiod) in msm_hdmi_hpd_enable() 119 gpiod_set_value_cansleep(hdmi->hpd_gpiod, 1); in msm_hdmi_hpd_enable() 229 return gpiod_get_value(hdmi->hpd_gpiod) ? in detect_gpio() 246 if (!hdmi->hpd_gpiod) in msm_hdmi_bridge_detect()
|
D | hdmi.c | 250 hdmi->hpd_gpiod = devm_gpiod_get_optional(&pdev->dev, "hpd", GPIOD_IN); in msm_hdmi_init() 252 if (IS_ERR(hdmi->hpd_gpiod)) { in msm_hdmi_init() 253 ret = PTR_ERR(hdmi->hpd_gpiod); in msm_hdmi_init() 258 if (!hdmi->hpd_gpiod) in msm_hdmi_init() 261 if (hdmi->hpd_gpiod) in msm_hdmi_init() 262 gpiod_set_consumer_name(hdmi->hpd_gpiod, "HDMI_HPD"); in msm_hdmi_init()
|
D | hdmi.h | 56 struct gpio_desc *hpd_gpiod; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_core.c | 1761 dp->hpd_gpiod = devm_gpiod_get_optional(dev, "hpd", GPIOD_IN); in analogix_dp_probe() 1762 if (!dp->hpd_gpiod) in analogix_dp_probe() 1763 dp->hpd_gpiod = devm_gpiod_get_optional(dev, "samsung,hpd", in analogix_dp_probe() 1765 if (IS_ERR(dp->hpd_gpiod)) { in analogix_dp_probe() 1767 PTR_ERR(dp->hpd_gpiod)); in analogix_dp_probe() 1768 ret = PTR_ERR(dp->hpd_gpiod); in analogix_dp_probe() 1772 if (dp->hpd_gpiod) { in analogix_dp_probe() 1780 dp->irq = gpiod_to_irq(dp->hpd_gpiod); in analogix_dp_probe()
|
D | analogix_dp_reg.c | 396 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()
|
D | analogix_dp_core.h | 172 struct gpio_desc *hpd_gpiod; member
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 8944 if (IS_ERR(dp->hpd_gpiod)) { 8946 PTR_ERR(dp->hpd_gpiod)); 8947 - ret = PTR_ERR(dp->hpd_gpiod); 8949 + return ERR_CAST(dp->hpd_gpiod); 8952 if (dp->hpd_gpiod) { 8960 - dp->irq = gpiod_to_irq(dp->hpd_gpiod); 8966 + gpiod_to_irq(dp->hpd_gpiod), 9519 + if (dp->force_hpd || dp->hpd_gpiod) 9747 if (dp->hpd_gpiod) 9779 - if (dp->hpd_gpiod) { [all …]
|