Searched refs:tmds_clk (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/phy/amlogic/ |
H A D | phy-meson8-hdmi-tx.c | 37 struct clk *tmds_clk; member 44 return clk_prepare_enable(priv->tmds_clk); in phy_meson8_hdmi_tx_init() 51 clk_disable_unprepare(priv->tmds_clk); in phy_meson8_hdmi_tx_exit() 62 if (clk_get_rate(priv->tmds_clk) >= 2970UL * 1000 * 1000) in phy_meson8_hdmi_tx_power_on() 127 priv->tmds_clk = devm_clk_get(&pdev->dev, NULL); in phy_meson8_hdmi_tx_probe() 128 if (IS_ERR(priv->tmds_clk)) in phy_meson8_hdmi_tx_probe() 129 return PTR_ERR(priv->tmds_clk); in phy_meson8_hdmi_tx_probe()
|
/linux/drivers/phy/mediatek/ |
H A D | phy-mtk-hdmi-mt8195.c | 215 u64 tmds_clk, pixel_clk, da_hdmitx21_ref_ck, ns_hdmipll_ck, pcw; in mtk_hdmi_pll_calc() local 221 tmds_clk = pixel_clk; in mtk_hdmi_pll_calc() 223 if (tmds_clk < 25 * MEGA || tmds_clk > 594 * MEGA) in mtk_hdmi_pll_calc() 226 if (tmds_clk >= 340 * MEGA) in mtk_hdmi_pll_calc() 240 if (tmds_clk < 54 * MEGA) in mtk_hdmi_pll_calc() 242 else if (tmds_clk >= 54 * MEGA && (tmds_clk * 100) < 14835 * MEGA) in mtk_hdmi_pll_calc() 244 else if ((tmds_clk * 100) >= 14835 * MEGA && (tmds_clk * 1 in mtk_hdmi_pll_calc() 308 u32 tmds_clk; mtk_hdmi_pll_drv_setting() local [all...] |
/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_hdmi_tmds_clk.c | 231 hdmi->tmds_clk = devm_clk_register(hdmi->dev, &tmds->hw); in sun4i_tmds_create() 232 if (IS_ERR(hdmi->tmds_clk)) in sun4i_tmds_create() 233 return PTR_ERR(hdmi->tmds_clk); in sun4i_tmds_create()
|
H A D | sun4i_hdmi.h | 265 struct clk *tmds_clk; member
|
/linux/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_phy_8996.c | 223 u64 tmds_clk; in pll_calculate() local 240 tmds_clk = pix_clk >> 2; in pll_calculate() 242 tmds_clk = pix_clk; in pll_calculate() 273 DBG("tmds clk: %llu", tmds_clk); in pll_calculate()
|
/linux/drivers/media/platform/synopsys/hdmirx/ |
H A D | snps_hdmirx.c | 395 u64 tmp_data, tmds_clk; in hdmirx_get_detected_timings() local 416 tmds_clk = tmdsqpclk_freq * 4 * 1000; in hdmirx_get_detected_timings() 417 tmp_data = tmds_clk * 24; in hdmirx_get_detected_timings() 427 v4l2_dbg(2, debug, v4l2_dev, "tmds_clk:%llu, pix_clk:%d\n", tmds_clk, pix_clk); in hdmirx_get_detected_timings()
|