Home
last modified time | relevance | path

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

/u-boot/tools/omap/
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
51 u32 freq = target_freq_khz; in get_m_n_optimized()
56 m = target_freq_khz / ref_freq_khz / 2 * n; in get_m_n_optimized()
60 if (freq > target_freq_khz) { in get_m_n_optimized()
74 if ((freq_optimal == target_freq_khz) || in get_m_n_optimized()
83 m_optimal, n_optimal - 1, target_freq_khz, freq_optimal); in get_m_n_optimized()

Completed in 2 milliseconds