Lines Matching refs:p_div
328 unsigned long p_div; member
487 clk->p_div = ((val & PLL_CTRL_POSTDIV) >> 11) + 1; in clk_pll_recalc_rate()
490 clk->p_div = 0; in clk_pll_recalc_rate()
496 return parent_rate / (1 << clk->p_div); in clk_pll_recalc_rate()
499 clk->p_div = 0; in clk_pll_recalc_rate()
508 cco_rate *= (1 << clk->p_div); in clk_pll_recalc_rate()
511 rate /= (1 << clk->p_div); in clk_pll_recalc_rate()
519 clk->n_div, clk->m_div, (1 << clk->p_div), rate); in clk_pll_recalc_rate()
549 val |= (clk->p_div - 1) << 11; in clk_pll_set_rate()
550 new_rate = parent_rate / (1 << (clk->p_div)); in clk_pll_set_rate()
560 val |= (clk->p_div - 1) << 11; in clk_pll_set_rate()
567 val |= (clk->p_div - 1) << 11; in clk_pll_set_rate()
569 (clk->n_div * (1 << clk->p_div)); in clk_pll_set_rate()
625 clk->p_div = p; in clk_hclk_pll_round_rate()
686 clk->p_div = 2; in clk_usb_pll_round_rate()