Searched refs:find_closest_descending (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/include/linux/ |
D | util_macros.h | 39 #define find_closest_descending(x, a, as) __find_closest(x, a, as, >=) macro
|
/Linux-v5.10/drivers/iio/pressure/ |
D | hp206c.c | 309 data->temp_osr_index = find_closest_descending(val, in hp206c_write_raw() 313 data->pres_osr_index = find_closest_descending(val, in hp206c_write_raw()
|
/Linux-v5.10/drivers/iio/light/ |
D | max44009.c | 128 int_time = find_closest_descending( in max44009_write_int_time()
|
D | max44000.c | 359 int alstim = find_closest_descending(valns, in max44000_write_raw()
|
D | si1145.c | 604 val = find_closest_descending(val, si1145_proximity_scale_available, in si1145_proximity_adcgain_from_scale() 614 val = find_closest_descending(val, si1145_intensity_scale_available, in si1145_intensity_adcgain_from_scale()
|
/Linux-v5.10/drivers/hwmon/ |
D | stts751.c | 604 idx = find_closest_descending(val, stts751_intervals, in interval_store()
|
D | adt7475.c | 605 val = find_closest_descending(val, ad7475_st_map, in temp_st_store()
|
D | w83795.c | 299 reg0 = find_closest_descending(val, pwm_freq_cksel0, in pwm_freq_to_reg()
|