Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iio/light/
Dcm3232.c72 struct cm3232_als_info *als_info; member
90 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() local
213 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() local
251 *val = als_info->calibscale; in cm3232_read_raw()
[all …]
Dhid-sensor-als.c247 static const struct iio_info als_info = { variable
401 indio_dev->info = &als_info; in hid_als_probe()