Searched refs:lux_corr (Results 1 – 1 of 1) sorted by relevance
136 u32 lux_corr; member289 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()977 chip->lux_corr = new_corr; in bh1770_lux_calib_store()1232 chip->lux_corr = bh1770_get_corr_value(chip); in bh1770_probe()1233 if (chip->lux_corr == 0) { in bh1770_probe()