Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/at91/
Dclk-usb.c328 int bestdiff = -1; in at91rm9200_clk_usb_round_rate() local
347 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()
/linux-6.1.9/drivers/video/fbdev/matrox/
Dmatroxfb_misc.c131 unsigned int bestdiff = ~0; in matroxfb_PLL_calcclock() local
159 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()
/linux-6.1.9/sound/soc/fsl/
Dfsl_sai.c408 u32 savediv = 0, ratio, bestdiff = freq; in fsl_sai_set_bclk() local
454 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()