• Home
  • Raw
  • Download

Lines Matching refs:div1

456 	int div1, div2;  in wm8750_find_pll_bits()  local
462 for (div1 = 1; div1 >= 0; div1--) in wm8750_find_pll_bits()
465 tclk = parent_rate * (mul + 1) / ((div1 + 1) * (1 << div2)); in wm8750_find_pll_bits()
471 *filter = wm8750_get_filter(parent_rate, div1); in wm8750_find_pll_bits()
473 *divisor1 = div1; in wm8750_find_pll_bits()
481 *divisor1 = div1; in wm8750_find_pll_bits()
504 int div1, div2; in wm8850_find_pll_bits() local
510 for (div1 = 1; div1 >= 0; div1--) in wm8850_find_pll_bits()
514 ((div1 + 1) * (1 << div2)); in wm8850_find_pll_bits()
521 *divisor1 = div1; in wm8850_find_pll_bits()
529 *divisor1 = div1; in wm8850_find_pll_bits()
550 u32 filter, mul, div1, div2; in vtwm_pll_set_rate() local
559 ret = vt8500_find_pll_bits(rate, parent_rate, &mul, &div1); in vtwm_pll_set_rate()
561 pll_val = VT8500_BITS_TO_VAL(mul, div1); in vtwm_pll_set_rate()
564 ret = wm8650_find_pll_bits(rate, parent_rate, &mul, &div1, &div2); in vtwm_pll_set_rate()
566 pll_val = WM8650_BITS_TO_VAL(mul, div1, div2); in vtwm_pll_set_rate()
569 ret = wm8750_find_pll_bits(rate, parent_rate, &filter, &mul, &div1, &div2); in vtwm_pll_set_rate()
571 pll_val = WM8750_BITS_TO_VAL(filter, mul, div1, div2); in vtwm_pll_set_rate()
574 ret = wm8850_find_pll_bits(rate, parent_rate, &mul, &div1, &div2); in vtwm_pll_set_rate()
576 pll_val = WM8850_BITS_TO_VAL(mul, div1, div2); in vtwm_pll_set_rate()
601 u32 filter, mul, div1, div2; in vtwm_pll_round_rate() local
607 ret = vt8500_find_pll_bits(rate, *prate, &mul, &div1); in vtwm_pll_round_rate()
609 round_rate = VT8500_BITS_TO_FREQ(*prate, mul, div1); in vtwm_pll_round_rate()
612 ret = wm8650_find_pll_bits(rate, *prate, &mul, &div1, &div2); in vtwm_pll_round_rate()
614 round_rate = WM8650_BITS_TO_FREQ(*prate, mul, div1, div2); in vtwm_pll_round_rate()
617 ret = wm8750_find_pll_bits(rate, *prate, &filter, &mul, &div1, &div2); in vtwm_pll_round_rate()
619 round_rate = WM8750_BITS_TO_FREQ(*prate, mul, div1, div2); in vtwm_pll_round_rate()
622 ret = wm8850_find_pll_bits(rate, *prate, &mul, &div1, &div2); in vtwm_pll_round_rate()
624 round_rate = WM8850_BITS_TO_FREQ(*prate, mul, div1, div2); in vtwm_pll_round_rate()