Home
last modified time | relevance | path

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

/drivers/iio/light/
Dtsl2591.c440 u16 als_ch0, als_ch1; in tsl2591_read_channel_data() local
458 als_ch1 = get_unaligned_le16(&als_data[2]); in tsl2591_read_channel_data()
465 *val = als_ch1; 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()
Dtsl2583.c64 u16 als_ch1; member
220 chip->als_cur_info.als_ch1 = ch1; in tsl2583_get_lux()
689 *val = chip->als_cur_info.als_ch1; in tsl2583_read_raw()
Dtsl2772.c146 u16 als_ch1; member
446 chip->als_cur_info.als_ch1 = ret; in tsl2772_get_lux()
466 (chip->als_cur_info.als_ch1 * p->ch1)) / in tsl2772_get_lux()
1260 *val = chip->als_cur_info.als_ch1; in tsl2772_read_raw()