Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/light/
Disl29028.c103 int lux_scale; member
173 static int isl29028_set_als_scale(struct isl29028_chip *chip, int lux_scale) in isl29028_set_als_scale() argument
176 int val = (lux_scale == 2000) ? ISL29028_CONF_ALS_RANGE_HIGH_LUX : in isl29028_set_als_scale()
188 chip->lux_scale = lux_scale; in isl29028_set_als_scale()
201 ret = isl29028_set_als_scale(chip, chip->lux_scale); in isl29028_set_als_ir_mode()
322 if (chip->lux_scale == 125) in isl29028_als_get()
481 *val = chip->lux_scale; in isl29028_read_raw()
608 chip->lux_scale = 2000; in isl29028_probe()