Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Disl29028.c92 int lux_scale; member
162 static int isl29028_set_als_scale(struct isl29028_chip *chip, int lux_scale) in isl29028_set_als_scale() argument
165 int val = (lux_scale == 2000) ? ISL29028_CONF_ALS_RANGE_HIGH_LUX : in isl29028_set_als_scale()
177 chip->lux_scale = lux_scale; in isl29028_set_als_scale()
190 ret = isl29028_set_als_scale(chip, chip->lux_scale); in isl29028_set_als_ir_mode()
311 if (chip->lux_scale == 125) in isl29028_als_get()
468 *val = chip->lux_scale; in isl29028_read_raw()
595 chip->lux_scale = 2000; in isl29028_probe()