Searched refs:best_diff (Results 1 – 9 of 9) sorted by relevance
/drivers/mfd/ |
D | sm501.c | 409 long *best_diff) in sm501_calc_clock() argument 428 if (diff < *best_diff) { in sm501_calc_clock() 429 *best_diff = diff; in sm501_calc_clock() 455 long best_diff = 999999999; in sm501_calc_pll() local 467 mclk, &best_diff)) { in sm501_calc_pll() 492 long best_diff = 999999999; in sm501_select_clock() local 496 sm501_calc_clock(freq, clock, max_div, mclk, &best_diff); in sm501_select_clock()
|
/drivers/iio/imu/ |
D | adis16480.c | 497 unsigned int diff, best_diff; in adis16480_set_filter_freq() local 514 best_diff = 310; in adis16480_set_filter_freq() 518 if (diff < best_diff) { in adis16480_set_filter_freq() 519 best_diff = diff; in adis16480_set_filter_freq()
|
/drivers/video/savage/ |
D | savagefb_driver.c | 424 long diff, best_diff; in SavageCalcClock() local 438 best_diff = freq; in SavageCalcClock() 451 if (diff < best_diff) { in SavageCalcClock() 452 best_diff = diff; in SavageCalcClock() 471 long diff, best_diff; in common_calc_clock() local 476 best_diff = freq; in common_calc_clock() 489 if (diff < best_diff) { in common_calc_clock() 490 best_diff = diff; in common_calc_clock()
|
/drivers/video/ |
D | ps3fb.c | 336 int diff, best_diff; in ps3fb_find_mode() local 341 best_diff = INT_MAX; in ps3fb_find_mode() 354 if (diff < best_diff) { in ps3fb_find_mode() 358 best_diff = diff; in ps3fb_find_mode()
|
D | cyber2000fb.c | 671 int best_diff; in cyber2000fb_decode_clock() local 699 best_diff = 0x7fffffff; in cyber2000fb_decode_clock() 727 if (diff < best_diff) { in cyber2000fb_decode_clock() 728 best_diff = diff; in cyber2000fb_decode_clock()
|
/drivers/media/i2c/soc_camera/ |
D | ov772x.c | 678 u32 best_diff = UINT_MAX; in ov772x_select_win() local 684 if (diff < best_diff) { in ov772x_select_win() 685 best_diff = diff; in ov772x_select_win()
|
/drivers/net/wan/ |
D | ixp4xx_hss.c | 1189 u32 *best, u32 *best_diff, u32 *reg) in check_clock() argument 1199 if (new_diff < *best_diff) { in check_clock() 1201 *best_diff = new_diff; in check_clock()
|
/drivers/gpu/drm/nouveau/core/engine/disp/ |
D | nv50.c | 1011 u32 best_diff = 64 * symbol; in nv50_disp_intr_unk20_2_dp() local 1074 if (diff < best_diff) { in nv50_disp_intr_unk20_2_dp() 1075 best_diff = diff; in nv50_disp_intr_unk20_2_dp()
|
/drivers/usb/musb/ |
D | musb_host.c | 1934 int best_diff; in musb_schedule() local 1958 best_diff = 4096; in musb_schedule() 1978 if (diff >= 0 && best_diff > diff) { in musb_schedule() 2000 best_diff = diff; in musb_schedule()
|