Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/light/
H A Dtsl2583.c102 struct tsl2583_settings als_settings; member
131 chip->als_settings.als_time = 100; in tsl2583_defaults()
137 chip->als_settings.als_gain = 0; in tsl2583_defaults()
140 chip->als_settings.als_gain_trim = 1000; in tsl2583_defaults()
143 chip->als_settings.als_cal_target = 130; in tsl2583_defaults()
403 chip->als_settings.als_gain); in tsl2583_set_als_gain()
407 chip->als_settings.als_gain); in tsl2583_set_als_gain()
719 *val2 = chip->als_settings.als_time; in tsl2583_read_raw()
764 chip->als_settings.als_gain_trim = val; in tsl2583_write_raw()
774 chip->als_settings.als_gain = i; in tsl2583_write_raw()
[all …]
H A Dtsl2591.c163 struct tsl2591_als_settings als_settings; member
504 struct tsl2591_als_settings als_settings = chip->als_settings; in tsl2591_set_als_gain_int_time() local
510 als_settings.als_int_time | als_settings.als_gain); in tsl2591_set_als_gain_int_time()
520 struct tsl2591_als_settings als_settings = chip->als_settings; in tsl2591_set_als_lower_threshold() local
564 struct tsl2591_als_settings als_settings = chip->als_settings; in tsl2591_set_als_upper_threshold() local
620 chip->als_settings.als_persist = als_persist; in tsl2591_set_als_persist_cycle()
803 chip->als_settings.als_int_time = int_time; in tsl2591_write_raw()
815 chip->als_settings.als_gain = gain; in tsl2591_write_raw()
869 *val = chip->als_settings.als_upper_thresh; in tsl2591_read_event_value()
872 *val = chip->als_settings.als_lower_thresh; in tsl2591_read_event_value()
[all …]