Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/light/
Dopt4001.c175 u64 lux_raw; in opt4001_read_lux_value() local
195 lux_raw = (msb << 8) + lsb; in opt4001_read_lux_value()
196 calc_crc = opt4001_calculate_crc(exp, lux_raw, count); in opt4001_read_lux_value()
200 lux_raw = lux_raw << exp; in opt4001_read_lux_value()
201 lux_raw = lux_raw * chip->chip_info->mul; in opt4001_read_lux_value()
202 *val = div_u64_rem(lux_raw, chip->chip_info->div, val2); in opt4001_read_lux_value()
Dmax44009.c251 int lux_raw; in max44009_read_raw() local
261 lux_raw = ret; in max44009_read_raw()
263 *val = lux_raw * MAX44009_SCALE_NUMERATOR; in max44009_read_raw()
/linux-6.12.1/drivers/misc/
Dapds990x.c137 u32 lux_raw; member
492 chip->lux_raw = apds990x_get_lux(chip, in apds990x_irq()
498 chip->lux = chip->lux_raw; in apds990x_irq()