Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy_28nm_8960.c98 u32 val, temp, fb_divider; in dsi_pll_28nm_clk_set_rate() local
104 fb_divider = (temp * VCO_PREF_DIV_RATIO) / val; in dsi_pll_28nm_clk_set_rate()
105 fb_divider = fb_divider / 2 - 1; in dsi_pll_28nm_clk_set_rate()
107 fb_divider & 0xff); in dsi_pll_28nm_clk_set_rate()
111 val |= (fb_divider >> 8) & 0x07; in dsi_pll_28nm_clk_set_rate()
148 u32 status, fb_divider, temp, ref_divider; in dsi_pll_28nm_clk_recalc_rate() local
155 fb_divider = dsi_phy_read(base + REG_DSI_28nm_8960_PHY_PLL_CTRL_1); in dsi_pll_28nm_clk_recalc_rate()
156 fb_divider &= 0xff; in dsi_pll_28nm_clk_recalc_rate()
158 fb_divider = (temp << 8) | fb_divider; in dsi_pll_28nm_clk_recalc_rate()
159 fb_divider += 1; in dsi_pll_28nm_clk_recalc_rate()
[all …]
/linux-5.19.10/drivers/gpu/drm/radeon/
Drv6xx_dpm.c164 u32 fb_divider; in rv6xx_output_stepping() local
183 fb_divider = ((step->vco_frequency * pi->spll_ref_div) / ref_clk) >> in rv6xx_output_stepping()
188 r600_engine_clock_entry_set_feedback_divider(rdev, step_index, fb_divider); in rv6xx_output_stepping()
537 u32 fb_divider = vco_freq / ref_freq; in rv6xx_calculate_spread_spectrum_clk_v() local
539 return (ss_percent * ss_rate * 4 * (fb_divider * fb_divider) / in rv6xx_calculate_spread_spectrum_clk_v()