Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Dmax44009.c52 #define MAX44009_SCALE_NUMERATOR 45 macro
263 *val = lux_raw * MAX44009_SCALE_NUMERATOR; in max44009_read_raw()
310 mantissa /= MAX44009_SCALE_NUMERATOR; in max44009_threshold_byte_from_fraction()
314 (MAX44009_SCALE_DENOMINATOR / MAX44009_SCALE_NUMERATOR); in max44009_threshold_byte_from_fraction()
415 *val = threshold * MAX44009_SCALE_NUMERATOR; in max44009_read_event_value()