Searched refs:find_closest (Results 1 – 5 of 5) sorted by relevance
/linux-4.19.296/include/linux/ |
D | util_macros.h | 27 #define find_closest(x, a, as) __find_closest(x, a, as, <=) macro
|
/linux-4.19.296/drivers/iio/adc/ |
D | ina2xx-adc.c | 291 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/ |
D | vl6180.c | 373 i = find_closest(gain, vl6180_als_gain_tab, in vl6180_set_als_gain()
|
D | max44000.c | 372 int alspga = find_closest(valus, in max44000_write_raw()
|
D | si1133.c | 666 scale_integer = find_closest(scale_integer, si1133_scale_available, in si1133_scale_to_swgain()
|