best_diff 283 drivers/clk/at91/clk-audio-pll.c int best_diff = -1; best_diff 311 drivers/clk/at91/clk-audio-pll.c if (best_diff < 0 || best_diff > tmp_diff) { best_diff 314 drivers/clk/at91/clk-audio-pll.c best_diff = tmp_diff; best_diff 333 drivers/clk/at91/clk-audio-pll.c int best_diff = -1; best_diff 348 drivers/clk/at91/clk-audio-pll.c if (best_diff < 0 || best_diff > tmp_diff) { best_diff 351 drivers/clk/at91/clk-audio-pll.c best_diff = tmp_diff; best_diff 353 drivers/clk/at91/clk-audio-pll.c if (!best_diff) best_diff 101 drivers/clk/at91/clk-generated.c int *best_diff, long *best_rate) best_diff 112 drivers/clk/at91/clk-generated.c if (*best_diff < 0 || *best_diff > tmp_diff) { best_diff 114 drivers/clk/at91/clk-generated.c *best_diff = tmp_diff; best_diff 128 drivers/clk/at91/clk-generated.c int best_diff = -1; best_diff 148 drivers/clk/at91/clk-generated.c &best_diff, &best_rate); best_diff 150 drivers/clk/at91/clk-generated.c if (!best_diff) best_diff 175 drivers/clk/at91/clk-generated.c &best_diff, &best_rate); best_diff 177 drivers/clk/at91/clk-generated.c if (!best_diff) best_diff 247 drivers/clk/at91/clk-peripheral.c unsigned long best_diff; best_diff 266 drivers/clk/at91/clk-peripheral.c best_diff = cur_rate - rate; best_diff 275 drivers/clk/at91/clk-peripheral.c if (cur_diff < best_diff) { best_diff 276 drivers/clk/at91/clk-peripheral.c best_diff = cur_diff; best_diff 280 drivers/clk/at91/clk-peripheral.c if (!best_diff || cur_rate < rate) best_diff 61 drivers/clk/at91/clk-usb.c int best_diff = -1; best_diff 87 drivers/clk/at91/clk-usb.c if (best_diff < 0 || best_diff > tmp_diff) { best_diff 89 drivers/clk/at91/clk-usb.c best_diff = tmp_diff; best_diff 94 drivers/clk/at91/clk-usb.c if (!best_diff || tmp_rate < req->rate) best_diff 98 drivers/clk/at91/clk-usb.c if (!best_diff) best_diff 513 drivers/clk/bcm/clk-iproc-pll.c unsigned long diff, best_diff; best_diff 535 drivers/clk/bcm/clk-iproc-pll.c best_diff = ULONG_MAX; best_diff 538 drivers/clk/bcm/clk-iproc-pll.c if (diff <= best_diff) { best_diff 539 drivers/clk/bcm/clk-iproc-pll.c best_diff = diff; best_diff 308 drivers/clk/clk-cdce706.c unsigned long best_diff = rate; best_diff 313 drivers/clk/clk-cdce706.c for (div = CDCE706_PLL_FREQ_MIN / rate; best_diff && best_diff 333 drivers/clk/clk-cdce706.c if (diff < best_diff) { best_diff 334 drivers/clk/clk-cdce706.c best_diff = diff; best_diff 334 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c u32 best_diff = 64 * symbol; best_diff 398 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c if (diff < best_diff) { best_diff 399 drivers/gpu/drm/nouveau/nvkm/engine/disp/nv50.c best_diff = diff; best_diff 453 drivers/gpu/drm/pl111/pl111_display.c unsigned long best_diff = ~0ul; best_diff 466 drivers/gpu/drm/pl111/pl111_display.c if (diff < best_diff) { best_diff 468 drivers/gpu/drm/pl111/pl111_display.c best_diff = diff; best_diff 87 drivers/gpu/drm/rcar-du/rcar_du_crtc.c unsigned long best_diff = (unsigned long)-1; best_diff 145 drivers/gpu/drm/rcar-du/rcar_du_crtc.c if (best_diff > diff) { best_diff 146 drivers/gpu/drm/rcar-du/rcar_du_crtc.c best_diff = diff; best_diff 162 drivers/gpu/drm/rcar-du/rcar_du_crtc.c dpll->output, dpll->fdpll, dpll->n, dpll->m, best_diff); best_diff 559 drivers/iio/imu/adis16480.c unsigned int diff, best_diff; best_diff 576 drivers/iio/imu/adis16480.c best_diff = st->chip_info->filter_freqs[0]; best_diff 580 drivers/iio/imu/adis16480.c if (diff < best_diff) { best_diff 581 drivers/iio/imu/adis16480.c best_diff = diff; best_diff 454 drivers/media/i2c/mt9v111.c unsigned int best_diff; best_diff 467 drivers/media/i2c/mt9v111.c best_diff = ~0L; best_diff 470 drivers/media/i2c/mt9v111.c if (diff < best_diff) { best_diff 472 drivers/media/i2c/mt9v111.c best_diff = diff; best_diff 497 drivers/media/i2c/mt9v111.c best_diff = ~0L; best_diff 507 drivers/media/i2c/mt9v111.c if (diff < best_diff) { best_diff 508 drivers/media/i2c/mt9v111.c best_diff = diff; best_diff 607 drivers/media/i2c/ov772x.c unsigned int best_diff; best_diff 613 drivers/media/i2c/ov772x.c best_diff = ~0L; best_diff 616 drivers/media/i2c/ov772x.c if (diff < best_diff) { best_diff 618 drivers/media/i2c/ov772x.c best_diff = diff; best_diff 631 drivers/media/i2c/ov772x.c unsigned int best_diff; best_diff 675 drivers/media/i2c/ov772x.c best_diff = ~0L; best_diff 688 drivers/media/i2c/ov772x.c if (diff < best_diff) { best_diff 689 drivers/media/i2c/ov772x.c best_diff = diff; best_diff 940 drivers/media/i2c/ov772x.c u32 best_diff = UINT_MAX; best_diff 946 drivers/media/i2c/ov772x.c if (diff < best_diff) { best_diff 947 drivers/media/i2c/ov772x.c best_diff = diff; best_diff 353 drivers/media/platform/atmel/atmel-isc-base.c int best_diff = -1; best_diff 375 drivers/media/platform/atmel/atmel-isc-base.c if (best_diff < 0 || best_diff > diff) { best_diff 377 drivers/media/platform/atmel/atmel-isc-base.c best_diff = diff; best_diff 382 drivers/media/platform/atmel/atmel-isc-base.c if (!best_diff || rate < req->rate) best_diff 386 drivers/media/platform/atmel/atmel-isc-base.c if (!best_diff) best_diff 408 drivers/mfd/sm501.c long *best_diff) best_diff 427 drivers/mfd/sm501.c if (diff < *best_diff) { best_diff 428 drivers/mfd/sm501.c *best_diff = diff; best_diff 454 drivers/mfd/sm501.c long best_diff = 999999999; best_diff 466 drivers/mfd/sm501.c mclk, &best_diff)) { best_diff 491 drivers/mfd/sm501.c long best_diff = 999999999; best_diff 495 drivers/mfd/sm501.c sm501_calc_clock(freq, clock, max_div, mclk, &best_diff); best_diff 1186 drivers/net/wan/ixp4xx_hss.c u32 *best, u32 *best_diff, u32 *reg) best_diff 1196 drivers/net/wan/ixp4xx_hss.c if (new_diff < *best_diff) { best_diff 1198 drivers/net/wan/ixp4xx_hss.c *best_diff = new_diff; best_diff 1298 drivers/pinctrl/sunxi/pinctrl-sunxi.c unsigned int best_diff, best_div; best_diff 1301 drivers/pinctrl/sunxi/pinctrl-sunxi.c best_diff = abs(freq - clock); best_diff 1307 drivers/pinctrl/sunxi/pinctrl-sunxi.c if (cur_diff < best_diff) { best_diff 1308 drivers/pinctrl/sunxi/pinctrl-sunxi.c best_diff = cur_diff; best_diff 1313 drivers/pinctrl/sunxi/pinctrl-sunxi.c *diff = best_diff; best_diff 1037 drivers/tty/serial/msm_serial.c unsigned long target, old, best_rate = 0, diff, best_diff = ULONG_MAX; best_diff 1070 drivers/tty/serial/msm_serial.c if (diff < best_diff) { best_diff 1071 drivers/tty/serial/msm_serial.c best_diff = diff; best_diff 2019 drivers/usb/musb/musb_host.c int best_diff; best_diff 2043 drivers/usb/musb/musb_host.c best_diff = 4096; best_diff 2063 drivers/usb/musb/musb_host.c if (diff >= 0 && best_diff > diff) { best_diff 2085 drivers/usb/musb/musb_host.c best_diff = diff; best_diff 667 drivers/video/fbdev/cyber2000fb.c int best_diff; best_diff 695 drivers/video/fbdev/cyber2000fb.c best_diff = 0x7fffffff; best_diff 723 drivers/video/fbdev/cyber2000fb.c if (diff < best_diff) { best_diff 724 drivers/video/fbdev/cyber2000fb.c best_diff = diff; best_diff 336 drivers/video/fbdev/ps3fb.c int diff, best_diff; best_diff 341 drivers/video/fbdev/ps3fb.c best_diff = INT_MAX; best_diff 354 drivers/video/fbdev/ps3fb.c if (diff < best_diff) { best_diff 358 drivers/video/fbdev/ps3fb.c best_diff = diff; best_diff 420 drivers/video/fbdev/savage/savagefb_driver.c long diff, best_diff; best_diff 434 drivers/video/fbdev/savage/savagefb_driver.c best_diff = freq; best_diff 447 drivers/video/fbdev/savage/savagefb_driver.c if (diff < best_diff) { best_diff 448 drivers/video/fbdev/savage/savagefb_driver.c best_diff = diff; best_diff 467 drivers/video/fbdev/savage/savagefb_driver.c long diff, best_diff; best_diff 472 drivers/video/fbdev/savage/savagefb_driver.c best_diff = freq; best_diff 485 drivers/video/fbdev/savage/savagefb_driver.c if (diff < best_diff) { best_diff 486 drivers/video/fbdev/savage/savagefb_driver.c best_diff = diff; best_diff 780 sound/core/pcm_lib.c int best_diff; best_diff 787 sound/core/pcm_lib.c best_num = best_den = best_diff = 0; best_diff 810 sound/core/pcm_lib.c diff * best_den < best_diff * den) { best_diff 811 sound/core/pcm_lib.c best_diff = diff; best_diff 824 sound/core/pcm_lib.c result_diff = best_diff; best_diff 826 sound/core/pcm_lib.c best_num = best_den = best_diff = 0; best_diff 851 sound/core/pcm_lib.c diff * best_den < best_diff * den) { best_diff 852 sound/core/pcm_lib.c best_diff = diff; best_diff 869 sound/core/pcm_lib.c if (best_diff * result_den < result_diff * best_den) { best_diff 898 sound/core/pcm_lib.c unsigned int best_num, best_diff, best_den; best_diff 903 sound/core/pcm_lib.c best_num = best_den = best_diff = 0; best_diff 922 sound/core/pcm_lib.c diff * best_den < best_diff * den) { best_diff 923 sound/core/pcm_lib.c best_diff = diff; best_diff 935 sound/core/pcm_lib.c best_num = best_den = best_diff = 0; best_diff 954 sound/core/pcm_lib.c diff * best_den < best_diff * den) { best_diff 955 sound/core/pcm_lib.c best_diff = diff; best_diff 279 sound/soc/sunxi/sun8i-codec.c unsigned int best_val = 0, best_diff = ~0; best_diff 286 sound/soc/sunxi/sun8i-codec.c if (diff < best_diff) { best_diff 287 sound/soc/sunxi/sun8i-codec.c best_diff = diff;