Searched refs:find_closest_descending (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/include/linux/ |
D | util_macros.h | 39 #define find_closest_descending(x, a, as) __find_closest(x, a, as, >=) macro
|
/linux-6.1.9/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-6.1.9/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 | 603 val = find_closest_descending(val, si1145_proximity_scale_available, in si1145_proximity_adcgain_from_scale() 613 val = find_closest_descending(val, si1145_intensity_scale_available, in si1145_intensity_adcgain_from_scale()
|
/linux-6.1.9/drivers/iio/adc/ |
D | rtq6056.c | 230 selector = find_closest_descending(val, rtq6056_samp_freq_list, in rtq6056_adc_set_samp_freq()
|
/linux-6.1.9/drivers/hwmon/ |
D | stts751.c | 604 idx = find_closest_descending(val, stts751_intervals, in interval_store()
|
D | adt7475.c | 607 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()
|