Home
last modified time | relevance | path

Searched refs:hdmi_supply (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/meson/
Dmeson_dw_hdmi.c143 struct regulator *hdmi_supply; member
726 meson_dw_hdmi->hdmi_supply = devm_regulator_get_optional(dev, "hdmi"); in meson_dw_hdmi_bind()
727 if (IS_ERR(meson_dw_hdmi->hdmi_supply)) { in meson_dw_hdmi_bind()
728 if (PTR_ERR(meson_dw_hdmi->hdmi_supply) == -EPROBE_DEFER) in meson_dw_hdmi_bind()
730 meson_dw_hdmi->hdmi_supply = NULL; in meson_dw_hdmi_bind()
732 ret = regulator_enable(meson_dw_hdmi->hdmi_supply); in meson_dw_hdmi_bind()
736 meson_dw_hdmi->hdmi_supply); in meson_dw_hdmi_bind()
/linux-6.1.9/drivers/gpu/drm/tegra/
Dsor.c438 struct regulator *hdmi_supply; member
2994 sor->hdmi_supply = devm_regulator_get(sor->dev, "hdmi"); in tegra_sor_hdmi_probe()
2995 if (IS_ERR(sor->hdmi_supply)) { in tegra_sor_hdmi_probe()
2997 PTR_ERR(sor->hdmi_supply)); in tegra_sor_hdmi_probe()
2998 return PTR_ERR(sor->hdmi_supply); in tegra_sor_hdmi_probe()
3001 err = tegra_sor_enable_regulator(sor, sor->hdmi_supply); in tegra_sor_hdmi_probe()
4016 if (sor->hdmi_supply) { in tegra_sor_suspend()
4017 err = regulator_disable(sor->hdmi_supply); in tegra_sor_suspend()
4032 if (sor->hdmi_supply) { in tegra_sor_resume()
4033 err = regulator_enable(sor->hdmi_supply); in tegra_sor_resume()
[all …]