Searched refs:gain_trim_val (Results 1 – 1 of 1) sorted by relevance
311 unsigned int gain_trim_val; in tsl2583_als_calibrate() local352 gain_trim_val = (unsigned int)(((chip->als_settings.als_cal_target) in tsl2583_als_calibrate()354 if ((gain_trim_val < 250) || (gain_trim_val > 4000)) { in tsl2583_als_calibrate()357 __func__, gain_trim_val); in tsl2583_als_calibrate()361 chip->als_settings.als_gain_trim = (int)gain_trim_val; in tsl2583_als_calibrate()