Lines Matching refs:n_div
327 unsigned long n_div; member
486 clk->n_div = ((val & PLL_CTRL_PREDIV) >> 9) + 1; in clk_pll_recalc_rate()
503 ref_rate = parent_rate / clk->n_div; in clk_pll_recalc_rate()
519 clk->n_div, clk->m_div, (1 << clk->p_div), rate); in clk_pll_recalc_rate()
544 val |= (clk->n_div - 1) << 9; in clk_pll_set_rate()
545 new_rate = (parent_rate * clk->m_div) / clk->n_div; in clk_pll_set_rate()
559 val |= (clk->n_div - 1) << 9; in clk_pll_set_rate()
561 new_rate = (parent_rate * clk->m_div) / clk->n_div; in clk_pll_set_rate()
566 val |= (clk->n_div - 1) << 9; in clk_pll_set_rate()
569 (clk->n_div * (1 << clk->p_div)); in clk_pll_set_rate()
624 clk->n_div = n; in clk_hclk_pll_round_rate()
684 clk->n_div = n_i; in clk_usb_pll_round_rate()