Home
last modified time | relevance | path

Searched refs:ns_hdmipll_ck (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/phy/mediatek/
Dphy-mtk-hdmi-mt8195.c213 u64 tmds_clk, pixel_clk, da_hdmitx21_ref_ck, ns_hdmipll_ck, pcw; in mtk_hdmi_pll_calc() local
254 ns_hdmipll_ck = 5 * tmds_clk * txposdiv * txpredivs[i]; in mtk_hdmi_pll_calc()
255 if (ns_hdmipll_ck >= 5 * GIGA && in mtk_hdmi_pll_calc()
256 ns_hdmipll_ck <= 12 * GIGA) in mtk_hdmi_pll_calc()
260 (ns_hdmipll_ck < 5 * GIGA || ns_hdmipll_ck > 12 * GIGA)) { in mtk_hdmi_pll_calc()
273 pcw = div_u64(((u64)ns_hdmipll_ck) << PCW_DECIMAL_WIDTH, in mtk_hdmi_pll_calc()
291 digital_div = div_u64(ns_hdmipll_ck, posdiv1 * posdiv2 * pixel_clk); in mtk_hdmi_pll_calc()