Searched refs:min_diff (Results 1 – 6 of 6) sorted by relevance
/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/ |
D | ia_css_xnr3.host.c | 144 s32 min_diff = -(1 << (ISP_VEC_ELEMBITS - 1)); in ia_css_xnr3_encode() local 171 to->alpha.ydiff = min(max(alpha_ydiff, min_diff), max_diff); in ia_css_xnr3_encode() 172 to->alpha.udiff = min(max(alpha_udiff, min_diff), max_diff); in ia_css_xnr3_encode() 173 to->alpha.vdiff = min(max(alpha_vdiff, min_diff), max_diff); in ia_css_xnr3_encode() 178 to->coring.udiff = min(max(coring_udiff, min_diff), max_diff); in ia_css_xnr3_encode() 179 to->coring.vdiff = min(max(coring_vdiff, min_diff), max_diff); in ia_css_xnr3_encode()
|
/drivers/clk/nuvoton/ |
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()
|
/drivers/clk/renesas/ |
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()
|
/drivers/tty/serial/ |
D | ar933x_uart.c | 258 long min_diff; in ar933x_uart_get_scale_step() local 263 min_diff = baud; in ar933x_uart_get_scale_step() 276 if (diff < min_diff) { in ar933x_uart_get_scale_step() 277 min_diff = diff; in ar933x_uart_get_scale_step()
|
/drivers/video/fbdev/ |
D | tgafb.c | 431 if (delta < min_diff) \ 432 min_diff = delta, vm = m, va = a, vr = r; \ 439 int n, shift, base, min_diff, target; local 482 min_diff = TGA_PLL_MAX_FREQ;
|
/drivers/gpu/ipu-v3/ |
D | ipu-image-convert.c | 519 unsigned int min_diff = UINT_MAX; in find_best_seam() local 582 if (diff < min_diff) { in find_best_seam() 585 min_diff = diff; in find_best_seam() 594 in_seam, in_align, in_start, in_end, min_diff / 8192, in find_best_seam() 595 DIV_ROUND_CLOSEST(min_diff % 8192 * 1000, 8192)); in find_best_seam()
|