Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/
H A Dapds990x.c139 u16 lux_clear; member
293 if (chip->lux_clear * APDS_PARAM_SCALE >= in apds990x_lux_to_threshold()
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()
387 else if (chip->lux_clear < APDS_LUX_GAIN_LO_LIMIT_STRICT) in apds990x_calc_again()
389 else if (chip->lux_clear < APDS_LUX_GAIN_LO_LIMIT) in apds990x_calc_again()
399 if (chip->lux_clear == chip->a_max_result) in apds990x_calc_again()
403 chip->lux_clear < APDS_LUX_GAIN_LO_LIMIT_STRICT) in apds990x_calc_again()
486 &chip->lux_clear); in apds990x_irq()
493 chip->lux_clear, in apds990x_irq()