Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/adc/
Dad7768-1.c299 unsigned int diff_new, diff_old, pwr_mode, i, idx; in ad7768_set_freq() local
302 diff_old = U32_MAX; in ad7768_set_freq()
310 if (diff_new < diff_old) { in ad7768_set_freq()
311 diff_old = diff_new; in ad7768_set_freq()
Dad7124.c195 unsigned int diff_new, diff_old; in ad7124_find_closest_match() local
197 diff_old = U32_MAX; in ad7124_find_closest_match()
202 if (diff_new < diff_old) { in ad7124_find_closest_match()
203 diff_old = diff_new; in ad7124_find_closest_match()
Dad7192.c574 unsigned int diff_new, diff_old; in ad7192_set_3db_filter_freq() local
577 diff_old = U32_MAX; in ad7192_set_3db_filter_freq()
584 if (diff_new < diff_old) { in ad7192_set_3db_filter_freq()
585 diff_old = diff_new; in ad7192_set_3db_filter_freq()
/kernel/linux/linux-5.10/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()