Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/
Dbh1770glc.c134 u32 lux_calib; member
368 tmp = (tmp * chip->lux_calib) / BH1770_CALIB_SCALER; in bh1770_get_corr_value()
949 len = sprintf(buf, "%u\n", chip->lux_calib); in bh1770_lux_calib_show()
969 old_calib = chip->lux_calib; in bh1770_lux_calib_store()
970 chip->lux_calib = value; in bh1770_lux_calib_store()
973 chip->lux_calib = old_calib; in bh1770_lux_calib_store()
1188 chip->lux_calib = BH1770_LUX_NEUTRAL_CALIB_VALUE; in bh1770_probe()
Dapds990x.c141 u16 lux_calib; member
274 lux = lux * (APDS_CALIB_SCALER / 4) / (chip->lux_calib / 4); in apds990x_lux_to_threshold()
640 result = (chip->lux * chip->lux_calib) / APDS_CALIB_SCALER; in apds990x_lux_show()
675 return sprintf(buf, "%u\n", chip->lux_calib); in apds990x_lux_calib_show()
690 chip->lux_calib = value; in apds990x_lux_calib_store()
1105 chip->lux_calib = APDS_LUX_NEUTRAL_CALIB_VALUE; in apds990x_probe()