Home
last modified time | relevance | path

Searched refs:ref_freq_khz (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/tools/omap/
H A Dclocks_get_m_n.c49 int get_m_n_optimized(u32 target_freq_khz, u32 ref_freq_khz, u32 *M, u32 *N) in get_m_n_optimized() argument
56 m = target_freq_khz / ref_freq_khz / 2 * n; in get_m_n_optimized()
59 freq = ref_freq_khz * 2 * m / n; in get_m_n_optimized()
75 ((ref_freq_khz / n) < 1000)) { in get_m_n_optimized()
82 printf("ref %d m %d n %d target %d locked %d\n", ref_freq_khz, in get_m_n_optimized()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_clock_source.c147 feedback_divider = div_u64(feedback_divider, calc_pll_cs->ref_freq_khz * 10ull); in calculate_fb_and_fractional_fb_divider()
216 actual_calc_clk_100hz *= calc_pll_cs->ref_freq_khz * 10; in calc_fb_divider_checking_tolerance()
233 pll_settings->reference_freq = calc_pll_cs->ref_freq_khz; in calc_fb_divider_checking_tolerance()
338 min_ref_divider = ((calc_pll_cs->ref_freq_khz in calculate_pixel_clock_pll_dividers()
341 ? calc_pll_cs->ref_freq_khz in calculate_pixel_clock_pll_dividers()
345 max_ref_divider = ((calc_pll_cs->ref_freq_khz in calculate_pixel_clock_pll_dividers()
348 ? calc_pll_cs->ref_freq_khz / in calculate_pixel_clock_pll_dividers()
1485 calc_pll_cs->ref_freq_khz = fw_info->pll_info.crystal_frequency; in calc_pll_max_vco_construct()
1612 clk_src->ref_freq_khz = clk_src->bios->fw_info.pll_info.crystal_frequency; in dce110_clk_src_construct()
1629 min_override_input_pxl_clk_pll_freq_khz = clk_src->ref_freq_khz/2; in dce110_clk_src_construct()
[all …]
H A Ddce_clock_source.h250 uint32_t ref_freq_khz; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dclock_source.h142 uint32_t ref_freq_khz; member