Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Dmax44009.c53 #define MAX44009_SCALE_DENOMINATOR 1000 macro
264 *val2 = MAX44009_SCALE_DENOMINATOR; in max44009_read_raw()
309 mantissa = integral * MAX44009_SCALE_DENOMINATOR; in max44009_threshold_byte_from_fraction()
314 (MAX44009_SCALE_DENOMINATOR / MAX44009_SCALE_NUMERATOR); in max44009_threshold_byte_from_fraction()
416 *val2 = MAX44009_SCALE_DENOMINATOR; in max44009_read_event_value()