Searched refs:ssc_per (Results 1 – 2 of 2) sorted by relevance
151 u32 ssc_per; in dsi_pll_calc_ssc() local161 ssc_per = DIV_ROUND_CLOSEST(VCO_REF_CLK_RATE, config->ssc_freq) / 2 - 1; in dsi_pll_calc_ssc()162 ssc_mod = (ssc_per + 1) % (config->ssc_adj_per + 1); in dsi_pll_calc_ssc()163 ssc_per -= ssc_mod; in dsi_pll_calc_ssc()171 ssc_step_size = div_u64(ssc_step_size, (ssc_per + 1)); in dsi_pll_calc_ssc()174 config->ssc_div_per = ssc_per; in dsi_pll_calc_ssc()180 ssc_per, (u32)ssc_step_size, config->ssc_adj_per); in dsi_pll_calc_ssc()
158 u32 ssc_per; in dsi_pll_calc_ssc() local168 ssc_per = DIV_ROUND_CLOSEST(VCO_REF_CLK_RATE, config->ssc_freq) / 2 - 1; in dsi_pll_calc_ssc()169 ssc_mod = (ssc_per + 1) % (config->ssc_adj_per + 1); in dsi_pll_calc_ssc()170 ssc_per -= ssc_mod; in dsi_pll_calc_ssc()178 ssc_step_size = div_u64(ssc_step_size, (ssc_per + 1)); in dsi_pll_calc_ssc()181 config->ssc_div_per = ssc_per; in dsi_pll_calc_ssc()187 ssc_per, (u32)ssc_step_size, config->ssc_adj_per); in dsi_pll_calc_ssc()