Searched refs:sys_div (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/media/i2c/
H A Dsmiapp-pll.c165 uint32_t sys_div; __smiapp_pll_calculate() local
348 * Find pix_div such that a legal pix_div * sys_div results __smiapp_pll_calculate()
354 for (sys_div = min_sys_div; __smiapp_pll_calculate()
355 sys_div <= max_sys_div; __smiapp_pll_calculate()
356 sys_div += 2 - (sys_div & 1)) { __smiapp_pll_calculate()
357 uint16_t pix_div = DIV_ROUND_UP(vt_div, sys_div); __smiapp_pll_calculate()
370 if (pix_div * sys_div __smiapp_pll_calculate()
/linux-4.4.14/drivers/video/fbdev/omap/
H A Dhwa742.c766 int sys_div = 0, sys_mul = 0; calc_hwa742_clk_rates() local
773 sys_div = (hwa742_read_reg(HWA742_PLL_DIV_REG) & 0x3f) + 1; calc_hwa742_clk_rates()
775 *sys_clk = ext_clk * sys_mul / sys_div; calc_hwa742_clk_rates()
781 "ext_clk %ld pix_src %d pix_div %d sys_div %d sys_mul %d\n", calc_hwa742_clk_rates()
782 ext_clk, pix_clk_src & (0x3 << 1), pix_div, sys_div, sys_mul); calc_hwa742_clk_rates()
/linux-4.4.14/arch/powerpc/platforms/512x/
H A Dclock-commonclk.c423 int *sys_mul, int *sys_div, mpc512x_clk_setup_ref_clock()
432 *sys_div = get_sys_div_x2(); mpc512x_clk_setup_ref_clock()
450 calc_freq /= *sys_div; mpc512x_clk_setup_ref_clock()
460 calc_freq *= *sys_div; /* SYS -> PLL out */ mpc512x_clk_setup_ref_clock()
707 int sys_mul, sys_div, ips_div; mpc512x_clk_setup_clock_tree() local
733 mpc512x_clk_setup_ref_clock(np, busfreq, &sys_mul, &sys_div, &ips_div); mpc512x_clk_setup_clock_tree()
737 sys_mul, sys_div); mpc512x_clk_setup_clock_tree()
422 mpc512x_clk_setup_ref_clock(struct device_node *np, int bus_freq, int *sys_mul, int *sys_div, int *ips_div) mpc512x_clk_setup_ref_clock() argument

Completed in 160 milliseconds