Searched refs:als_info (Results 1 – 2 of 2) sorted by relevance
72 struct cm3232_als_info *als_info; member90 chip->als_info = &cm3232_als_info_default; in cm3232_reg_init()99 if ((ret & 0xFF) != chip->als_info->hw_id) in cm3232_reg_init()112 chip->regs_cmd = chip->als_info->regs_cmd_default; in cm3232_reg_init()202 struct cm3232_als_info *als_info = chip->als_info; in cm3232_get_lux() local213 lux = (__force u64)als_info->mlux_per_bit; in cm3232_get_lux()214 lux *= als_info->mlux_per_bit_base_it; in cm3232_get_lux()225 lux *= als_info->calibscale; in cm3232_get_lux()240 struct cm3232_als_info *als_info = chip->als_info; in cm3232_read_raw() local251 *val = als_info->calibscale; in cm3232_read_raw()[all …]
247 static const struct iio_info als_info = { variable401 indio_dev->info = &als_info; in hid_als_probe()