Lines Matching refs:val2
43 int val2; member
133 static int cm3232_read_als_it(struct cm3232_chip *chip, int *val, int *val2) in cm3232_read_als_it() argument
144 *val2 = cm3232_als_it_scales[i].val2; in cm3232_read_als_it()
162 static int cm3232_write_als_it(struct cm3232_chip *chip, int val, int val2) in cm3232_write_als_it() argument
171 val2 == cm3232_als_it_scales[i].val2) { in cm3232_write_als_it()
204 int val, val2; in cm3232_get_lux() local
209 ret = cm3232_read_als_it(chip, &val, &val2); in cm3232_get_lux()
212 als_it = val * 1000000 + val2; in cm3232_get_lux()
237 int *val, int *val2, long mask) in cm3232_read_raw() argument
254 return cm3232_read_als_it(chip, val, val2); in cm3232_read_raw()
262 int val, int val2, long mask) in cm3232_write_raw() argument
272 return cm3232_write_als_it(chip, val, val2); in cm3232_write_raw()
296 cm3232_als_it_scales[i].val2); in cm3232_get_it_available()