Lines Matching defs:phy
7 #include "phy-mtk-hdmi.h"
9 static int mtk_hdmi_phy_power_on(struct phy *phy);
10 static int mtk_hdmi_phy_power_off(struct phy *phy);
11 static int mtk_hdmi_phy_configure(struct phy *phy, union phy_configure_opts *opts);
25 static int mtk_hdmi_phy_power_on(struct phy *phy)
27 struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(phy);
38 static int mtk_hdmi_phy_power_off(struct phy *phy)
40 struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(phy);
48 static int mtk_hdmi_phy_configure(struct phy *phy, union phy_configure_opts *opts)
50 struct mtk_hdmi_phy *hdmi_phy = phy_get_drvdata(phy);
53 return hdmi_phy->conf->hdmi_phy_configure(phy, opts);
67 dev_err(hdmi_phy->dev, "Failed to get dev ops of phy\n");
89 struct phy *phy;
139 phy = devm_phy_create(dev, NULL, mtk_hdmi_phy_dev_get_ops(hdmi_phy));
140 if (IS_ERR(phy))
141 return dev_err_probe(dev, PTR_ERR(phy), "Cannot create HDMI PHY\n");
143 phy_set_drvdata(phy, hdmi_phy);
158 { .compatible = "mediatek,mt2701-hdmi-phy",
161 { .compatible = "mediatek,mt8173-hdmi-phy",
164 { .compatible = "mediatek,mt8195-hdmi-phy",
174 .name = "mediatek-hdmi-phy",