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

/u-boot/tools/omap/
H A Dclocks_get_m_n.c21 * target_freq_khz - output frequency required in KHz
28 * [target_freq_khz - tolerance_khz, target_freq_khz]
49 int get_m_n_optimized(u32 target_freq_khz, u32 ref_freq_khz, u32 *M, u32 *N) argument
51 u32 freq = target_freq_khz;
56 m = target_freq_khz / ref_freq_khz / 2 * n;
60 if (freq > target_freq_khz) {
74 if ((freq_optimal == target_freq_khz) ||
83 m_optimal, n_optimal - 1, target_freq_khz, freq_optimal);

Completed in 31 milliseconds