Searched refs:lux_raw (Results 1 – 3 of 3) sorted by relevance
175 u64 lux_raw; in opt4001_read_lux_value() local195 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()
251 int lux_raw; in max44009_read_raw() local261 lux_raw = ret; in max44009_read_raw()263 *val = lux_raw * MAX44009_SCALE_NUMERATOR; in max44009_read_raw()
137 u32 lux_raw; member492 chip->lux_raw = apds990x_get_lux(chip, in apds990x_irq()498 chip->lux = chip->lux_raw; in apds990x_irq()