Searched refs:a_max_result (Results 1 – 1 of 1) sorted by relevance
128 u16 a_max_result; /* Max possible ADC value with current atime */ member301 if (thres >= chip->a_max_result) in apds990x_lux_to_threshold()302 thres = chip->a_max_result - 1; in apds990x_lux_to_threshold()314 chip->a_max_result = (u16)(256 - reg_value) * APDS990X_TIME_TO_ADC; in apds990x_set_atime()383 if (chip->lux_clear == chip->a_max_result) in apds990x_calc_again()385 else if (chip->lux_clear > chip->a_max_result / 2) in apds990x_calc_again()399 if (chip->lux_clear == chip->a_max_result) in apds990x_calc_again()516 clr_ch == chip->a_max_result) in apds990x_irq()