Lines Matching refs:vclk_freq
72 unsigned int vclk_freq; in meson_encoder_hdmi_set_vclk() local
76 vclk_freq = mode->clock; in meson_encoder_hdmi_set_vclk()
80 vclk_freq /= 2; in meson_encoder_hdmi_set_vclk()
83 phy_freq = vclk_freq * 10; in meson_encoder_hdmi_set_vclk()
87 vclk_freq, vclk_freq, vclk_freq, false); in meson_encoder_hdmi_set_vclk()
93 vclk_freq *= 2; in meson_encoder_hdmi_set_vclk()
95 venc_freq = vclk_freq; in meson_encoder_hdmi_set_vclk()
96 hdmi_freq = vclk_freq; in meson_encoder_hdmi_set_vclk()
103 vclk_freq = max(venc_freq, hdmi_freq); in meson_encoder_hdmi_set_vclk()
109 phy_freq, vclk_freq, venc_freq, hdmi_freq, in meson_encoder_hdmi_set_vclk()
112 meson_vclk_setup(priv, MESON_VCLK_TARGET_HDMI, phy_freq, vclk_freq, in meson_encoder_hdmi_set_vclk()
124 unsigned int vclk_freq; in meson_encoder_hdmi_mode_valid() local
150 vclk_freq = mode->clock; in meson_encoder_hdmi_mode_valid()
156 vclk_freq /= 2; in meson_encoder_hdmi_mode_valid()
159 phy_freq = vclk_freq * 10; in meson_encoder_hdmi_mode_valid()
163 vclk_freq *= 2; in meson_encoder_hdmi_mode_valid()
165 venc_freq = vclk_freq; in meson_encoder_hdmi_mode_valid()
166 hdmi_freq = vclk_freq; in meson_encoder_hdmi_mode_valid()
175 vclk_freq = max(venc_freq, hdmi_freq); in meson_encoder_hdmi_mode_valid()
181 __func__, phy_freq, vclk_freq, venc_freq, hdmi_freq); in meson_encoder_hdmi_mode_valid()
183 return meson_vclk_vic_supported_freq(priv, phy_freq, vclk_freq); in meson_encoder_hdmi_mode_valid()