Searched refs:lux_scale (Results 1 – 2 of 2) sorted by relevance
79 int lux_scale; member115 static int isl29028_set_als_scale(struct isl29028_chip *chip, int lux_scale) in isl29028_set_als_scale() argument117 int val = (lux_scale == 2000) ? CONFIGURE_ALS_RANGE_HIGH_LUX : in isl29028_set_als_scale()240 if (chip->lux_scale == 125) in isl29028_als_get()314 chip->lux_scale = val; in isl29028_write_raw()363 *val = chip->lux_scale; in isl29028_read_raw()419 chip->lux_scale = 2000; in isl29028_chip_init()449 ret = isl29028_set_als_scale(chip, chip->lux_scale); in isl29028_chip_init()
65 unsigned int lux_scale; member163 lux_unshifted = data_x_range * chip->lux_scale; in isl29018_read_lux()352 chip->lux_scale = val; in isl29018_write_raw()398 *val = chip->lux_scale; in isl29018_read_raw()566 chip->lux_scale = 1; in isl29018_probe()