Home
last modified time | relevance | path

Searched refs:diff2 (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/sound/
Dsb_ess.c344 int diff1, diff2; in ess_calc_best_speed() local
348 div2 = ess_calc_div (clock2, rev2, &speed2, &diff2); in ess_calc_best_speed()
350 if (diff1 < diff2) { in ess_calc_best_speed()
Dswarm_cs4297a.c929 int good_diff, diff, diff2; in cs4297a_update_ptr() local
950 diff2 = diff = (d->ringsz + hwptr - d->hwptr) % d->ringsz; in cs4297a_update_ptr()
955 while (diff2--) { in cs4297a_update_ptr()
1020 diff2 = diff = (hwptr + d->ringsz - d->hwptr) % d->ringsz; in cs4297a_update_ptr()
Dad1848.c845 int diff1, diff2; in ad1848_set_speed() local
848 diff2 = speed_table[i].speed - arg; in ad1848_set_speed()
850 if (diff1 < diff2) in ad1848_set_speed()
/linux-2.4.37.9/drivers/video/aty/
Datyfb_base.c2108 int diff1, diff2; in aty_init() local
2110 diff2 = 510*29/pll_ref_div-pll; in aty_init()
2113 if (diff2 < 0) in aty_init()
2114 diff2 = -diff2; in aty_init()
2115 if (diff2 < diff1) { in aty_init()
/linux-2.4.37.9/drivers/sbus/audio/
Dcs4231.c228 int diff1, diff2; in cs4231_rate_to_bits() local
231 diff2 = p[1].speed - wanted; in cs4231_rate_to_bits()
232 if (diff2 < diff1) in cs4231_rate_to_bits()