Lines Matching refs:vclk_freq
383 unsigned int vclk_freq; in dw_hdmi_set_vclk() local
387 vclk_freq = mode->clock; in dw_hdmi_set_vclk()
391 vclk_freq /= 2; in dw_hdmi_set_vclk()
394 phy_freq = vclk_freq * 10; in dw_hdmi_set_vclk()
398 vclk_freq, vclk_freq, vclk_freq, false); in dw_hdmi_set_vclk()
404 vclk_freq *= 2; in dw_hdmi_set_vclk()
406 venc_freq = vclk_freq; in dw_hdmi_set_vclk()
407 hdmi_freq = vclk_freq; in dw_hdmi_set_vclk()
414 vclk_freq = max(venc_freq, hdmi_freq); in dw_hdmi_set_vclk()
420 phy_freq, vclk_freq, venc_freq, hdmi_freq, in dw_hdmi_set_vclk()
423 meson_vclk_setup(priv, MESON_VCLK_TARGET_HDMI, phy_freq, vclk_freq, in dw_hdmi_set_vclk()
640 unsigned int vclk_freq; in dw_hdmi_mode_valid() local
666 vclk_freq = mode->clock; in dw_hdmi_mode_valid()
672 vclk_freq /= 2; in dw_hdmi_mode_valid()
675 phy_freq = vclk_freq * 10; in dw_hdmi_mode_valid()
679 vclk_freq *= 2; in dw_hdmi_mode_valid()
681 venc_freq = vclk_freq; in dw_hdmi_mode_valid()
682 hdmi_freq = vclk_freq; in dw_hdmi_mode_valid()
691 vclk_freq = max(venc_freq, hdmi_freq); in dw_hdmi_mode_valid()
697 __func__, phy_freq, vclk_freq, venc_freq, hdmi_freq); in dw_hdmi_mode_valid()
699 return meson_vclk_vic_supported_freq(priv, phy_freq, vclk_freq); in dw_hdmi_mode_valid()