Searched refs:lux_raw (Results 1 – 1 of 1) 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()