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

/u-boot/include/k210/
H A Dpll.h18 struct k210_pll_config *best);
/u-boot/test/dm/
H A Dk210_pll.c14 struct k210_pll_config *best)
38 best->r = r;
39 best->f = f;
40 best->od = od;
13 dm_test_k210_pll_calc_config(u32 rate, u32 rate_in, struct k210_pll_config *best) argument
/u-boot/arch/arm/mach-imx/imx8ulp/
H A Dclock.c417 u32 best_pfd = 0, best_frac = 0, best = 0, best_div = 0; local
445 if (best == 0 || rate > best) {
446 best = rate;
457 if (best == 0) {
462 debug("LCD target rate %ukhz, best rate %ukhz, frac %u, pcd %u, best_pfd %u, best_div %u\n",
463 freq_in_khz, best, best_frac, best_pcd, best_pfd, best_div);
/u-boot/drivers/sound/
H A Dwm8994.c292 int i, cur_val, best_val, bclk_rate, best; local
340 debug("%s: Could not get the best matching samplingrate\n",
348 best = 0;
355 best = i;
359 rate_val |= best;
367 best = 0;
372 best = i;
376 debug("%s: Could not get the best matching bclk division\n",
381 bclk_rate = priv->aifclk[id] * 10 / bclk_divs[best];
382 bclk |= best << WM8994_AIF1_BCLK_DIV_SHIF
[all...]
/u-boot/arch/mips/mach-octeon/include/mach/
H A Dcvmx-l2c-defs.h165 int best; member in struct:rlevel_byte_data
/u-boot/arch/arm/mach-imx/mx7/
H A Dclock.c900 u32 temp, best = 0; local
931 if (best == 0 || temp < best) {
932 best = temp;
939 if (best == 0) {
944 debug("best %d, pred = %d, postd = %d\n", best, pred, postd);
946 pll_div = best / hck;
948 pll_num = (best - hck * pll_div) * pll_denom / hck;
/u-boot/arch/arm/mach-imx/mx6/
H A Dclock.c684 u32 temp, best = 0; local
736 /* Choose the best pred and postd to match freq for lcd */
742 if (best == 0 || temp < best) {
743 best = temp;
750 if (best == 0) {
755 debug("best %d, pred = %d, postd = %d\n", best, pred, postd);
757 pll_div = best / hck;
759 pll_num = (best
[all...]
/u-boot/drivers/clk/
H A Dclk_k210.c529 * In general, rounding is done to the closest integer. This helps find the best
663 struct k210_pll_config *best)
853 best->r = r;
854 best->f = f;
855 best->od = od;
860 log_debug("best error %lld\n", best_error);
662 k210_pll_calc_config(u32 rate, u32 rate_in, struct k210_pll_config *best) argument
/u-boot/drivers/ram/octeon/
H A Docteon3_lmc.c55 * allow looking for the best sample score
763 * any unintentional mode register write so it's best to do what
6723 // averaging or picking best
6781 // save the new best delays and best errors
6783 rl_byte[i].best = rl_byte[i].delay;
6797 /* We recorded the best score across the averaging loops */
6801 * Restore the delays from the best fields that go with the best
6805 rl_byte[i].delay = rl_byte[i].best;
[all...]

Completed in 95 milliseconds