Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/iio/light/
Disl29018.c194 int lux_data; in isl29018_read_lux() local
197 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()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0024_linux_drivers_input.patch1177 + 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;