Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll_10nm.c206 u64 ssc_step_size; in dsi_pll_calc_ssc() local
221 ssc_step_size = regs->decimal_div_start; in dsi_pll_calc_ssc()
222 ssc_step_size *= (1 << config->frac_bits); in dsi_pll_calc_ssc()
223 ssc_step_size += frac; in dsi_pll_calc_ssc()
224 ssc_step_size *= config->ssc_offset; in dsi_pll_calc_ssc()
225 ssc_step_size *= (config->ssc_adj_per + 1); in dsi_pll_calc_ssc()
226 ssc_step_size = div_u64(ssc_step_size, (ssc_per + 1)); in dsi_pll_calc_ssc()
227 ssc_step_size = DIV_ROUND_CLOSEST_ULL(ssc_step_size, 1000000); in dsi_pll_calc_ssc()
231 regs->ssc_stepsize_low = (u32)(ssc_step_size & 0xFF); in dsi_pll_calc_ssc()
232 regs->ssc_stepsize_high = (u32)((ssc_step_size & 0xFF00) >> 8); in dsi_pll_calc_ssc()
[all …]
Ddsi_pll_14nm.c90 u32 ssc_step_size; member
296 pll->out.ssc_step_size = step_size; in pll_14nm_ssc_calc()
412 data = pout->ssc_step_size; in pll_db_commit_ssc()
415 data = (pout->ssc_step_size >> 8); in pll_db_commit_ssc()