Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/
H A Dapds990x.c101 #define APDS990X_LUX_OUTPUT_SCALE 10 macro
446 lpc = APDS990X_LUX_OUTPUT_SCALE * (chip->cf.df * chip->cf.ga) / in apds990x_get_lux()
641 if (result > (APDS_RANGE * APDS990X_LUX_OUTPUT_SCALE)) in apds990x_lux_show()
642 result = APDS_RANGE * APDS990X_LUX_OUTPUT_SCALE; in apds990x_lux_show()
645 result / APDS990X_LUX_OUTPUT_SCALE, in apds990x_lux_show()
646 result % APDS990X_LUX_OUTPUT_SCALE); in apds990x_lux_show()