Searched refs:prox_const (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/misc/
H A Dbh1770glc.c160 u16 prox_const; member in struct:bh1770_chip
263 adjusted = (u16)(((u32)(psraw + chip->prox_const) * chip->prox_coef) / bh1770_psraw_to_adjusted()
275 if (raw > chip->prox_const) bh1770_psadjusted_to_raw()
276 raw = raw - chip->prox_const; bh1770_psadjusted_to_raw()
540 chip->prox_const = 0; bh1770_detect()
554 chip->prox_const = 40; bh1770_detect()

Completed in 46 milliseconds