Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Dtsl2591.c198 u16 als_upper_threshold);
522 u16 als_upper_threshold; in tsl2591_set_als_lower_threshold() local
535 als_upper_threshold = als_lower_threshold + 1; in tsl2591_set_als_lower_threshold()
536 tsl2591_set_als_upper_threshold(chip, als_upper_threshold); in tsl2591_set_als_lower_threshold()
562 u16 als_upper_threshold) in tsl2591_set_als_upper_threshold() argument
571 if (als_upper_threshold > TSL2591_ALS_MAX_VALUE) in tsl2591_set_als_upper_threshold()
574 chip->als_settings.als_upper_thresh = als_upper_threshold; in tsl2591_set_als_upper_threshold()
581 if (als_upper_threshold < als_settings.als_lower_thresh) { in tsl2591_set_als_upper_threshold()
582 als_lower_threshold = als_upper_threshold - 1; in tsl2591_set_als_upper_threshold()
586 als_upper_l = als_upper_threshold; in tsl2591_set_als_upper_threshold()
[all …]