Home
last modified time | relevance | path

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

/external/u-boot/tools/omap/
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()