Home
last modified time | relevance | path

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

/drivers/video/fbdev/vermilion/
Dcr_pll.c104 int cur_diff; in crvml_nearest_index() local
107 cur_diff = clock - crvml_clocks[0]; in crvml_nearest_index()
108 cur_diff = (cur_diff < 0) ? -cur_diff : cur_diff; in crvml_nearest_index()
112 if (diff < cur_diff) { in crvml_nearest_index()
114 cur_diff = diff; in crvml_nearest_index()
Dvermilion.c580 int cur_diff; in vml_nearest_clock() local
584 cur_diff = clock - vml_clocks[0]; in vml_nearest_clock()
585 cur_diff = (cur_diff < 0) ? -cur_diff : cur_diff; in vml_nearest_clock()
589 if (diff < cur_diff) { in vml_nearest_clock()
591 cur_diff = diff; in vml_nearest_clock()
/drivers/clk/at91/
Dclk-peripheral.c260 unsigned long cur_diff; in clk_sam9x5_peripheral_round_rate() local
282 cur_diff = rate - cur_rate; in clk_sam9x5_peripheral_round_rate()
284 cur_diff = cur_rate - rate; in clk_sam9x5_peripheral_round_rate()
286 if (cur_diff < best_diff) { in clk_sam9x5_peripheral_round_rate()
287 best_diff = cur_diff; in clk_sam9x5_peripheral_round_rate()