Searched refs:tmds_clk (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/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-6.15/drivers/phy/mediatek/ |
| H A D | phy-mtk-hdmi-mt8195.c | 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 * 10) < 2967 * MEGA) in mtk_hdmi_pll_calc() 246 else if ((tmds_clk * 10) >= 2967 * MEGA && tmds_clk <= 594 * MEGA) in mtk_hdmi_pll_calc() 256 ns_hdmipll_ck = 5 * tmds_clk * txposdiv * txpredivs[i]; in mtk_hdmi_pll_calc() 308 u32 tmds_clk; in mtk_hdmi_pll_drv_setting() local 311 tmds_clk = pixel_clk; in mtk_hdmi_pll_drv_setting() [all …]
|
| /linux-6.15/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_enc.c | 75 clk_disable_unprepare(hdmi->tmds_clk); in sun4i_hdmi_disable() 94 clk_set_rate(hdmi->tmds_clk, tmds_rate); in sun4i_hdmi_enable() 145 clk_prepare_enable(hdmi->tmds_clk); in sun4i_hdmi_enable() 181 rounded_rate = clk_round_rate(hdmi->tmds_clk, clock); in sun4i_hdmi_connector_clock_valid() 575 hdmi->ddc_parent_clk = hdmi->tmds_clk; in sun4i_hdmi_bind()
|
| H A D | sun4i_hdmi.h | 265 struct clk *tmds_clk; member
|
| /linux-6.15/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-6.15/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()
|