Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/
Dutil_macros.h27 #define find_closest(x, a, as) __find_closest(x, a, as, <=) macro
/linux-4.19.296/drivers/iio/adc/
Dina2xx-adc.c291 bits = find_closest(val, ina226_avg_tab, in ina226_set_average()
314 bits = find_closest(val_us, ina226_conv_time_tab, in ina226_set_int_time_vbus()
333 bits = find_closest(val_us, ina226_conv_time_tab, in ina226_set_int_time_vshunt()
355 *bits = find_closest(*val_us, ina219_conv_time_tab_subsample, in ina219_lookup_int_time()
359 *bits = find_closest(*val_us, ina219_conv_time_tab_average, in ina219_lookup_int_time()
435 bits = find_closest(gain, ina219_vshunt_gain_tab, in ina219_set_vshunt_pga_gain()
/linux-4.19.296/drivers/iio/light/
Dvl6180.c373 i = find_closest(gain, vl6180_als_gain_tab, in vl6180_set_als_gain()
Dmax44000.c372 int alspga = find_closest(valus, in max44000_write_raw()
Dsi1133.c666 scale_integer = find_closest(scale_integer, si1133_scale_available, in si1133_scale_to_swgain()