Home
last modified time | relevance | path

Searched refs:sys_div (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/media/i2c/ !
Dccs-pll.c300 u16 vt_div, min_sys_div, max_sys_div, sys_div; in __ccs_pll_calculate_vt_tree() local
332 for (sys_div = min_sys_div; sys_div <= max_sys_div; in __ccs_pll_calculate_vt_tree()
333 sys_div += 2 - (sys_div & 1)) { in __ccs_pll_calculate_vt_tree()
336 if (vt_div % sys_div) in __ccs_pll_calculate_vt_tree()
339 pix_div = vt_div / sys_div; in __ccs_pll_calculate_vt_tree()
351 dev_dbg(dev, "sys/pix/best_pix: %u,%u,%u\n", sys_div, pix_div, in __ccs_pll_calculate_vt_tree()
354 if (pix_div * sys_div <= best_pix_div) { in __ccs_pll_calculate_vt_tree()
356 best_div = pix_div * sys_div; in __ccs_pll_calculate_vt_tree()
445 u16 sys_div; in ccs_pll_calculate_vt() local
531 for (sys_div = min_sys_div; sys_div <= __max_sys_div; in ccs_pll_calculate_vt()
[all …]
Dov8865.c527 unsigned int sys_div; member
568 unsigned int sys_div; member
724 .sys_div = 2,
735 .sys_div = 2,
749 .sys_div = 3,
758 .sys_div = 0,
772 .sys_div = 0,
781 .sys_div = 0,
1667 OV8865_PLL_CTRL6_SYS_DIV(config->sys_div)); in ov8865_mode_pll1_configure()
1712 OV8865_PLL_CTRLE_SYS_DIV(config->sys_div)); in ov8865_mode_pll2_configure()
Dov5648.c545 unsigned int sys_div; member
573 unsigned int sys_div; member
674 .sys_div = 2,
688 .sys_div = 2,
702 .sys_div = 1,
1285 OV5648_PLL_CTRL1_SYS_DIV(config->sys_div) | in ov5648_mode_pll1_configure()
1315 OV5648_PLLS_CTRL_SYS_DIV(config->sys_div)); in ov5648_mode_pll2_configure()
1514 return pll1_rate / config->sys_div / config->mipi_div / 2; in ov5648_mode_mipi_clk_rate()
Dov7251.c100 unsigned int sys_div; member
205 .sys_div = 0x05,
213 .sys_div = 0x05,
855 configs->pll2->sys_div); in ov7251_pll_configure()
/linux-6.12.1/drivers/clk/imgtec/ !
Dclk-boston.c34 uint mmcmdiv, mul, cpu_div, sys_div; in clk_boston_setup() local
55 sys_div = ext_field(mmcmdiv, BOSTON_PLAT_MMCMDIV_CLK0DIV); in clk_boston_setup()
56 sys_freq = mult_frac(in_freq, mul, sys_div); in clk_boston_setup()
/linux-6.12.1/arch/powerpc/platforms/512x/ !
Dclock-commonclk.c422 int *sys_mul, int *sys_div, in mpc512x_clk_setup_ref_clock() argument
431 *sys_div = get_sys_div_x2(); in mpc512x_clk_setup_ref_clock()
449 calc_freq /= *sys_div; in mpc512x_clk_setup_ref_clock()
459 calc_freq *= *sys_div; /* SYS -> PLL out */ in mpc512x_clk_setup_ref_clock()
706 int sys_mul, sys_div, ips_div; in mpc512x_clk_setup_clock_tree() local
732 mpc512x_clk_setup_ref_clock(np, busfreq, &sys_mul, &sys_div, &ips_div); in mpc512x_clk_setup_clock_tree()
736 sys_mul, sys_div); in mpc512x_clk_setup_clock_tree()
/linux-6.12.1/drivers/video/fbdev/omap/ !
Dhwa742.c766 int sys_div = 0, sys_mul = 0; in calc_hwa742_clk_rates() local
773 sys_div = (hwa742_read_reg(HWA742_PLL_DIV_REG) & 0x3f) + 1; in calc_hwa742_clk_rates()
775 *sys_clk = ext_clk * sys_mul / sys_div; in calc_hwa742_clk_rates()
782 ext_clk, pix_clk_src & (0x3 << 1), pix_div, sys_div, sys_mul); in calc_hwa742_clk_rates()