Lines Matching refs:hdmi_phy
89 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw);
90 void __iomem *base = hdmi_phy->regs;
107 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw);
108 void __iomem *base = hdmi_phy->regs;
124 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw);
126 hdmi_phy->pll_rate = rate;
138 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw);
139 void __iomem *base = hdmi_phy->regs;
146 dev_dbg(hdmi_phy->dev, "%s: %lu Hz, parent: %lu Hz\n", __func__,
182 hdmi_ibias = hdmi_phy->ibias;
187 hdmi_ibias = hdmi_phy->ibias_up;
200 FIELD_PREP(RG_HDMITX_DRV_IMP_CLK, hdmi_phy->drv_imp_clk) |
201 FIELD_PREP(RG_HDMITX_DRV_IMP_D2, hdmi_phy->drv_imp_d2) |
202 FIELD_PREP(RG_HDMITX_DRV_IMP_D1, hdmi_phy->drv_imp_d1) |
203 FIELD_PREP(RG_HDMITX_DRV_IMP_D0, hdmi_phy->drv_imp_d0));
217 struct mtk_hdmi_phy *hdmi_phy = to_mtk_hdmi_phy(hw);
219 return hdmi_phy->pll_rate;
230 static void mtk_hdmi_phy_enable_tmds(struct mtk_hdmi_phy *hdmi_phy)
232 mtk_phy_set_bits(hdmi_phy->regs + HDMI_CON3,
238 static void mtk_hdmi_phy_disable_tmds(struct mtk_hdmi_phy *hdmi_phy)
240 mtk_phy_clear_bits(hdmi_phy->regs + HDMI_CON3,