Searched refs:als_ch0 (Results 1 – 3 of 3) sorted by relevance
440 u16 als_ch0, als_ch1; in tsl2591_read_channel_data() local457 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()
63 u16 als_ch0; member219 chip->als_cur_info.als_ch0 = ch0; in tsl2583_get_lux()687 *val = chip->als_cur_info.als_ch0; in tsl2583_read_raw()
147 u16 als_ch0; member442 chip->als_cur_info.als_ch0 = ret; in tsl2772_get_lux()450 if (chip->als_cur_info.als_ch0 >= chip->als_saturation) { in tsl2772_get_lux()455 if (!chip->als_cur_info.als_ch0) { in tsl2772_get_lux()467 lux = ((chip->als_cur_info.als_ch0 * p->ch0) - in tsl2772_get_lux()1252 *val = chip->als_cur_info.als_ch0; in tsl2772_read_raw()