Lines Matching refs:asic_pll
530 static void ufx_calc_pll_values(const u32 clk_pixel_pll, struct pll_values *asic_pll) in ufx_calc_pll_values() argument
592 asic_pll->div_r0 = div_r0 - 1; in ufx_calc_pll_values()
593 asic_pll->div_f0 = div_f0 - 1; in ufx_calc_pll_values()
594 asic_pll->div_q0 = div_q0; in ufx_calc_pll_values()
595 asic_pll->div_r1 = div_r1 - 1; in ufx_calc_pll_values()
596 asic_pll->div_f1 = div_f1 - 1; in ufx_calc_pll_values()
597 asic_pll->div_q1 = div_q1; in ufx_calc_pll_values()
599 asic_pll->range0 = ufx_calc_range(ref_freq0); in ufx_calc_pll_values()
600 asic_pll->range1 = ufx_calc_range(ref_freq1); in ufx_calc_pll_values()
616 struct pll_values asic_pll = {0}; in ufx_config_pix_clk() local
627 ufx_calc_pll_values(clk_pixel_pll, &asic_pll); in ufx_config_pix_clk()
633 value = (asic_pll.div_f1 | (asic_pll.div_r1 << 8) | in ufx_config_pix_clk()
634 (asic_pll.div_q1 << 16) | (asic_pll.range1 << 20)); in ufx_config_pix_clk()
638 value = (asic_pll.div_f0 | (asic_pll.div_r0 << 8) | in ufx_config_pix_clk()
639 (asic_pll.div_q0 << 16) | (asic_pll.range0 << 20)); in ufx_config_pix_clk()