Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/misc/
Dapds990x.c142 u16 a_max_result; /* Max possible ADC value with current atime */ member
316 if (thres >= chip->a_max_result) in apds990x_lux_to_threshold()
317 thres = chip->a_max_result - 1; in apds990x_lux_to_threshold()
329 chip->a_max_result = (u16)(256 - reg_value) * APDS990X_TIME_TO_ADC; in apds990x_set_atime()
398 if (chip->lux_clear == chip->a_max_result) in apds990x_calc_again()
400 else if (chip->lux_clear > chip->a_max_result / 2) in apds990x_calc_again()
414 if (chip->lux_clear == chip->a_max_result) in apds990x_calc_again()
531 clr_ch == chip->a_max_result) in apds990x_irq()