Home
last modified time | relevance | path

Searched refs:als_ch0 (Results 1 – 3 of 3) sorted by relevance

/drivers/iio/light/
Dtsl2591.c440 u16 als_ch0, als_ch1; in tsl2591_read_channel_data() local
457 als_ch0 = get_unaligned_le16(&als_data[0]); in tsl2591_read_channel_data()
463 *val = als_ch0; in tsl2591_read_channel_data()
483 lux = ((als_ch0 - als_ch1) * in tsl2591_read_channel_data()
484 (1000 - ((als_ch1 * 1000) / als_ch0))) / counts_per_lux; in tsl2591_read_channel_data()
Dtsl2772.c145 u16 als_ch0; member
440 chip->als_cur_info.als_ch0 = ret; in tsl2772_get_lux()
448 if (chip->als_cur_info.als_ch0 >= chip->als_saturation) { in tsl2772_get_lux()
453 if (!chip->als_cur_info.als_ch0) { in tsl2772_get_lux()
465 lux = ((chip->als_cur_info.als_ch0 * p->ch0) - in tsl2772_get_lux()
1258 *val = chip->als_cur_info.als_ch0; in tsl2772_read_raw()
Dtsl2583.c63 u16 als_ch0; member
219 chip->als_cur_info.als_ch0 = ch0; in tsl2583_get_lux()
687 *val = chip->als_cur_info.als_ch0; in tsl2583_read_raw()