Searched refs:n_div (Results 1 – 2 of 2) sorted by relevance
224 u16 iqik_m_cal, n_div; in it913x_set_params() local236 n_div = 48; in it913x_set_params()239 n_div = 32; in it913x_set_params()242 n_div = 24; in it913x_set_params()245 n_div = 16; in it913x_set_params()248 n_div = 12; in it913x_set_params()251 n_div = 8; in it913x_set_params()254 n_div = 6; in it913x_set_params()257 n_div = 4; in it913x_set_params()260 n_div = 2; in it913x_set_params()[all …]
332 unsigned long n_div; member491 clk->n_div = ((val & PLL_CTRL_PREDIV) >> 9) + 1; in clk_pll_recalc_rate()508 ref_rate = parent_rate / clk->n_div; in clk_pll_recalc_rate()524 clk->n_div, clk->m_div, (1 << clk->p_div), rate); in clk_pll_recalc_rate()549 val |= (clk->n_div - 1) << 9; in clk_pll_set_rate()550 new_rate = (parent_rate * clk->m_div) / clk->n_div; in clk_pll_set_rate()564 val |= (clk->n_div - 1) << 9; in clk_pll_set_rate()566 new_rate = (parent_rate * clk->m_div) / clk->n_div; in clk_pll_set_rate()571 val |= (clk->n_div - 1) << 9; in clk_pll_set_rate()574 (clk->n_div * (1 << clk->p_div)); in clk_pll_set_rate()[all …]