Searched refs:bestdiff (Results 1 – 3 of 3) sorted by relevance
328 int bestdiff = -1; in at91rm9200_clk_usb_round_rate() local347 if (bestdiff < 0 || bestdiff > tmpdiff) { in at91rm9200_clk_usb_round_rate()349 bestdiff = tmpdiff; in at91rm9200_clk_usb_round_rate()353 if (!bestdiff) in at91rm9200_clk_usb_round_rate()
131 unsigned int bestdiff = ~0; in matroxfb_PLL_calcclock() local159 for (; p-- > 0; fwant >>= 1, bestdiff >>= 1) { in matroxfb_PLL_calcclock()177 if (diff < bestdiff) { in matroxfb_PLL_calcclock()178 bestdiff = diff; in matroxfb_PLL_calcclock()
408 u32 savediv = 0, ratio, bestdiff = freq; in fsl_sai_set_bclk() local454 if (diff < bestdiff) { in fsl_sai_set_bclk()457 bestdiff = diff; in fsl_sai_set_bclk()471 sai->mclk_id[tx], savediv, bestdiff); in fsl_sai_set_bclk()