Home
last modified time | relevance | path

Searched refs:diff_old (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/iio/adc/
Dad7768-1.c295 unsigned int diff_new, diff_old, pwr_mode, i, idx; in ad7768_set_freq() local
298 diff_old = U32_MAX; in ad7768_set_freq()
306 if (diff_new < diff_old) { in ad7768_set_freq()
307 diff_old = diff_new; in ad7768_set_freq()
Dad7124.c161 unsigned int diff_new, diff_old; in ad7124_find_closest_match() local
163 diff_old = U32_MAX; in ad7124_find_closest_match()
168 if (diff_new < diff_old) { in ad7124_find_closest_match()
169 diff_old = diff_new; in ad7124_find_closest_match()
/Linux-v5.4/drivers/iio/dac/
Dad5758.c399 s64 diff_new, diff_old; in ad5758_slew_rate_config() local
404 diff_old = S64_MAX; in ad5758_slew_rate_config()
438 if (diff_new < diff_old) { in ad5758_slew_rate_config()
439 diff_old = diff_new; in ad5758_slew_rate_config()
/Linux-v5.4/drivers/staging/iio/adc/
Dad7192.c485 unsigned int diff_new, diff_old; in ad7192_set_3db_filter_freq() local
488 diff_old = U32_MAX; in ad7192_set_3db_filter_freq()
495 if (diff_new < diff_old) { in ad7192_set_3db_filter_freq()
496 diff_old = diff_new; in ad7192_set_3db_filter_freq()