Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mmc/host/
H A Drenesas_sdhi_core.c129 unsigned int freq, diff, best_freq = 0, diff_min = ~0; in renesas_sdhi_clk_update() local
175 if (diff <= diff_min) { in renesas_sdhi_clk_update()
177 diff_min = diff; in renesas_sdhi_clk_update()
H A Dsh_mmcif.c495 unsigned int freq, best_freq, myclk, div, diff_min, diff; in sh_mmcif_clock_control() local
499 diff_min = ~0; in sh_mmcif_clock_control()
515 if (diff <= diff_min) { in sh_mmcif_clock_control()
518 diff_min = diff; in sh_mmcif_clock_control()
/openbmc/linux/drivers/video/fbdev/i810/
H A Di810_main.c711 u32 f_out, target_freq, diff = 0, mod_min, diff_min; in i810_calc_dclk() local
713 diff_min = mod_min = 0xFFFFFFFF; in i810_calc_dclk()
731 while (diff_min && mod_min && (n_target < n_target_max)) { in i810_calc_dclk()
744 if (diff_min > diff) { in i810_calc_dclk()
745 diff_min = diff; in i810_calc_dclk()