Lines Matching refs:fout
82 unsigned long fout; member
354 u64 fout; in rcar_mipi_dsi_pll_calc() local
356 fout = div64_u64((u64)fpfd * m, dsi->info->n_mul); in rcar_mipi_dsi_pll_calc()
358 if (fout < info->fout_min || fout > info->fout_max) in rcar_mipi_dsi_pll_calc()
361 fout = div64_u64(fout, setup_info->vclk_divider); in rcar_mipi_dsi_pll_calc()
363 if (fout < setup_info->clkset->min_freq || in rcar_mipi_dsi_pll_calc()
364 fout > setup_info->clkset->max_freq) in rcar_mipi_dsi_pll_calc()
367 err = abs((long)(fout - fout_target) * 10000 / in rcar_mipi_dsi_pll_calc()
372 setup_info->fout = (unsigned long)fout; in rcar_mipi_dsi_pll_calc()
427 setup_info->hsfreq = setup_info->fout * 2; in rcar_mipi_dsi_parameters_calc()
435 err = abs((long)(setup_info->fout - fout_target) * 10000 / (long)fout_target); in rcar_mipi_dsi_parameters_calc()
440 setup_info->vclk_divider, setup_info->fout, fout_target, in rcar_mipi_dsi_parameters_calc()