Lines Matching refs:refdiv
81 unsigned int refdiv; member
94 FIELD_PREP(PLLCTRL_REFDIV_MASK, ctrl->refdiv); in sg2042_pll_ctrl_encode()
101 ctrl->refdiv = FIELD_GET(PLLCTRL_REFDIV_MASK, reg_value); in sg2042_pll_ctrl_decode()
157 denominator = ctrl_table.refdiv * ctrl_table.postdiv1 * ctrl_table.postdiv2; in sg2042_pll_recalc_rate()
189 unsigned int refdiv, in sg2042_pll_get_postdiv_1_2() argument
209 do_div(tmp0, refdiv); in sg2042_pll_get_postdiv_1_2()
256 unsigned int fbdiv, refdiv, postdiv1, postdiv2; in sg2042_get_pll_ctl_setting() local
274 for (refdiv = REFDIV_MIN; refdiv < REFDIV_MAX + 1; refdiv++) { in sg2042_get_pll_ctl_setting()
277 do_div(tmp, refdiv); in sg2042_get_pll_ctl_setting()
287 do_div(foutvco, refdiv); in sg2042_get_pll_ctl_setting()
292 fbdiv, refdiv, in sg2042_get_pll_ctl_setting()
307 best->refdiv = refdiv; in sg2042_get_pll_ctl_setting()