Home
last modified time | relevance | path

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

/linux-6.1.9/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()
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()
Dtsl2772.c147 u16 als_ch0; member
442 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()