Home
last modified time | relevance | path

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

/drivers/misc/
Dbh1770glc.c148 u32 lux_calib; member
385 tmp = (tmp * chip->lux_calib) / BH1770_CALIB_SCALER; in bh1770_get_corr_value()
953 len = sprintf(buf, "%u\n", chip->lux_calib); in bh1770_lux_calib_show()
971 old_calib = chip->lux_calib; in bh1770_lux_calib_store()
972 chip->lux_calib = value; in bh1770_lux_calib_store()
975 chip->lux_calib = old_calib; in bh1770_lux_calib_store()
1189 chip->lux_calib = BH1770_LUX_NEUTRAL_CALIB_VALUE; in bh1770_probe()
Dapds990x.c155 u16 lux_calib; member
289 lux = lux * (APDS_CALIB_SCALER / 4) / (chip->lux_calib / 4); in apds990x_lux_to_threshold()
655 result = (chip->lux * chip->lux_calib) / APDS_CALIB_SCALER; in apds990x_lux_show()
690 return sprintf(buf, "%u\n", chip->lux_calib); in apds990x_lux_calib_show()
703 chip->lux_calib = value; in apds990x_lux_calib_store()
1098 chip->lux_calib = APDS_LUX_NEUTRAL_CALIB_VALUE; in apds990x_probe()