Searched refs:als_info (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/iio/light/
H A Dcm3232.c74 struct cm3232_als_info *als_info; member in struct:cm3232_chip
92 chip->als_info = &cm3232_als_info_default; cm3232_reg_init()
101 if ((ret & 0xFF) != chip->als_info->hw_id) cm3232_reg_init()
114 chip->regs_cmd = chip->als_info->regs_cmd_default; cm3232_reg_init()
204 struct cm3232_als_info *als_info = chip->als_info; cm3232_get_lux() local
215 lux = (__force u64)als_info->mlux_per_bit; cm3232_get_lux()
216 lux *= als_info->mlux_per_bit_base_it; cm3232_get_lux()
227 lux *= als_info->calibscale; cm3232_get_lux()
242 struct cm3232_als_info *als_info = chip->als_info; cm3232_read_raw() local
253 *val = als_info->calibscale; cm3232_read_raw()
267 struct cm3232_als_info *als_info = chip->als_info; cm3232_write_raw() local
271 als_info->calibscale = val; cm3232_write_raw()
H A Dhid-sensor-als.c165 static const struct iio_info als_info = { variable in typeref:struct:iio_info
301 indio_dev->info = &als_info; hid_als_probe()

Completed in 142 milliseconds