Searched refs:min_diff (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/clk/nuvoton/ |
H A D | clk-ma35d1-pll.c | 127 unsigned long min_diff = ULONG_MAX; in ma35d1_pll_find_closest() local 168 if (diff < min_diff) { in ma35d1_pll_find_closest() 173 min_diff = diff; in ma35d1_pll_find_closest() 174 if (min_diff == 0) in ma35d1_pll_find_closest()
|
/linux/drivers/clk/renesas/ |
H A D | clk-div6.c | 110 unsigned long min_diff = ULONG_MAX; in cpg_div6_clock_determine_rate() local 131 if (diff < min_diff) { in cpg_div6_clock_determine_rate() 135 min_diff = diff; in cpg_div6_clock_determine_rate()
|
/linux/drivers/leds/flash/ |
H A D | leds-tps6131x.c | 213 u32 diff, min_diff = U32_MAX; in tps6131x_find_closest_timer_config() local 218 if (diff < min_diff) { in tps6131x_find_closest_timer_config() 220 min_diff = diff; in tps6131x_find_closest_timer_config() 221 if (!min_diff) in tps6131x_find_closest_timer_config()
|
/linux/drivers/video/fbdev/ |
H A D | tgafb.c | 433 if (delta < min_diff) \ 434 min_diff = delta, vm = m, va = a, vr = r; \ 441 int n, shift, base, min_diff, target; local 484 min_diff = TGA_PLL_MAX_FREQ;
|
/linux/drivers/gpu/ipu-v3/ |
H A D | ipu-image-convert.c | 505 unsigned int min_diff = UINT_MAX; in find_best_seam() local 568 if (diff < min_diff) { in find_best_seam() 571 min_diff = diff; in find_best_seam() 580 in_seam, in_align, in_start, in_end, min_diff / 8192, in find_best_seam() 581 DIV_ROUND_CLOSEST(min_diff % 8192 * 1000, 8192)); in find_best_seam()
|
/linux/sound/soc/codecs/ |
H A D | wm8962.c | 2470 int best, min_diff, diff; in wm8962_configure_bclk() local 2551 min_diff = INT_MAX; in wm8962_configure_bclk() 2559 if (diff < min_diff) { in wm8962_configure_bclk() 2561 min_diff = diff; in wm8962_configure_bclk()
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 505 long min_diff = max(cp->timeout >> 1, 10UL * HZ); in ip_vs_sync_conn_needed() local 510 if (abs(diff) < min_t(long, sync_refresh_period, min_diff)) { in ip_vs_sync_conn_needed()
|