Searched refs:als_settings (Results 1 – 1 of 1) sorted by relevance
111 struct tsl2583_settings als_settings; member140 chip->als_settings.als_time = 100; in tsl2583_defaults()146 chip->als_settings.als_gain = 0; in tsl2583_defaults()149 chip->als_settings.als_gain_trim = 1000; in tsl2583_defaults()152 chip->als_settings.als_cal_target = 130; in tsl2583_defaults()155 memcpy(chip->als_settings.als_device_lux, tsl2583_default_lux, in tsl2583_defaults()249 for (p = (struct tsl2583_lux *)chip->als_settings.als_device_lux; in tsl2583_get_lux()259 (gainadj[chip->als_settings.als_gain].ch0 >> 1)) in tsl2583_get_lux()260 / gainadj[chip->als_settings.als_gain].ch0; in tsl2583_get_lux()262 (gainadj[chip->als_settings.als_gain].ch1 >> 1)) in tsl2583_get_lux()[all …]