Home
last modified time | relevance | path

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

/drivers/misc/
Dbh1770glc.c113 #define BH1770_LUX_CORR_SCALE 4096 macro
289 lux = ((u32)raw * chip->lux_corr) / BH1770_LUX_CORR_SCALE; in bh1770_lux_raw_to_adjusted()
296 return (u32)adjusted * BH1770_LUX_CORR_SCALE / chip->lux_corr; in bh1770_lux_adjusted_to_raw()
364 tmp = (BH1770_LUX_CORR_SCALE * chip->lux_ga) / BH1770_LUX_GA_SCALE; in bh1770_get_corr_value()