Searched refs:lux_data (Results 1 – 2 of 2) sorted by relevance
194 int lux_data; in isl29018_read_lux() local197 lux_data = isl29018_read_sensor_input(chip, in isl29018_read_lux()199 if (lux_data < 0) in isl29018_read_lux()200 return lux_data; in isl29018_read_lux()202 data_x_range = lux_data * chip->scale.scale + in isl29018_read_lux()203 lux_data * chip->scale.uscale / 1000000; in isl29018_read_lux()
1177 + unsigned long val, lux_data;1194 + lux_data = ((unsigned long)(val << bitdepth)) /1196 + lux_data &= 0xffff;1198 + msb = lux_data >> 8;1199 + lsb = lux_data & 0xff;1247 + unsigned long val, lux_data;1264 + lux_data = ((unsigned long)(val << bitdepth)) /1266 + lux_data &= 0xffff;1268 + msb = lux_data >> 8;1269 + lsb = lux_data & 0xff;