Home
last modified time | relevance | path

Searched refs:best_diff (Results 1 – 9 of 9) sorted by relevance

/drivers/mfd/
Dsm501.c409 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/
Dadis16480.c497 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/
Dsavagefb_driver.c424 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/
Dps3fb.c336 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()
Dcyber2000fb.c671 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/
Dov772x.c678 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/
Dixp4xx_hss.c1189 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/
Dnv50.c1011 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/
Dmusb_host.c1934 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()