Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/iio/light/
Dtsl2583.c87 int als_gain_trim; member
140 chip->als_settings.als_gain_trim = 1000; in tsl2583_defaults()
285 lux64 = lux64 * chip->als_settings.als_gain_trim; in tsl2583_get_lux()
353 * chip->als_settings.als_gain_trim) / lux_val); in tsl2583_als_calibrate()
361 chip->als_settings.als_gain_trim = (int)gain_trim_val; in tsl2583_als_calibrate()
706 *val = chip->als_settings.als_gain_trim; in tsl2583_read_raw()
764 chip->als_settings.als_gain_trim = val; in tsl2583_write_raw()
Dtsl2772.c251 .als_gain_trim = 1000,
477 lux = (lux * chip->settings.als_gain_trim) / 1000; in tsl2772_get_lux()
686 ret = (chip->settings.als_cal_target * chip->settings.als_gain_trim) / in tsl2772_als_calibrate()
691 chip->settings.als_gain_trim = ret; in tsl2772_als_calibrate()
1271 *val = chip->settings.als_gain_trim; in tsl2772_read_raw()
1334 chip->settings.als_gain_trim = val; in tsl2772_write_raw()
/linux-6.1.9/include/linux/platform_data/
Dtsl2772.h71 int als_gain_trim; member