Home
last modified time | relevance | path

Searched refs:find_closest_descending (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/include/linux/
Dutil_macros.h39 #define find_closest_descending(x, a, as) __find_closest(x, a, as, >=) macro
/linux-6.1.9/drivers/iio/pressure/
Dhp206c.c309 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/
Dmax44009.c128 int_time = find_closest_descending( in max44009_write_int_time()
Dmax44000.c359 int alstim = find_closest_descending(valns, in max44000_write_raw()
Dsi1145.c603 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/
Drtq6056.c230 selector = find_closest_descending(val, rtq6056_samp_freq_list, in rtq6056_adc_set_samp_freq()
/linux-6.1.9/drivers/hwmon/
Dstts751.c604 idx = find_closest_descending(val, stts751_intervals, in interval_store()
Dadt7475.c607 val = find_closest_descending(val, ad7475_st_map, in temp_st_store()
Dw83795.c299 reg0 = find_closest_descending(val, pwm_freq_cksel0, in pwm_freq_to_reg()